Changing physical interface mapping may result in multiple physical interfaces in bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Version: 2015.2 (Liberty)
Plugin: ML2 w/ LinuxBridge
While testing various NICs, I found that changing the physical interface mapping in the ML2 configuration file and restarting the agent resulted in the old physical interface remaining in the bridge. This can be observed with the following steps:
Original configuration:
[linux_bridge]
physical_
racker@compute01:~$ brctl show
bridge name bridge id STP enabled interfaces
brqad516357-47 8000.e41d2d5b6213 no eth2
Modify the bridge mapping:
[linux_bridge]
#physical_
physical_
Restart the agent:
racker@compute01:~$ sudo service neutron-
neutron-
neutron-
Check the bridge:
racker@compute01:~$ brctl show
bridge name bridge id STP enabled interfaces
brqad516357-47 8000.6805ca37dc39 no eth1
This behavior was observed with flat or vlan networks, and can result in some wonky behavior. Removing the original interface from the bridge(s) by hand or restarting the node is a workaround, but I suspect LinuxBridge users aren't used to modifying the bridges manually as the agent usually handles that.
tags: | added: linuxbridge |
I believe this is not a bug, same thing goes with OVS and the external bridges mapping. Since you removed it from configuration, the agent cannot know about the old interface anymore, what if that interface you find suspicious now it's used for something?