smengcl edited a comment on pull request #10:
URL: 
https://github.com/apache/ozone-docker-runner/pull/10#issuecomment-1034131644


   > > However, this issue exists even in the current image version 
(`OZONE_RUNNER_VERSION=20211202-1` with centos 7.6).
   > 
   > Do you have any idea why it passes in CI using that image?
   
   Hi @adoroszlai . Sorry I should have clarified. This issue is not triggered 
in the `s3/webui.robot`. Because that robot test only accesses the S3 Gateway 
endpoint (which doesn't have HA and its hostname is always `s3g`).
   
   The issue only happens when accessing:
   1) SCM web endpoints when SCM HA is enabled; and/or
   2) OM web endpoints when OM HA is enabled
   
   This is because we haven't properly assigned service principals in KDC for 
those services when HA is enabled. When the SPENGO client (curl) tries to 
access `scm1.org`, it will try the `HTTP/[email protected]` principal, while 
we only have `HTTP/[email protected]` on the KDC. And that is a mismatch.
   
   The other issue you have mentioned broken in centos 8.4 image might have 
been trigger by something else (possibly due to some new config additions and 
default canonicalization behavior changes from krb5 1.15 to 1.18. might need to 
set [`qualify_shortname = 
""`](https://web.mit.edu/kerberos/krb5-1.18/doc/admin/conf_files/krb5_conf.html#:~:text=value%20is%20false.-,qualify_shortname,-If%20this%20string)
 in krb5 1.18's krb5.conf to fix this in centos 8.4. but now that we are no 
longer using centos 8.4 that shouldn't be an immediate concern).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to