diff --git a/ansible/roles/nova-cell/defaults/main.yml b/ansible/roles/nova-cell/defaults/main.yml index 6c252ecf35..de6a4b6b85 100644 --- a/ansible/roles/nova-cell/defaults/main.yml +++ b/ansible/roles/nova-cell/defaults/main.yml @@ -8,6 +8,7 @@ nova_cell_services: enabled: "{{ nova_compute_virt_type in ['kvm', 'qemu'] }}" image: "{{ nova_libvirt_image_full }}" pid_mode: "host" + cgroupns_mode: "host" privileged: True volumes: "{{ nova_libvirt_default_volumes + nova_libvirt_extra_volumes }}" dimensions: "{{ nova_libvirt_dimensions }}" diff --git a/ansible/roles/nova-cell/handlers/main.yml b/ansible/roles/nova-cell/handlers/main.yml index c7dd63d70f..79aae420f0 100644 --- a/ansible/roles/nova-cell/handlers/main.yml +++ b/ansible/roles/nova-cell/handlers/main.yml @@ -100,6 +100,7 @@ name: "{{ service.container_name }}" image: "{{ service.image }}" pid_mode: "{{ service.pid_mode | default('') }}" + cgroupns_mode: "{{ service.cgroupns_mode | default(omit) }}" privileged: "{{ service.privileged | default(False) }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}" dimensions: "{{ service.dimensions }}" diff --git a/ansible/roles/nova-cell/tasks/check-containers.yml b/ansible/roles/nova-cell/tasks/check-containers.yml index 4746919ea7..2549595b5d 100644 --- a/ansible/roles/nova-cell/tasks/check-containers.yml +++ b/ansible/roles/nova-cell/tasks/check-containers.yml @@ -8,6 +8,7 @@ image: "{{ item.value.image }}" environment: "{{ item.value.environment|default(omit) }}" pid_mode: "{{ item.value.pid_mode|default('') }}" + cgroupns_mode: "{{ item.value.cgroupns_mode|default(omit) }}" ipc_mode: "{{ item.value.ipc_mode|default(omit) }}" privileged: "{{ item.value.privileged|default(False) }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" diff --git a/ansible/roles/prechecks/vars/main.yml b/ansible/roles/prechecks/vars/main.yml index a367717c76..3d9445c117 100644 --- a/ansible/roles/prechecks/vars/main.yml +++ b/ansible/roles/prechecks/vars/main.yml @@ -13,6 +13,7 @@ host_os_distributions: - "8" Debian: - "buster" + - "bullseye" RHEL: - "8" Ubuntu: diff --git a/releasenotes/notes/debian-bullseye-host-adc7778d7103b84f.yaml b/releasenotes/notes/debian-bullseye-host-adc7778d7103b84f.yaml new file mode 100644 index 0000000000..aa12401625 --- /dev/null +++ b/releasenotes/notes/debian-bullseye-host-adc7778d7103b84f.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + Supports Debian Bullseye (11) as host distribution.