[c9] nova_libvirt with host's cgroupns

Based on related bz, nova_libvirt container should be started with
cgroupns set to host in Centos 9

Related-Bug: #1936005
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1985377
Change-Id: Id0c4505c794f8cbae331f0f569967739c82700eb
This commit is contained in:
David Vallee Delisle 2021-07-27 08:30:00 -04:00
parent 0bf7fff9bf
commit 9b34719ed3

View File

@ -522,6 +522,7 @@ outputs:
create_virtlogd_wrapper: create_virtlogd_wrapper:
start_order: 1 start_order: 1
detach: false detach: false
cgroupns: host
net: host net: host
pid: host pid: host
user: root user: root
@ -548,6 +549,7 @@ outputs:
start_order: 0 start_order: 0
image: {get_param: ContainerNovaLibvirtImage} image: {get_param: ContainerNovaLibvirtImage}
ulimit: {get_param: ContainerNovaLibvirtUlimit} ulimit: {get_param: ContainerNovaLibvirtUlimit}
cgroupns: host
net: host net: host
pid: host pid: host
security_opt: security_opt:
@ -581,6 +583,7 @@ outputs:
start_order: 1 start_order: 1
image: {get_param: ContainerNovaLibvirtImage} image: {get_param: ContainerNovaLibvirtImage}
ulimit: {get_param: ContainerNovaLibvirtUlimit} ulimit: {get_param: ContainerNovaLibvirtUlimit}
cgroupns: host
net: host net: host
pid: host pid: host
pids_limit: {get_param: ContainerNovaLibvirtPidsLimit} pids_limit: {get_param: ContainerNovaLibvirtPidsLimit}
@ -648,6 +651,7 @@ outputs:
- label=disable - label=disable
privileged: false privileged: false
user: root user: root
cgroupns: host
net: host net: host
volumes: volumes:
list_concat: list_concat: