Add /run/netns bindmount to Neutron containers

Closes-Bug: #1864856
Change-Id: I725eeb18a22b3fa7838f16761d19f7e699ab5e82
This commit is contained in:
Michal Nasiadka 2020-02-26 16:00:47 +01:00 committed by Radosław Piliszek
parent e5844e49c0
commit 61a59e015f
2 changed files with 4 additions and 1 deletions

View File

@ -245,6 +245,7 @@ neutron_dhcp_agent_default_volumes:
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "neutron_metadata_socket:/var/lib/neutron/kolla/" - "neutron_metadata_socket:/var/lib/neutron/kolla/"
- "/run/netns:/run/netns:shared"
- "kolla_logs:/var/log/kolla/" - "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 '' }}" - "{{ 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: neutron_l3_agent_default_volumes:
@ -252,6 +253,7 @@ neutron_l3_agent_default_volumes:
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "/lib/modules:/lib/modules:ro" - "/lib/modules:/lib/modules:ro"
- "neutron_metadata_socket:/var/lib/neutron/kolla/" - "neutron_metadata_socket:/var/lib/neutron/kolla/"
- "/run/netns:/run/netns:shared"
- "kolla_logs:/var/log/kolla/" - "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 '' }}" - "{{ 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: neutron_sriov_agent_default_volumes:

View File

@ -2,4 +2,5 @@
fixes: fixes:
- | - |
Remove /run bind mounts in Neutron services causing dbus host-level 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>`__