We needed the container-hosts version of podman on centos 8,
but there's no need to keep using it in centos 9
Additionally, changes from crun variants to runc variants since
crun is now the default container runtime on centos 9
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
c8873c6591d368e12907669c274fd3d6391e3f68)
(cherry picked from commit
1dbc8e4b6790b7d385d4df2b8a552bd2076026e7)
--- /dev/null
+os_type: centos
+os_version: "9.stream"
+overrides:
+ selinux:
+ whitelist:
+ - scontext=system_u:system_r:logrotate_t:s0
+
+++ /dev/null
-os_type: centos
-os_version: "9.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
+++ /dev/null
-os_type: centos
-os_version: "9.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
- - sudo sed -i 's/runtime = "runc"/#runtime = "runc"/g' /usr/share/containers/containers.conf
- - sudo sed -i 's/#runtime = "crun"/runtime = "crun"/g' /usr/share/containers/containers.conf
--- /dev/null
+os_type: centos
+os_version: "9.stream"
+overrides:
+ selinux:
+ whitelist:
+ - scontext=system_u:system_r:logrotate_t:s0
+
+tasks:
+- pexec:
+ all:
+ - sudo dnf install runc -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
--- /dev/null
+os_type: centos
+os_version: "9.stream"
+overrides:
+ selinux:
+ whitelist:
+ - scontext=system_u:system_r:logrotate_t:s0
+
+++ /dev/null
-os_type: centos
-os_version: "9.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
-container-hosts/centos_9.stream_container_tools_crun.yaml
\ No newline at end of file
+container-hosts/centos_9.stream.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/podman/centos_9.stream_container_tools.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/centos_9.stream.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/podman/centos_9.stream_container_tools.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/centos_9.stream.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/podman/centos_9.stream_container_tools.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/container-hosts/centos_9.stream_container_tools_crun.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/container-hosts/centos_9.stream_runc.yaml
\ No newline at end of file
--- /dev/null
+os_type: centos
+os_version: "9.stream"
+
+tasks:
+- cephadm:
+ image: quay.io/ceph/ceph:v16.2.0
+ cephadm_branch: v16.2.0
+ cephadm_git_url: https://github.com/ceph/ceph
+ # avoid --cap-add=PTRACE + --privileged for older cephadm versions
+ allow_ptrace: false
+ avoid_pacific_features: true
+
+roles:
+- - mon.a
+ - mon.c
+ - mgr.y
+ - osd.0
+ - osd.1
+ - osd.2
+ - osd.3
+ - client.0
+ - node-exporter.a
+ - alertmanager.a
+- - mon.b
+ - mgr.x
+ - osd.4
+ - osd.5
+ - osd.6
+ - osd.7
+ - client.1
+ - prometheus.a
+ - grafana.a
+ - node-exporter.b
+++ /dev/null
-os_type: centos
-os_version: "9.stream"
-
-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
- - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
-- cephadm:
- image: quay.io/ceph/ceph:v16.2.0
- cephadm_branch: v16.2.0
- cephadm_git_url: https://github.com/ceph/ceph
- # avoid --cap-add=PTRACE + --privileged for older cephadm versions
- allow_ptrace: false
- avoid_pacific_features: true
-
-roles:
-- - mon.a
- - mon.c
- - mgr.y
- - osd.0
- - osd.1
- - osd.2
- - osd.3
- - client.0
- - node-exporter.a
- - alertmanager.a
-- - mon.b
- - mgr.x
- - osd.4
- - osd.5
- - osd.6
- - osd.7
- - client.1
- - prometheus.a
- - grafana.a
- - node-exporter.b
--- /dev/null
+.qa/distros/podman/centos_9.stream.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/podman/centos_9.stream_container_tools.yaml
\ No newline at end of file