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
This commit is contained in:
parent
c93028f254
commit
fb27465c6f
|
@ -126,6 +126,7 @@ outputs:
|
|||
- /lib/modules:/lib/modules:ro
|
||||
- /run/openvswitch:/run/openvswitch
|
||||
- /var/lib/neutron:/var/lib/neutron
|
||||
- /run/netns:/run/netns:shared
|
||||
-
|
||||
if:
|
||||
- internal_tls_enabled
|
||||
|
|
|
@ -108,6 +108,7 @@ outputs:
|
|||
- /lib/modules:/lib/modules:ro
|
||||
- /run/openvswitch:/run/openvswitch
|
||||
- /var/lib/neutron:/var/lib/neutron
|
||||
- /run/netns:/run/netns:shared
|
||||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
host_prep_tasks:
|
||||
|
|
|
@ -129,6 +129,7 @@ outputs:
|
|||
- /lib/modules:/lib/modules:ro
|
||||
- /run/openvswitch:/run/openvswitch
|
||||
- /var/lib/neutron:/var/lib/neutron
|
||||
- /run/netns:/run/netns:shared
|
||||
environment:
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
host_prep_tasks:
|
||||
|
|
Loading…
Reference in New Issue