When repository files are present, but the ctlplane is not on a
routed network. (I.e the node cannot connect to repositories.)
The ansible built in `package` will fail despite the fact that
the packages is already installed.
This change adds a task to check that the packages required are
isntalled using `rpm --query --whatprovides <PGK_LIST>`.
`--whatprovides` is used to find out if a wrapper rpm for OVS with
custom versioning scheme is installed. If a wrapper is installed
'openvswitch' is appended to the list of installed packages.
Related: RHBZ#2048134
Closes-Bug: #1959731
Change-Id: Ie448e8f795325cc3ae357fae32f3a47406101f25
(cherry picked from commit 37fac649388e0bf39326bdaaefa5a104b6ef264c)
(cherry picked from commit 7b002dec7dd32322023487f78cf7944aee7b1c46)
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/829432 /opendev. org/openstack/ tripleo- ansible/ commit/ 52ade0d245c968b 51e0801bd0cd1c3 a10f2c9e74
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 52ade0d245c968b 51e0801bd0cd1c3 a10f2c9e74
Author: Harald Jensås <email address hidden>
Date: Wed Feb 2 02:07:07 2022 +0100
tripleo- bootstrap - check packeges fact befor install
When repository files are present, but the ctlplane is not on a
routed network. (I.e the node cannot connect to repositories.)
The ansible built in `package` will fail despite the fact that
the packages is already installed.
This change adds a task to check that the packages required are whatprovides` is used to find out if a wrapper rpm for OVS with
isntalled using `rpm --query --whatprovides <PGK_LIST>`.
`--
custom versioning scheme is installed. If a wrapper is installed
'openvswitch' is appended to the list of installed packages.
Related: RHBZ#2048134 c3ae357fae32f3a 47406101f25 39326bdaaefa5a1 04b6ef264c) 2023487f78cf794 4aee7b1c46)
Closes-Bug: #1959731
Change-Id: Ie448e8f795325c
(cherry picked from commit 37fac649388e0bf
(cherry picked from commit 7b002dec7dd3232