Remove rehdat-release package from UBI8 image

Also install centos*release package when tcib_distro
is centos.

*release packages are protected by dnf, so used
rpm commands to remove.

Disable upgrades pipeline to get this fix in.
Closes-Bug: #1939674
Change-Id: I5467a5faa36aa1359ff9b8135a512566dff12a79
This commit is contained in:
Sagi Shnaidman 2021-08-12 13:53:28 +03:00
parent 701cae5444
commit 906265c433
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ tcib_actions:
- run: sed -ri '/^(passwd:|group:)/ s/systemd//g' /etc/nsswitch.conf
- run: dnf install -y {{ tcib_packages['common'] | join(' ') }}
- run: mkdir -p /openstack
- run: >-
if [ '{{ tcib_distro }}' == 'centos' ];then dnf download centos*release &&
rpm -ivh --nodeps --replacefiles *.rpm &&
rm -rf *.rpm &&
rpm -e --nodeps redhat-release; fi
- run: dnf update --excludepkgs redhat-release -y && dnf clean all && rm -rf /var/cache/dnf
tcib_cmd: kolla_start
tcib_entrypoint: dumb-init --single-child --

View File

@ -10,7 +10,7 @@
- tripleo-build-containers-jobs
- tripleo-buildimage-jobs
- tripleo-standalone-scenarios-pipeline
- tripleo-upgrades-master-pipeline
# - tripleo-upgrades-master-pipeline
vars:
ensure_global_symlinks: true
check: