Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete OVS port on unstack to retain system connectivity
If you configure devstack with the following three values, for example: PHYSICAL_NETWORK=eth0 PUBLIC_INTERFACE=eth0 OVS_PHYSICAL_BRIDGE=br-eth0 This will cause devstack to create an OVS bridge, create a port for eth0, and add it to the bridge (along with it's IP address). The problem is that on unstack the port is never deleted from OVS, so eth0 gets "trapped", not showing up in any of the OVS commands, but not usable by the system. The only workaround is to unload the OVS kernel module. There needs to be an 'ovs-vsctl del-port ...' call at the end of _move_neutron_addresses_route() on unstack - the antidote to the 'ovs-vsctl add-port ...', that happened on stack. Closes-Bug: #1516801 Change-Id: Id2ff60f1f8e8fffff1eaffd68d9de4f6aa772943
- Loading branch information