Skip to content
Snippets Groups Projects
Commit 9a77fb1c authored by Radosław Piliszek's avatar Radosław Piliszek
Browse files

Add support for Debian Bullseye (11) as host distro

Makes nova-libvirt container always run in 'host' CgroupnsMode
to ensure it works.

Change-Id: I75105baf434977c68bc5c8ca1f5213e602c52c8c
parent 95520df0
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}"
......
......@@ -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 }}"
......
......@@ -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 }}"
......
......@@ -13,6 +13,7 @@ host_os_distributions:
- "8"
Debian:
- "buster"
- "bullseye"
RHEL:
- "8"
Ubuntu:
......
---
features:
- |
Supports Debian Bullseye (11) as host distribution.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment