[ovs-discuss] Ovs state does not recover when linux interface is detached/deleted while it was also part of ovs bridge.

Anupama Lolage-Baheti anupama at gmail.com
Thu Apr 30 00:58:49 UTC 2020


Ovs state does not recover when linux interface is detached/deleted while
it was also part of ovs bridge.

ovs-vsctl -V ovs-vsctl (Open vSwitch) 2.5.9 Compiled Feb 27 2020 19:03:04
DB Schema 7.12.1

ovs-vsctl show: Port "eth1" Interface "eth1" error: "could not open network
device eth1 (No such device)"

ovs-vsctl get interface eth1 ofport: -1

Any attempt to add any new port to bridge fails after this due to invalid
OFPortCfg (-1) for newly added ports.

ovs-vsctl add-port br-test eth3 ovs-vsctl: Error detected while setting up
'eth3'. See ovs-vswitchd log for details.

ovs-vswitchd.log only shows below error message:
2020-04-30T00:16:52.790Z|22947|dpif|WARN|system at ovs-system: failed to add
eth3 as port: File exists

can someone help me how to recover from this state? is this an OVS bug that
has been fixed already?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200429/fcd6ba32/attachment.html>


More information about the discuss mailing list