CentOS-8 no longer exists and existing jobs are running
on centos-stream-8. There will be no openstack master
rpm packages for centos-stream-8.
In order to use ubi9-init image in molecule jobs,
we need to include following workarounds:
- redhat-release package(RH specific package) is installed in ubi-init
which does not work with centos-stream package.
On removing redhat-release, dnf ansible breaks as they did not find
--releasever during package installation.
- By adding releasever in the package module fixes the issue.
- In Molecule job, we can use any hostname either of centos or ubi both
will work.
- It changes the nodeset and image to ubi9.
- Install pip < 20.3.0 to avoid https://pip.pypa.io/en/stable/topics/dependency-resolution/#backtracking
and upstream requirements file to avoid cyclic dependency
issue.
- Set enable_fips: true in collectd jobs as in molecule it is not
needed otherwise job will enter into retry_limit.
We cannot use centos:stream9 image as, init support is removed
from there.
Note: It is not a clean cherry pick.
- Remove cap from molecule dependency
to fix No module named 'ansiblelint.prerun'
- Populate wallaby repos using tripleo-repos tool
- This includes the commit 0bc2fa808d34235ffe7cf8d36920f6d96f0685b5
which fixed the issue with the original change in master.
- Marking tripleo-ansible-centos-stream-molecule-tripleo_packages
to non-voting due to https://bugs.launchpad.net/tripleo/+bug/1983347
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/848810 /opendev. org/openstack/ tripleo- ansible/ commit/ b666c78954fbbe7 edfd50b6b949c49 21fc6c5518
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit b666c78954fbbe7 edfd50b6b949c49 21fc6c5518
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon May 30 09:45:42 2022 +0530
Use ubi9-init image as base
CentOS-8 no longer exists and existing jobs are running
on centos-stream-8. There will be no openstack master
rpm packages for centos-stream-8.
In order to use ubi9-init image in molecule jobs, /pip.pypa. io/en/stable/ topics/ dependency- resolution/ #backtracking
we need to include following workarounds:
- redhat-release package(RH specific package) is installed in ubi-init
which does not work with centos-stream package.
On removing redhat-release, dnf ansible breaks as they did not find
--releasever during package installation.
- By adding releasever in the package module fixes the issue.
- In Molecule job, we can use any hostname either of centos or ubi both
will work.
- It changes the nodeset and image to ubi9.
- Install pip < 20.3.0 to avoid https:/
and upstream requirements file to avoid cyclic dependency
issue.
- Set enable_fips: true in collectd jobs as in molecule it is not
needed otherwise job will enter into retry_limit.
We cannot use centos:stream9 image as, init support is removed
from there.
Below is the list of following jobs marked non-voting ansible- centos- stream- molecule- tripleo_ update_ trusted_ cas /bugs.launchpad .net/tripleo/ +bug/1979807 ansible- centos- stream- molecule- tripleo- modules /bugs.launchpad .net/tripleo/ +bug/1979807 ansible- centos- stream- molecule- tripleo_ container_ manage /bugs.launchpad .net/tripleo/ +bug/1979810 ansible- centos- stream- molecule- tripleo_ redhat_ enforce /bugs.launchpad .net/tripleo/ +bug/1979971 ansible- centos- stream- molecule- tripleo_ collectd /bugs.launchpad .net/tripleo/ +bug/1979972 ansible- centos- stream- molecule- backup_ and_restore /bugs.launchpad .net/tripleo/ +bug/1980198
due to following bugs.
- tripleo-
- https:/
- tripleo-
- https:/
- tripleo-
- https:/
- tripleo-
- https:/
- tripleo-
- https:/
- tripleo-
- https:/
Note: It is not a clean cherry pick. prerun' ffe7cf8d36920f6 d96f0685b5 ansible- centos- stream- molecule- tripleo_ packages /bugs.launchpad .net/tripleo/ +bug/1983347
- Remove cap from molecule dependency
to fix No module named 'ansiblelint.
- Populate wallaby repos using tripleo-repos tool
- This includes the commit 0bc2fa808d34235
which fixed the issue with the original change in master.
- Marking tripleo-
to non-voting due to
https:/
Related-Bug: #1979807
Related-Bug: #1979810
Related-Bug: #1979971
Related-Bug: #1979972
Related-Bug: #1980198
Related-Bug: #1983347
Signed-off-by: Chandan Kumar (raukadah) <email address hidden> 70ba22a6a22f62f 001c8afe6a9 71719b46b2801c7 b0565f26cc)
Change-Id: I75a27ca496fb76
(cherry picked from commit 4c9233d07c08868