mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
3011d95498
One of the tests in the orch suite is running distro install commands from multiple distros, causing it to first install container-tools 3.0 and then later install container-tools, which fails, causing the test to fail. This is sort of a bandaid fix to getthe test to work. It will cause whatever the last version of the package to be installed to end up being installed (and will do so without error) which is what we want in the tests. Fixes: https://tracker.ceph.com/issues/57771 Signed-off-by: Adam King <adking@redhat.com>
15 lines
444 B
YAML
15 lines
444 B
YAML
os_type: centos
|
|
os_version: "8.stream"
|
|
overrides:
|
|
selinux:
|
|
whitelist:
|
|
- scontext=system_u:system_r:logrotate_t:s0
|
|
|
|
tasks:
|
|
- pexec:
|
|
all:
|
|
- sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
|
|
- sudo dnf -y module reset container-tools
|
|
- sudo dnf -y module install container-tools --allowerasing --nobest
|
|
- sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
|