Mount netns as shared to persist namespaces

Dataplane is breaking when containers are killed. Keeping the namespaces
around allows the network objects (ports, bridges) etc. to remain
intact without the containers running.

Closes-Bug: #1748658
Change-Id: I092500e9ec0820347ba0f865f3c24f828980af3a
(cherry picked from commit fb27465c6f)
This commit is contained in:
Brent Eagles 2018-02-09 11:11:00 -03:30
parent cf39b68506
commit 41316670fe
2 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ outputs:
- /run/openvswitch:/run/openvswitch
- /var/lib/neutron:/var/lib/neutron
- /var/log/containers/neutron:/var/log/neutron
- /run/netns:/run/netns:shared
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:

View File

@ -101,6 +101,7 @@ outputs:
- /run/openvswitch:/run/openvswitch
- /var/lib/neutron:/var/lib/neutron
- /var/log/containers/neutron:/var/log/neutron
- /run/netns:/run/netns:shared
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks: