Skip to content

Commit

Permalink
install systemd-containerd on all edpm hosts as part of bootstrap
Browse files Browse the repository at this point in the history
systemd-containerd is required to allow libvirt to manage cgroups
for qemu instance across container restarts.

Without systemd-containerd libvirt falls back to a legacy code
path where it directly manages cgroups without registering
vms in systemd-machined. This is nolonger tested by libvirt team
downstream and it is know to cause issues with podman.

We solve this requirement by installing the package in the bootstrap
role to ensure its alwasy installed on edpm hosts.
  • Loading branch information
SeanMooney committed Oct 5, 2023
1 parent 32fd89b commit 6c872a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/edpm_bootstrap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ edpm_bootstrap_packages_bootstrap:
- sysstat
- iproute-tc
- ksmtuned
# This is required for correct management of cgroups applied to qemu
# instances without this libvirt falls back to a legacy cgroup
# codepath that is no-longer tested or supported in rhel as of rhel 8...
- systemd-container

edpm_bootstrap_release_version_package:
- rhosp-release
Expand Down
1 change: 1 addition & 0 deletions roles/edpm_bootstrap/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ argument_specs:
- sysstat
- iproute-tc
- ksmtuned
- systemd-container
description: "List of packages that are requred to bootstrap EDPM."

edpm_bootstrap_release_version_package:
Expand Down

0 comments on commit 6c872a3

Please sign in to comment.