mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
4e5f269c01
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>
17 lines
554 B
YAML
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
|