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:
parent
cf39b68506
commit
41316670fe
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue