adoroszlai opened a new pull request, #6942:
URL: https://github.com/apache/ozone/pull/6942
## What changes were proposed in this pull request?
Switch `ozone-runner` to the latest image, based on Rocky Linux 8.9, from
CentOS 7, which has reached end-of-life.
- Package manager is `dnf`, not `yum`.
- `dns_search: .` is needed in GitHub CI to prevent the following type of
error when using curl with SPNEGO:
```
* gss_init_sec_context() failed: Server
krbtgt/[email protected] not
found in Kerberos database.
```
- ssh login (used in `ozonescripts` env.) is disabled until admin deletes
some `nologin` marker files.
- Now test in `ozonescripts` environment can be enabled again. This
uncovered the problem that variables from `docker-config` are not present in
the environment when logging in via ssh. So Ozone in `ozonescripts` uses
`/opt/hadoop/logs` as log dir:
```
48fe5c710cdf: WARNING: /opt/hadoop/logs does not exist. Creating.
```
which is no longer works in CI after HDDS-11103:
```
12f83b75a27a: WARNING: /opt/hadoop/logs does not exist. Creating.
12f83b75a27a: mkdir: cannot create directory '/opt/hadoop/logs':
Permission denied
12f83b75a27a: ERROR: Unable to create /opt/hadoop/logs. Aborting.
```
This is fixed by setting `OZONE_CONF_DIR` and `OZONE_LOG_DIR` in 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
--
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]