Add /run/netns bindmount to Neutron containers

Closes-Bug: #1864856
Change-Id: I725eeb18a22b3fa7838f16761d19f7e699ab5e82
(cherry picked from commit 61a59e015f)
This commit is contained in:
Michal Nasiadka 2020-02-26 16:00:47 +01:00
parent 87a5063bd2
commit 9f9e1efa8c
2 changed files with 4 additions and 1 deletions

View File

@ -248,6 +248,7 @@ neutron_dhcp_agent_default_volumes:
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
- "/run/netns:/run/netns:shared"
- "kolla_logs:/var/log/kolla/"
- "{{ kolla_dev_repos_directory ~ '/neutron/neutron:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/neutron' if neutron_dev_mode | bool else '' }}"
neutron_l3_agent_default_volumes:
@ -255,6 +256,7 @@ neutron_l3_agent_default_volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/lib/modules:/lib/modules:ro"
- "neutron_metadata_socket:/var/lib/neutron/kolla/"
- "/run/netns:/run/netns:shared"
- "kolla_logs:/var/log/kolla/"
- "{{ kolla_dev_repos_directory ~ '/neutron/neutron:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/neutron' if neutron_dev_mode | bool else '' }}"
neutron_sriov_agent_default_volumes:

View File

@ -2,4 +2,5 @@
fixes:
- |
Remove /run bind mounts in Neutron services causing dbus host-level
errors `LP# 1861792 <https://launchpad.net/bugs/1861792>`.
errors and add /run/netns for neutron-dhcp-agent and neutron-l3-agent.
`LP# 1861792 <https://launchpad.net/bugs/1861792>`__