[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
(cherry picked from commit 9b34719ed3
)
This commit is contained in:
parent
dc8c0a89a8
commit
37e4c3c596
|
@ -522,6 +522,7 @@ outputs:
|
|||
create_virtlogd_wrapper:
|
||||
start_order: 1
|
||||
detach: false
|
||||
cgroupns: host
|
||||
net: host
|
||||
pid: host
|
||||
user: root
|
||||
|
@ -548,6 +549,7 @@ outputs:
|
|||
start_order: 0
|
||||
image: {get_param: ContainerNovaLibvirtImage}
|
||||
ulimit: {get_param: ContainerNovaLibvirtUlimit}
|
||||
cgroupns: host
|
||||
net: host
|
||||
pid: host
|
||||
security_opt: label=disable
|
||||
|
@ -580,6 +582,7 @@ outputs:
|
|||
start_order: 1
|
||||
image: {get_param: ContainerNovaLibvirtImage}
|
||||
ulimit: {get_param: ContainerNovaLibvirtUlimit}
|
||||
cgroupns: host
|
||||
net: host
|
||||
pid: host
|
||||
pids_limit: {get_param: ContainerNovaLibvirtPidsLimit}
|
||||
|
@ -647,6 +650,7 @@ outputs:
|
|||
- label=disable
|
||||
privileged: false
|
||||
user: root
|
||||
cgroupns: host
|
||||
net: host
|
||||
volumes:
|
||||
list_concat:
|
||||
|
|
Loading…
Reference in New Issue