Merge "Mount /run directory into zun_cni_daemon container"

This commit is contained in:
Zuul 2022-10-28 12:03:36 +00:00 committed by Gerrit Code Review
commit c3dde9933e
2 changed files with 6 additions and 0 deletions

View File

@ -188,6 +188,7 @@ zun_cni_daemon_default_volumes:
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}" - "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
- "{{ kolla_dev_repos_directory ~ '/zun/zun:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/zun' if zun_dev_mode | bool else '' }}" - "{{ kolla_dev_repos_directory ~ '/zun/zun:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/zun' if zun_dev_mode | bool else '' }}"
- "/run:/run:shared"
zun_extra_volumes: "{{ default_extra_volumes }}" zun_extra_volumes: "{{ default_extra_volumes }}"
zun_api_extra_volumes: "{{ zun_extra_volumes }}" zun_api_extra_volumes: "{{ zun_extra_volumes }}"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fix zun capsules lose the network namespaces after restarting
zun_cni_daemon container