<div dir="ltr"><div>Probleme with OpenStack SFC</div><div>Hi all, </div><div>I've installed Openstack SFC with devstack and all module are corretly running except the neutron L2-agent</div><div><br></div><div>After a "screen -rd", it seems that there is a conflict between l2-agent and SFC (see trace bellow).</div><div>I solved the issue with "sudo ovs-vsctl set bridge br protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13" on all openvswitch bridge (br-int, br-ex, br-tun and br-mgmt0).</div><div>I would like to know:</div><div>      - If someone knows why this error arrises ?</div><div>     - is there another way to solve it ?</div><div><br></div><div>Regards,</div><div> </div><div>2016-06-03 12:51:56.323 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] OVS is dead. OVSNeutronAgent will keep running and checking OVS status periodically.</div><div>2016-06-03 12:51:56.330 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] Agent rpc_loop - iteration:4722 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 0}}. Elapsed:0.086 from (pid=12775) loop_count_and_wait /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1680</div><div>2016-06-03 12:51:58.256 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] Agent rpc_loop - iteration:4723 started from (pid=12775) rpc_loop /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1732</div><div>2016-06-03 12:51:58.258 DEBUG neutron.agent.linux.utils [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] Running command (rootwrap daemon): ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23'] from (pid=12775) execute_rootwrap_daemon /opt/stack/neutron/neutron/agent/linux/utils.py:101</div><div>2016-06-03 12:51:58.311 ERROR neutron.agent.linux.utils [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]</div><div>Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23']</div><div>Exit code: 1</div><div>Stdin:</div><div>Stdout:</div><div>Stderr: 2016-06-03T12:51:58Z|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x04, peer supports version 0x01)</div><div>ovs-ofctl: br-int: failed to connect to socket (Broken pipe)</div><div><br></div><div>2016-06-03 12:51:58.323 ERROR networking_sfc.services.sfc.common.ovs_ext_lib [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]</div><div>Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23']</div><div>Exit code: 1</div><div>Stdin:</div><div>Stdout:</div><div>Stderr: 2016-06-03T12:51:58Z|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x04, peer supports version 0x01)</div><div>ovs-ofctl: br-int: failed to connect to socket (Broken pipe)</div><div><br></div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Traceback (most recent call last):</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib   File "/opt/stack/networking-sfc/networking_sfc/services/sfc/common/ovs_ext_lib.py", line 125, in run_ofctl</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib     process_input=process_input)</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib   File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 159, in execute</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib     raise RuntimeError(m)</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib RuntimeError:</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23']</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Exit code: 1</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Stdin:</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Stdout:</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Stderr: 2016-06-03T12:51:58Z|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x04, peer supports version 0x01)</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib ovs-ofctl: br-int: failed to connect to socket (Broken pipe)</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib</div><div>2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib</div><div>2016-06-03 12:51:58.335 ERROR networking_sfc.services.sfc.common.ovs_ext_lib [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] Unable to execute ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23'].</div><div>2016-06-03 12:51:58.337 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] OVS is dead. OVSNeutronAgent will keep running and checking OVS status periodically.</div><div>2016-06-03 12:51:58.341 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None] Agent rpc_loop - iteration:4723 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 0}}. Elapsed:0.085 from (pid=12775) loop_count_and_wait /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1680</div><div><br></div></div>