You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2024/07/13 12:38:29 UTC

[PR] HDDS-11166. Bump ozone-runner to Rocky Linux-based [ozone]

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/4J5QJBG331OEDL4SQEOW5VDPHG.CX.INTERNAL.CLOUDAPP.NET@EXAMPLE.COM 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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-11166. Switch to Rocky Linux-based ozone-runner [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #6942:
URL: https://github.com/apache/ozone/pull/6942


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-11166. Switch to Rocky Linux-based ozone-runner [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #6942:
URL: https://github.com/apache/ozone/pull/6942#issuecomment-2232548458

   Thanks @dombizita for the review.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org