ceph/qa/distros/container-hosts/centos_9.stream_runc.yaml
Adam King 4e5f269c01 qa/distros: reinstall nvme-cli on centos 9 nodes
To work around a potential linking issue between
nvme-cli ad libnvme that prevents nvme-cli from
correctly generating a hostnqn, causing

nvme_fabrics: found same hostid edb4e426-766f-44c6-b127-da2a5b7446ef but different hostnqn hostnqn

messages in dmesg and the inability to setup nvme
loop devices

Fixes: https://tracker.ceph.com/issues/67684

Signed-off-by: Adam King <adking@redhat.com>
2024-08-22 15:30:44 -04:00

17 lines
554 B
YAML

os_type: centos
os_version: "9.stream"
overrides:
selinux:
allowlist:
- scontext=system_u:system_r:logrotate_t:s0
tasks:
- pexec:
all:
# in order to work around a possible nvme-cli <-> libnvme linking issue
# See https://tracker.ceph.com/issues/67684
- sudo dnf remove nvme-cli -y
- sudo dnf install runc nvmetcli nvme-cli -y
- sudo sed -i 's/^#runtime = "crun"/runtime = "runc"/g' /usr/share/containers/containers.conf
- sudo sed -i 's/runtime = "crun"/#runtime = "crun"/g' /usr/share/containers/containers.conf