Use /run for all containers when need access namespace

If use /run/netns, it may cause namepace stale and unable to remove. The
root cause may be that docker engine still unrelease the namespace
folder.

Change-Id: If120d54c266878990c952b60043b596b0a0788ab
Closes-Bug: #1703077
This commit is contained in:
Jeffrey Zhang 2017-07-08 14:07:59 +08:00
parent f2a19a4811
commit dba360f5a8

View File

@ -148,7 +148,7 @@ neutron_services:
volumes: volumes:
- "{{ node_config_directory }}/neutron-metadata-agent/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/neutron-metadata-agent/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- "/run/netns/:/run/netns/:shared" - "/run/:/run/:shared"
- "neutron_metadata_socket:/var/lib/neutron/kolla/" - "neutron_metadata_socket:/var/lib/neutron/kolla/"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
neutron-vpnaas-agent: neutron-vpnaas-agent: