Drop /sys/fs/cgroup mounts

They are handled by Docker since at least 18.09 (tested).
Backport to Wallaby at most to not introduce needless restarts in
already stable branches.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/792583
Change-Id: Ia95355c529f1b0222dc1de06632984b6d130b9ec
This commit is contained in:
Radosław Piliszek 2021-05-31 12:47:48 +00:00 committed by Mark Goddard
parent 278b63a0eb
commit 286a03bad2
3 changed files with 0 additions and 4 deletions

View File

@ -46,7 +46,6 @@ iscsid_default_volumes:
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}"
- "/dev/:/dev/" - "/dev/:/dev/"
- "/run/:/run/:shared" - "/run/:/run/:shared"
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- "/lib/modules:/lib/modules:ro" - "/lib/modules:/lib/modules:ro"
- "/sys/kernel/config:/configfs" - "/sys/kernel/config:/configfs"
- "cinder:/var/lib/cinder" - "cinder:/var/lib/cinder"
@ -58,7 +57,6 @@ tgtd_default_volumes:
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}"
- "/dev/:/dev/" - "/dev/:/dev/"
- "/run/:/run/:shared" - "/run/:/run/:shared"
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- "/lib/modules:/lib/modules:ro" - "/lib/modules:/lib/modules:ro"
- "/sys/kernel/config:/configfs" - "/sys/kernel/config:/configfs"
- "cinder:/var/lib/cinder" - "cinder:/var/lib/cinder"

View File

@ -27,7 +27,6 @@ multipathd_default_volumes:
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_os_family == 'Debian' else '' }}"
- "/dev/:/dev/" - "/dev/:/dev/"
- "/run/:/run/:shared" - "/run/:/run/:shared"
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- "/lib/modules:/lib/modules:ro" - "/lib/modules:/lib/modules:ro"
- "/sys/kernel/config:/configfs" - "/sys/kernel/config:/configfs"
- "cinder:/var/lib/cinder" - "cinder:/var/lib/cinder"

View File

@ -327,7 +327,6 @@ nova_libvirt_default_volumes:
- "/lib/modules:/lib/modules:ro" - "/lib/modules:/lib/modules:ro"
- "/run/:/run/:shared" - "/run/:/run/:shared"
- "/dev:/dev" - "/dev:/dev"
- "/sys/fs/cgroup:/sys/fs/cgroup"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
- "libvirtd:/var/lib/libvirt" - "libvirtd:/var/lib/libvirt"
- "{{ nova_instance_datadir_volume }}:/var/lib/nova/" - "{{ nova_instance_datadir_volume }}:/var/lib/nova/"