smengcl commented on pull request #10: URL: https://github.com/apache/ozone-docker-runner/pull/10#issuecomment-1031087200
> I vote for option 2, this is a bug in the test. Note that Ozone is not automatically updated to any new `ozone-runner` version, it requires an explicit change. We can make any fixes necessary for the image upgrade as part of that commit. Yup I will file a jira to fix that. > I have encountered another problem in some of the secure environments locally. Kerberos in the new image seems to be more strict about host names (fully qualified vs. not). > > 1. In `ozonesecure-ha` environment SCM hosts have `.org` domain for some reason. `s3/webui.robot` fails with: `gss_init_sec_context() failed: Server krbtgt/[email protected] not found in Kerberos database`. I think this can be fixed by running the S3 tests on `s3g` host instead of `scm1.org`. > 2. `ozonesecure-mr` test fails with: `IOException: Couldn't set up IO streams: java.lang.IllegalArgumentException: Server has invalid Kerberos principal: jhs/[email protected], expecting: jhs/[email protected]`. I have no idea how to fix this. I can observe the same issue as well once I boot up the `ozonesecure-ha` compose cluster. And I suspect this to be a bug in the `krb5-libs` version centos 8.4 uses (`krb5-libs-1.18.2-8.el8.x86_64`) after a bunch of reading and checking. On another note, I just realized that we should use centos 7.9 image, which [has](https://hub.docker.com/_/centos?tab=tags&page=1&name=7.) arm64 images as well, mainly because centos 8 is EOL while centos 7 still has a little over 2 years of official support ([maintenance updates until 2024-06-30](https://wiki.centos.org/About/Product), after which we still have a choice move to [almalinux](https://hub.docker.com/_/almalinux?tab=tags)). And moving from 7.4 to 7.9 avoids a lot of those compatiblity problems (but it's still fun digging those problems. learnt a whole lot from them). I will push a commit to use centos 7.9 instead (uses `krb5-libs-1.15.1-51.el7_9.x86_64`). Initial testing locally shows the problem of scm's krbtgt service mysteriously ignoring the `dns_canonicalize_hostname = false` in `/etc/krb5.conf` and insists on using somewhat truncated FQDN as the instance name is gone. -- 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]
