HDDS-11166. Switch to Rocky Linux-based ozone-runner #6942
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Switch
ozone-runnerto the latest image, based on Rocky Linux 8.9, from CentOS 7, which has reached end-of-life.Package manager is
dnf, notyum.dns_search: .is needed in GitHub CI to prevent the following type of error when using curl with SPNEGO:ssh login (used in
ozonescriptsenv.) is disabled until admin deletes somenologinmarker files.Now test in
ozonescriptsenvironment can be enabled again. This uncovered the problem that variables fromdocker-configare not present in the environment when logging in via ssh. So Ozone inozonescriptsuses/opt/hadoop/logsas log dir:which is no longer works in CI after HDDS-11103:
This is fixed by setting
OZONE_CONF_DIRandOZONE_LOG_DIRin SSH environment, too.https://issues.apache.org/jira/browse/HDDS-11166
How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/9919391847