<div dir="ltr">Hi <span style="font-size:12.8px;font-weight:bold;white-space:nowrap">shihanzhang / </span><span style="color:rgb(0,0,0);font-family:Helvetica,'Microsoft Yahei',verdana;font-size:14px;line-height:23.324px">Alioune</span><span style="font-size:12.8px;font-weight:bold;white-space:nowrap"> ,</span><div><br></div><div><span style="font-size:12.8px;white-space:nowrap"><b>your kernel (check with uname -r ) should support OVS version , below table compare kern</b></span><span style="color:rgb(0,0,0);white-space:pre-wrap">el versions and corresponding Open vSwitch release support</span></div><div><span style="font-size:12.8px;white-space:nowrap"><b><br></b></span></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">| Open vSwitch | Linux kernel
|:------------:|:-------------:
| 1.4.x | 2.6.18 to 3.2
| 1.5.x | 2.6.18 to 3.2
| 1.6.x | 2.6.18 to 3.2
| 1.7.x | 2.6.18 to 3.3
| 1.8.x | 2.6.18 to 3.4
| 1.9.x | 2.6.18 to 3.8
| 1.10.x | 2.6.18 to 3.8
| 1.11.x | 2.6.18 to 3.8
| 2.0.x | 2.6.32 to 3.10
| 2.1.x | 2.6.32 to 3.11
| 2.3.x | 2.6.32 to 3.14
| 2.4.x | 2.6.32 to 4.0
| 2.5.x | 2.6.32 to 4.3</pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap"><a href="http://openvswitch.org/support/dist-docs/FAQ.md.txt">http://openvswitch.org/support/dist-docs/FAQ.md.txt</a> (<br></span></font><span style="color:rgb(0,0,0);white-space:pre-wrap;font-family:arial,sans-serif">### Q: What Linux kernel versions does each Open vSwitch release work with?)</span></pre><pre style="word-wrap:break-word">I installed SFC with OVS 2.4.0 and 2.5.0 and not seen any issue </pre><pre style="word-wrap:break-word"><span style="font-family:arial,sans-serif">Please check SFC wiki for installation guidelines : </span><a href="https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining" style="font-family:arial,sans-serif">https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining</a><br></pre><pre style="word-wrap:break-word"><span style="font-family:arial,sans-serif"><br></span></pre><pre style="word-wrap:break-word"><span style="font-family:arial,sans-serif">Thanks.,</span><br></pre><pre style="word-wrap:break-word">Mohankumar.N</pre><pre style="word-wrap:break-word"><span style="color:rgb(0,0,0);white-space:pre-wrap;font-family:arial,sans-serif"><br></span></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 7, 2016 at 1:46 PM, shihanzhang <span dir="ltr"><<a href="mailto:ayshihanzhang@126.com" target="_blank">ayshihanzhang@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px">Hi Alioune and Cathy,</span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"> For devstack on ubuntu14.04, the default ovs version is </span><font face="Helvetica, Microsoft Yahei, verdana"><span style="line-height:23.324px">2.0.2, so there was the error as </span></font><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px">Alioune</span><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"> said.</span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"> Do we need to install </span><font face="Helvetica, Microsoft Yahei, verdana"><span style="line-height:23.324px">speical ovs version in networking-sfc devstack plugin.sh?</span></font></div><div><div class="h5"><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"> </span></div><br><br><br><div style="zoom:1"></div><div></div><br>在 2016-06-07 07:48:26,"Cathy Zhang" <<a href="mailto:Cathy.H.Zhang@huawei.com" target="_blank">Cathy.H.Zhang@huawei.com</a>> 写道:<br> <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div>
<p class="MsoNormal">Hi Alioune,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Which OVS version are you using? <u></u><u></u></p>
<p class="MsoNormal">Try openvswitch version 2.4.0 and restart the openvswitch-server before installing the devstack.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Cathy<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alioune [mailto:<a href="mailto:balioune3@gmail.com" target="_blank">balioune3@gmail.com</a>]
<br>
<b>Sent:</b> Friday, June 03, 2016 9:07 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Cc:</b> Cathy Zhang<br>
<b>Subject:</b> [openstack-dev][neutron][SFC]<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Probleme with OpenStack SFC<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hi all, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I've installed Openstack SFC with devstack and all module are corretly running except the neutron L2-agent<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">After a "screen -rd", it seems that there is a conflict between l2-agent and SFC (see trace bellow).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I would like to know:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> - If someone knows why this error arrises ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> - is there another way to solve it ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.311 ERROR neutron.agent.linux.utils [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23']<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Exit code: 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Stdin:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Stdout:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ovs-ofctl: br-int: failed to connect to socket (Broken pipe)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 ERROR networking_sfc.services.sfc.common.ovs_ext_lib [req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int', 'table=23']<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Exit code: 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Stdin:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Stdout:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ovs-ofctl: br-int: failed to connect to socket (Broken pipe)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Traceback (most recent call last):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib process_input=process_input)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib raise RuntimeError(m)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib RuntimeError:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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']<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Exit code: 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Stdin:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib Stdout:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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'].<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>