openshift-ansible icon indicating copy to clipboard operation
openshift-ansible copied to clipboard

OCPBUGS-35209: Update Dockerfile to centos9 stream.

Open barbacbd opened this issue 1 year ago • 4 comments

** Centos8 is End of Life as of May 31, 2024

barbacbd avatar Jun 10 '24 13:06 barbacbd

@barbacbd: This pull request references Jira Issue OCPBUGS-35209, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.17.0) matches configured target version for branch (4.17.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact: /cc @gpei

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

** Centos8 is End of Life as of May 31, 2024

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Jun 10 '24 13:06 openshift-ci-robot

this will depend on https://github.com/openshift/release/pull/53005

barbacbd avatar Jun 10 '24 17:06 barbacbd

/retest-required

barbacbd avatar Jul 01 '24 11:07 barbacbd

still not finding the python interpreter? Saw

/bin/sh: /usr/bin/python3: No such file or directory

in the ansible logs

patrickdillon avatar Jul 01 '24 13:07 patrickdillon

/test unit

barbacbd avatar Jul 03 '24 16:07 barbacbd

/test e2e-aws-workers-rhel8

barbacbd avatar Jul 03 '24 17:07 barbacbd

@patrickdillon @barbacbd

still not finding the python interpreter? Saw

/bin/sh: /usr/bin/python3: No such file or directory in the ansible logs

I guess it's the same issue we're also seeing in QE's RHEL jobs since Jul 02, we think it's caused by the ansible-core update, now it's coming to version 2.17 on the ansible image, but it won't work against the RHEL-8 workers which has python-3.6 installed on the system by default, please see https://www.jeffgeerling.com/blog/2024/newer-versions-ansible-dont-work-rhel-8

I also drafted a PR for fixing this today https://github.com/openshift/openshift-ansible/pull/12504, but just realized @barbacbd is also updating this file here, so I closed that one, maybe Brent could help to add the version locking in this PR and backport it to previous OCP versions together, thanks.

gpei avatar Jul 04 '24 07:07 gpei

We also made a test with the ansible-core 2.17 and newer python versions on RHEL workers, which also could work. But considering python3.6 is the default one on RHEL-8 machines, so I guess it's better to limit the ansible-core version < 2.17 in our test.

  1. Install python3.9 on RHEL workers
  2. Set ansible_python_interpreter=/bin/python3.9 in the inventory.

gpei avatar Jul 04 '24 07:07 gpei

/test images

barbacbd avatar Jul 09 '24 19:07 barbacbd

/test e2e-aws-workers-rhel8

barbacbd avatar Jul 09 '24 19:07 barbacbd

/test e2e-aws-workers-rhel8

barbacbd avatar Jul 10 '24 11:07 barbacbd

/test e2e-aws-workers-rhel8

barbacbd avatar Jul 23 '24 17:07 barbacbd

/test e2e-aws-workers-rhel8

barbacbd avatar Jul 24 '24 17:07 barbacbd

/approve Least bad immediately available option for CI. Will have to rely on QE to some extent to continue testing rhel8 ansible environment.

sdodson avatar Jul 30 '24 18:07 sdodson

https://github.com/openshift/egress-router-cni/pull/88 to fix egress-router-cni build issues for rhel8

sdodson avatar Jul 30 '24 18:07 sdodson

/retest-required

sdodson avatar Aug 04 '24 01:08 sdodson

Flake? /test e2e-aws-workers-rhel8

sdodson avatar Aug 05 '24 15:08 sdodson

@barbacbd: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

openshift-ci[bot] avatar Aug 05 '24 17:08 openshift-ci[bot]

/lgtm

jhixson74 avatar Aug 09 '24 04:08 jhixson74

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: barbacbd, jhixson74, sdodson

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Aug 09 '24 04:08 openshift-ci[bot]

@barbacbd: Jira Issue OCPBUGS-35209: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-35209 has been moved to the MODIFIED state.

In response to this:

** Centos8 is End of Life as of May 31, 2024

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Aug 09 '24 04:08 openshift-ci-robot

@barbacbd looks like we still need to backport this till 4.14 to align with https://github.com/openshift/release/pull/53005

gpei avatar Aug 14 '24 08:08 gpei

/jira backport release-4.16,release-4.15,release-4.14

gpei avatar Aug 19 '24 09:08 gpei

@gpei: Missing required branches for backport chain:

  • openshift-4.17 OR release-4.17,

In response to this:

/jira backport release-4.16,release-4.15,release-4.14

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Aug 19 '24 09:08 openshift-ci-robot

/cherry-pick release-4.16

gpei avatar Aug 19 '24 09:08 gpei

@gpei: new pull request created: #12507

In response to this:

/cherry-pick release-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.