yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84640
[Bug 1905538] [NEW] Some OVS bridges may lack OpenFlow10 protocol
Public bug reported:
After commit https://review.opendev.org/c/openstack/neutron/+/371455 OVSAgentBridge.setup_controllers() no longer sets OpenFlow10 protocol for the bridge, instead it was moved to ovs_lib.OVSBridge.create().
However some (custom) OVS bridges could be created by nova/os-vif when plugging VM interface.
For such bridges neutron does not call create(), only setup_controllers() - as a result such bridges support only OpenFlow13 and ovs-ofctl command fails:
2020-11-24T20:18:38Z|00001|vconn|WARN|unix:/var/run/openvswitch/br01711489f-fe.24081.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: br01711489f-fe: failed to connect to socket (Broken pipe)
Fix: return setting of OpenFlow10 (along with OpenFlow13) to
setup_controllers(). It's doesn't hurt even if bridge already has
OpenFlow10 in supported protocols.
** Affects: neutron
Importance: Low
Assignee: Oleg Bondarev (obondarev)
Status: New
** Tags: ovs ovs-lib
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1905538
Title:
Some OVS bridges may lack OpenFlow10 protocol
Status in neutron:
New
Bug description:
After commit https://review.opendev.org/c/openstack/neutron/+/371455 OVSAgentBridge.setup_controllers() no longer sets OpenFlow10 protocol for the bridge, instead it was moved to ovs_lib.OVSBridge.create().
However some (custom) OVS bridges could be created by nova/os-vif when plugging VM interface.
For such bridges neutron does not call create(), only setup_controllers() - as a result such bridges support only OpenFlow13 and ovs-ofctl command fails:
2020-11-24T20:18:38Z|00001|vconn|WARN|unix:/var/run/openvswitch/br01711489f-fe.24081.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: br01711489f-fe: failed to connect to socket (Broken pipe)
Fix: return setting of OpenFlow10 (along with OpenFlow13) to
setup_controllers(). It's doesn't hurt even if bridge already has
OpenFlow10 in supported protocols.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1905538/+subscriptions
Follow ups