changing data-port does not remove previously configured interfaces from OVS bridges
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Gateway Charm |
Triaged
|
Wishlist
|
Unassigned | ||
OpenStack Neutron Open vSwitch Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Related to lp#1809190, we have found that when making a config-change on neutron-openvswitch or neutron-gateway charms to data-port, that the prior interfaces mapped are not purged before adding the new interface.
For instance, if I deploy a cloud with bridge-
juju config neutron-openvswitch data-port=
The expected outcome is that 'ovs-vsctl list-ports br-data' should return bond1 and phy-br-data.
The actual outcome in this scenario is that the bond now contains bond0, bond1, and phy-br-data.
While lp#1809190 was previously written as a bug when switching from external-network-id and external-
This leads to data-plane outages by creating a network loop when the two fabrics joined by the OVS bridge create a network loop/broadcast storm.
tags: | added: sts |
Subscribed field-high. I think it'd be reasonable to expect the charm to support config changes, or at least to block when they aren't (e.g. changing ovs-use-veth).
For the record, a manual workaround is available: simply remove the old bond with ovs-vsctl del-port br-data <the old bond>