Merge "Add support for Debian Bullseye (11) as host distro"

This commit is contained in:
Zuul 2021-06-02 02:52:30 +00:00 committed by Gerrit Code Review
commit f2d42d80f4
5 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@ nova_cell_services:
enabled: "{{ nova_compute_virt_type in ['kvm', 'qemu'] }}" enabled: "{{ nova_compute_virt_type in ['kvm', 'qemu'] }}"
image: "{{ nova_libvirt_image_full }}" image: "{{ nova_libvirt_image_full }}"
pid_mode: "host" pid_mode: "host"
cgroupns_mode: "host"
privileged: True privileged: True
volumes: "{{ nova_libvirt_default_volumes + nova_libvirt_extra_volumes }}" volumes: "{{ nova_libvirt_default_volumes + nova_libvirt_extra_volumes }}"
dimensions: "{{ nova_libvirt_dimensions }}" dimensions: "{{ nova_libvirt_dimensions }}"

View File

@ -100,6 +100,7 @@
name: "{{ service.container_name }}" name: "{{ service.container_name }}"
image: "{{ service.image }}" image: "{{ service.image }}"
pid_mode: "{{ service.pid_mode | default('') }}" pid_mode: "{{ service.pid_mode | default('') }}"
cgroupns_mode: "{{ service.cgroupns_mode | default(omit) }}"
privileged: "{{ service.privileged | default(False) }}" privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}" volumes: "{{ service.volumes|reject('equalto', '')|list }}"
dimensions: "{{ service.dimensions }}" dimensions: "{{ service.dimensions }}"

View File

@ -8,6 +8,7 @@
image: "{{ item.value.image }}" image: "{{ item.value.image }}"
environment: "{{ item.value.environment|default(omit) }}" environment: "{{ item.value.environment|default(omit) }}"
pid_mode: "{{ item.value.pid_mode|default('') }}" pid_mode: "{{ item.value.pid_mode|default('') }}"
cgroupns_mode: "{{ item.value.cgroupns_mode|default(omit) }}"
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}" ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
privileged: "{{ item.value.privileged|default(False) }}" privileged: "{{ item.value.privileged|default(False) }}"
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}" volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"

View File

@ -13,6 +13,7 @@ host_os_distributions:
- "8" - "8"
Debian: Debian:
- "buster" - "buster"
- "bullseye"
RHEL: RHEL:
- "8" - "8"
Ubuntu: Ubuntu:

View File

@ -0,0 +1,4 @@
---
features:
- |
Supports Debian Bullseye (11) as host distribution.