<div dir="ltr">Hi Alioune / <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">nazhu</span>,<div><br></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">  Logical-source-port is not mandatory in API , you can create Flow_classifier without logical-source-port , This restriction is moved to OVS driver . Please refer review link  </span><a href="https://review.openstack.org/#/c/313801/5" style="font-size:12px;line-height:18px;font-family:monospace">https://review.openstack.org/#/c/313801/5</a></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px"><br></span></font></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px"> If your back end driver is OVS , you need to specify the logical-source-port is much needed as per design to avoid the return packet to reclassified .</span></font><br></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px"><br></span></font></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px">Thanks.,</span></font></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px">Mohankumar.N</span></font></div><div><font color="#333333" face="monospace"><span style="font-size:12px;line-height:18px"><br></span></font><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 13, 2016 at 7:49 AM, Na Zhu <span dir="ltr"><<a href="mailto:nazhu@cn.ibm.com" target="_blank">nazhu@cn.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font size="2" face="sans-serif">I find this issue also, I filed a bug about
it </font><a href="https://bugs.launchpad.net/networking-sfc/+bug/1586721" target="_blank"><font size="2" color="blue" face="sans-serif">https://bugs.launchpad.net/networking-sfc/+bug/1586721</font></a><br><font size="2" face="sans-serif">I think logical-source-port can be optional.</font><br><font size="2" face="sans-serif"><br><br><br><br><br>Regards,<br>Juno Zhu<br>IBM China Development Labs (CDL) Cloud IaaS Lab<br>Email: <a href="mailto:nazhu@cn.ibm.com" target="_blank">nazhu@cn.ibm.com</a><br>5F, Building 10, 399 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong New District,
Shanghai, China (201203)</font><br><br><br><br><font size="1" color="#5f5f5f" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Alioune <<a href="mailto:balioune3@gmail.com" target="_blank">balioune3@gmail.com</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">To:      
 </font><font size="1" face="sans-serif">"OpenStack Development
Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>></font><br><font size="1" color="#5f5f5f" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">2016/06/10 22:28</font><span><br><font size="1" color="#5f5f5f" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [openstack-dev]
[neutron][SFC]</font><br></span><hr noshade><div><div><br><br><br><font size="3">Hi Mohan,</font><br><font size="3">Even if I clone the master branch of networking-sfc project,I
get the following errir when creating flow-classifier, therefore I do precise
the  logical-source-port.</font><br><br><font size="3">2016-06-10 05:34:05.693 10799 ERROR neutron.api.v2.resource
DBError: (pymysql.err.IntegrityError) (1048, u"Column 'logical_source_port'
cannot be null") </font><br><font size="3"> </font><br><font size="3">I'm trying the example in [1] </font><br><br><font size="3">Here is a "ovs-ofctl dump-flows" on br-int ofter
creating port-chain, I expected to see vxlan or gre tunnel encapsulation
entries as explained in [1], may I know why there is no tunnel entry in
br-int ?</font><br><br><font size="3">sudo ovs-ofctl dump-flows br-int</font><br><font size="3">NXST_FLOW reply (xid=0x4):</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2840.983s, table=0,
n_packets=0, n_bytes=0, idle_age=2840, priority=10,icmp6,in_port=16,icmp_type=136
actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2837.039s, table=0,
n_packets=0, n_bytes=0, idle_age=2837, priority=10,icmp6,in_port=17,icmp_type=136
actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.688s, table=0,
n_packets=0, n_bytes=0, idle_age=2831, priority=10,icmp6,in_port=19,icmp_type=136
actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.038s, table=0,
n_packets=0, n_bytes=0, idle_age=2831, priority=10,icmp6,in_port=18,icmp_type=136
actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2801.555s, table=0,
n_packets=0, n_bytes=0, idle_age=2801, priority=10,icmp6,in_port=20,icmp_type=136
actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2840.605s, table=0,
n_packets=8, n_bytes=336, idle_age=2591, priority=10,arp,in_port=16 actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2836.759s, table=0,
n_packets=0, n_bytes=0, idle_age=2836, priority=10,arp,in_port=17 actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.485s, table=0,
n_packets=0, n_bytes=0, idle_age=2831, priority=10,arp,in_port=19 actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2830.816s, table=0,
n_packets=21, n_bytes=882, idle_age=1605, priority=10,arp,in_port=18 actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2801.309s, table=0,
n_packets=10, n_bytes=420, idle_age=545, priority=10,arp,in_port=20 actions=resubmit(,24)</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=15755.073s,
table=0, n_packets=3241, n_bytes=366555, idle_age=545, priority=0 actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=15754.687s,
table=23, n_packets=0, n_bytes=0, idle_age=15754, priority=0 actions=drop</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2841.201s, table=24,
n_packets=0, n_bytes=0, idle_age=2841, priority=2,icmp6,in_port=16,icmp_type=136,nd_target=fe80::f816:3eff:fe2d:c29d
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2837.177s, table=24,
n_packets=0, n_bytes=0, idle_age=2837, priority=2,icmp6,in_port=17,icmp_type=136,nd_target=fe80::f816:3eff:fee0:f8ca
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.794s, table=24,
n_packets=0, n_bytes=0, idle_age=2831, priority=2,icmp6,in_port=19,icmp_type=136,nd_target=fe80::f816:3eff:fe86:a668
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.150s, table=24,
n_packets=0, n_bytes=0, idle_age=2831, priority=2,icmp6,in_port=18,icmp_type=136,nd_target=fe80::f816:3eff:feb4:965f
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2801.675s, table=24,
n_packets=0, n_bytes=0, idle_age=2801, priority=2,icmp6,in_port=20,icmp_type=136,nd_target=fe80::f816:3eff:fe5a:3097
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2840.794s, table=24,
n_packets=8, n_bytes=336, idle_age=2591, priority=2,arp,in_port=16,arp_spa=55.55.55.3
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2836.901s, table=24,
n_packets=0, n_bytes=0, idle_age=2836, priority=2,arp,in_port=17,arp_spa=55.55.55.4
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2831.587s, table=24,
n_packets=0, n_bytes=0, idle_age=2831, priority=2,arp,in_port=19,arp_spa=55.55.55.6
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2830.933s, table=24,
n_packets=21, n_bytes=882, idle_age=1605, priority=2,arp,in_port=18,arp_spa=55.55.55.5
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=2801.431s, table=24,
n_packets=10, n_bytes=420, idle_age=545, priority=2,arp,in_port=20,arp_spa=55.55.55.8
actions=NORMAL</font><br><font size="3"> cookie=0x90444f3c8fabcbe0, duration=15754.273s,
table=24, n_packets=0, n_bytes=0, idle_age=15754, priority=0 actions=drop</font><br><br><br><font size="3">is there a link that explains how pipelines are created
by SFC in br-int to compare with my flows entries ?</font><br><br><font size="3">Does the flow-classifier referer to floating IPs or tenant
network IPs to do the classification ?</font><br><br><font size="3">Regards,</font><br><br><font size="3">[1] </font><a href="http://docs.openstack.org/developer/networking-sfc/system_design%20and_workflow.html" target="_blank"><font size="3" color="blue"><u>http://docs.openstack.org/developer/networking-sfc/system_design%20and_workflow.html</u></font></a><br><br><font size="3">On 9 June 2016 at 18:59, Henry Fourie <</font><a href="mailto:louis.fourie@huawei.com" target="_blank"><font size="3" color="blue"><u>louis.fourie@huawei.com</u></font></a><font size="3">>
wrote:</font><br><font size="2" color="#004080" face="Calibri">Alioune,</font></div></div><p></p><div><div><font size="2" color="#004080" face="Calibri">   The logical-source-port
refers to a Neutron port of the VM that</font></div></div><p></p><div><div><font size="2" color="#004080" face="Calibri">originates the traffic that
is to be processed by the port-chain.</font></div></div><p><font size="2" color="#004080" face="Calibri">-       
Louis</font></p><p><font size="2" color="#004080" face="Calibri"> </font></p><p></p><div><div><font size="2" face="Tahoma"><b>From:</b> Alioune [mailto:</font><a href="mailto:balioune3@gmail.com" target="_blank"><font size="2" color="blue" face="Tahoma"><u>balioune3@gmail.com</u></font></a><font size="2" face="Tahoma">]
<b><br>Sent:</b> Thursday, June 09, 2016 6:50 AM<b><br>To:</b> Mohan Kumar<b><br>Cc:</b> OpenStack Development Mailing List (not for usage questions)<b><br>Subject:</b> Re: [openstack-dev] [neutron][SFC]</font></div></div><p><font size="3"> </font></p><p><font size="3">Thanks Mohan,</font></p><p><font size="3"> </font></p><p></p><div><div><font size="3">After setting service_plugins and adding sfc tables to
neutrondb, I can create port-pair, port-pair-group but classifier creation
still claim a logical-source-port parameter.</font></div></div><p><font size="3"> </font></p><p></p><div><div><font size="3">neutron flow-classifier-create  --ethertype IPv4  --source-ip-prefix
</font><a href="http://55.55.55.2/32" target="_blank"><font size="3" color="blue"><u>55.55.55.2/32</u></font></a><font size="3"> --destination-ip-prefix </font><a href="http://55.55.55.9/32" target="_blank"><font size="3" color="blue"><u>55.55.55.9/32</u></font></a><font size="3"> --protocol tcp  --source-port 22:22  --destination-port
1:65000 FC1</font></div></div><p><font size="3">ERROR:</font></p><p></p><div><div><font size="3">neutron flow-classifier-create: error: argument --logical-source-port
is required</font></div></div><p></p><div><div><font size="3">Try 'neutron help flow-classifier-create' for more information.</font></div></div><p><font size="3"> </font></p><p></p><div><div><font size="3">Please someone can explain what does --logical-source-port
correspond to ?</font></div></div><p></p><div><div><font size="3">Does the classifier require port-create like SF ?</font></div></div><p><font size="3"> </font></p><p><font size="3">Regards,</font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p></p><div><div><font size="3">On 9 June 2016 at 09:21, Mohan Kumar <</font><a href="mailto:nmohankumar1011@gmail.com" target="_blank"><font size="3" color="blue"><u>nmohankumar1011@gmail.com</u></font></a><font size="3">>
wrote:</font></div></div><p><font size="1"><b>Alioune,</b></font></p><p><font size="3"> </font></p><p></p><div><div><font size="1"><b>networking-sfc  resources not installed / not reachable
, </b>If installation is okay, Possibly you may missed service_plugins
entry in <b>neutron.conf </b>( in case of manual networking-sfc installation) </font></div></div><p><font size="3"> </font></p><p><font size="1">it should be ,</font></p><p><font size="3"> </font></p><p><font size="1"><b>service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin,networking_sfc.services.sfc.plugin.SfcPlugin</b></font></p><p><font size="1"><b> </b></font></p><p></p><div><div><font size="1"><b>and restart q-svc services in screen -x </b></font></div></div><p><font size="3"> </font></p><p><font size="1"><b>Thanks.,</b></font></p><p><font size="1"><b>Mohankumar.N </b></font></p><p><font size="3"> </font></p><p></p><div><div><font size="3">On Thu, Jun 9, 2016 at 12:58 AM, Alioune <</font><a href="mailto:balioune3@gmail.com" target="_blank"><font size="3" color="blue"><u>balioune3@gmail.com</u></font></a><font size="3">>
wrote:</font></div></div><p></p><div><div><font size="3">I've switched from devstack to a normal deployment of openstack/mitaka
and neutron-l2 agent is working fine with sfc. I can boot instances, create
ports.</font></div></div><p></p><div><div><font size="3">However I can not create neither flow-classifier nor port-pair
...</font></div></div><p><font size="3"> </font></p><p><font size="3">neutron flow-classifier-create --ethertype IPv4 --source-ip-prefix
</font><a href="http://22.1.20.1/32" target="_blank"><font size="3" color="blue"><u>22.1.20.1/32</u></font></a><font size="3">--destination-ip-prefix </font><a href="http://172.4.5.6/32" target="_blank"><font size="3" color="blue"><u>172.4.5.6/32</u></font></a><font size="3">--protocol tcp --source-port 23:23 --destination-port 100:100 FC1</font></p><div><div><p><font size="3"> </font></p><p><font size="3">returns: neutron flow-classifier-create: error: argument
--logical-source-port is required</font></p><p><font size="3">Try 'neutron help flow-classifier-create' for more information.</font></p><p><font size="3"> </font></p><p><font size="3"> neutron port-pair-create --ingress=p1 --egress=p2
PP1</font></p><p><font size="3">404 Not Found</font></p><p><font size="3"> </font></p><p><font size="3">The resource could not be found.</font></p><p><font size="3"> </font></p><p><font size="3">Neutron server returns request_ids: ['req-1bfd0983-4a61-4b32-90b3-252004d90e65']</font></p><p><font size="3"> </font></p><p><font size="3">neutron --version</font></p><p><font size="3">4.1.1</font></p><p><font size="3"> </font></p><p><font size="3">p1,p2,p3,p4 have already been created, I can ping instances
attached to these ports.</font></p><p><font size="3">Since I've not installed networking-sfc, are there additional
config to set in neutron config files ?</font></p><p><font size="3">Or is it due to neutron-client version ?</font></p><p><font size="3"> </font></p><p><font size="3">Regards</font></p><p><font size="3"> </font></p><p><font size="3">On 8 June 2016 at 20:31, Mohan Kumar <</font><a href="mailto:nmohankumar1011@gmail.com" target="_blank"><font size="3" color="blue"><u>nmohankumar1011@gmail.com</u></font></a><font size="3">>
wrote:</font></p><p><font size="3">neutron agent not able to fetch details from ovsdb . Could
you check below options 1.restart ovsdb-server and execute ovs_vsctl list-br 
2.   execute ovs- vsctl list-br manually and try to check error.</font></p><p><font size="3">3. Could be ovs cleanup issue , please check the output
of sudo service openvswitch restart and /etc/init.d/openvswich** restart
, both should be same <br><br>Thanks.,<br>Mohankumar.N</font></p><p><font size="3">On Jun 7, 2016 6:04 PM, "Alioune" <</font><a href="mailto:balioune3@gmail.com" target="_blank"><font size="3" color="blue"><u>balioune3@gmail.com</u></font></a><font size="3">>
wrote:</font></p><p><font size="3">Hi Mohan/Cathy</font></p><p><font size="3"> I've installed now ovs 2.4.0 and followed </font><a href="https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining" target="_blank"><font size="3" color="blue"><u>https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining</u></font></a><font size="3"> but
I got this error :</font></p><p><font size="3">Regards,</font></p><p><font size="3"> </font></p><p><font size="3">+ neutron-ovs-cleanup</font></p><p><font size="3">2016-06-07 11:25:36.465 22147 INFO neutron.common.config
[-] Logging enabled!</font></p><p><font size="3">2016-06-07 11:25:36.468 22147 INFO neutron.common.config
[-] /usr/local/bin/neutron-ovs-cleanup version 7.1.1.dev4</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
[-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json',
'--', 'list-br'].</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
Traceback (most recent call last):</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
  File "/opt/stack/neutron/neutron/agent/ovsdb/impl_vsctl.py",
line 63, in run_vsctl</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
    log_fail_as_error=False).rstrip()</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
  File "/opt/stack/neutron/neutron/agent/linux/utils.py",
line 159, in execute</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
    raise RuntimeError(m)</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
RuntimeError:</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
Command: ['sudo', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json',
'--', 'list-br']</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl
Exit code: 1</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl</font></p><p><font size="3">2016-06-07 11:25:36.505 22147 ERROR neutron.agent.ovsdb.impl_vsctl</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 CRITICAL neutron [-] RuntimeError:</font></p><p><font size="3">Command: ['sudo', 'ovs-vsctl', '--timeout=10', '--oneline',
'--format=json', '--', 'list-br']</font></p><p><font size="3">Exit code: 1</font></p><p><font size="3"> </font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron Traceback (most
recent call last):</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/usr/local/bin/neutron-ovs-cleanup", line 10, in <module></font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
sys.exit(main())</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/cmd/ovs_cleanup.py", line 89, in
main</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
ovs_bridges = set(ovs.get_bridges())</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/common/ovs_lib.py", line 132,
in get_bridges</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
return self.ovsdb.list_br().execute(check_error=True)</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/ovsdb/impl_vsctl.py", line
83, in execute</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
txn.add(self)</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/ovsdb/api.py", line 70, in
__exit__</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
self.result = self.commit()</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/ovsdb/impl_vsctl.py", line
50, in commit</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
res = self.run_vsctl(args)</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/ovsdb/impl_vsctl.py", line
70, in run_vsctl</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
ctxt.reraise = False</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py",
line 204, in __exit__</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
six.reraise(self.type_, self.value, self.tb)</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/ovsdb/impl_vsctl.py", line
63, in run_vsctl</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
log_fail_as_error=False).rstrip()</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron   File
"/opt/stack/neutron/neutron/agent/linux/utils.py", line 159,
in execute</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron    
raise RuntimeError(m)</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron RuntimeError:</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron Command: ['sudo',
'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', 'list-br']</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron Exit code:
1</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron</font></p><p><font size="3">2016-06-07 11:25:36.512 22147 ERROR neutron</font></p><p><font size="3">+ exit_trap</font></p><p><font size="3">+ local r=1</font></p><p><font size="3">++ jobs -p</font></p><p><font size="3">+ jobs=</font></p><p><font size="3">+ [[ -n '' ]]</font></p><p><font size="3">+ kill_spinner</font></p><p><font size="3">+ '[' '!' -z '' ']'</font></p><p><font size="3">+ [[ 1 -ne 0 ]]</font></p><p><font size="3">+ echo 'Error on exit'</font></p><p><font size="3">Error on exit</font></p><p><font size="3">+ generate-subunit 1465296797 1939 fail</font></p><p><font size="3">+ [[ -z /opt/stack/logs ]]</font></p><p><font size="3">+ /home/alioune/devstack/tools/worlddump.py -d /opt/stack/logs</font></p><p><font size="3">World dumping... see /opt/stack/logs/worlddump-2016-06-07-112537.txt
for details</font></p><p><font size="3">+ exit 1</font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3">On 7 June 2016 at 12:08, Mohan Kumar <</font><a href="mailto:nmohankumar1011@gmail.com" target="_blank"><font size="3" color="blue"><u>nmohankumar1011@gmail.com</u></font></a><font size="3">>
wrote:</font></p><p><font size="3">Hi </font><font size="1"><b>shihanzhang / </b></font><font size="1" face="Helvetica">Alioune</font><font size="1"><b> ,</b></font></p><p><font size="3"> </font></p><p><font size="1"><b>your kernel (check with uname -r )  should support
OVS version , below table compare kern</b></font><font size="3">el versions
and corresponding Open vSwitch release support</font></p><p><font size="3"> </font></p><p><tt><font size="3">| Open vSwitch | Linux kernel</font></tt><br><tt><font size="3">|:------------:|:-------------:</font></tt><br><tt><font size="3">|    1.4.x    
| 2.6.18 to 3.2</font></tt><br><tt><font size="3">|    1.5.x    
| 2.6.18 to 3.2</font></tt><br><tt><font size="3">|    1.6.x    
| 2.6.18 to 3.2</font></tt><br><tt><font size="3">|    1.7.x    
| 2.6.18 to 3.3</font></tt><br><tt><font size="3">|    1.8.x    
| 2.6.18 to 3.4</font></tt><br><tt><font size="3">|    1.9.x    
| 2.6.18 to 3.8</font></tt><br><tt><font size="3">|    1.10.x    | 2.6.18
to 3.8</font></tt><br><tt><font size="3">|    1.11.x    | 2.6.18
to 3.8</font></tt><br><tt><font size="3">|    2.0.x    
| 2.6.32 to 3.10</font></tt><br><tt><font size="3">|    2.1.x    
| 2.6.32 to 3.11</font></tt><br><tt><font size="3">|    2.3.x    
| 2.6.32 to 3.14</font></tt><br><tt><font size="3">|    2.4.x    
| 2.6.32 to 4.0</font></tt><br><tt><font size="3">|    2.5.x    
| 2.6.32 to 4.3</font></tt><br><a href="http://openvswitch.org/support/dist-docs/FAQ.md.txt" target="_blank"><tt><font size="3" color="blue"><u>http://openvswitch.org/support/dist-docs/FAQ.md.txt</u></font></tt></a><tt><font size="3">(</font></tt><font size="3" face="Arial"><br>### Q: What Linux kernel versions does each Open vSwitch release work with?)</font><br><tt><font size="3">I installed SFC with OVS 2.4.0  and 2.5.0 and
not seen any issue </font></tt><br><font size="3" face="Arial">Please check SFC wiki for installation guidelines
: </font><a href="https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining" target="_blank"><font size="3" color="blue" face="Arial"><u>https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining</u></font></a><br><tt><font size="3"> </font></tt><br><font size="3" face="Arial">Thanks.,</font><br><tt><font size="3">Mohankumar.N</font></tt><br><tt><font size="3"> </font></tt><br><tt><font size="3"> </font></tt><br><tt><font size="3"> </font></tt></p><p><font size="3"> </font></p><p><font size="3">On Tue, Jun 7, 2016 at 1:46 PM, shihanzhang <</font><a href="mailto:ayshihanzhang@126.com" target="_blank"><font size="3" color="blue"><u>ayshihanzhang@126.com</u></font></a><font size="3">>
wrote:</font></p><p><font size="1" face="Helvetica">Hi Alioune and Cathy,</font></p><p><font size="1" face="Helvetica">     For devstack on ubuntu14.04,
the default ovs version is 2.0.2, so there was the error as Alioune said.</font></p><p><font size="1" face="Helvetica">     Do we need to install speical
ovs version in networking-sfc devstack plugin.sh?</font></p><p><font size="1" face="Helvetica">    </font></p><p><font size="1" face="Arial"><br></font></p><p><font size="1" face="MS Gothic"><br>在</font><font size="1" face="Arial"> 2016-06-07 07:48:26</font><font size="1" face="MS Gothic">,</font><font size="1" face="Arial">"Cathy
Zhang" <</font><a href="mailto:Cathy.H.Zhang@huawei.com" target="_blank"><font size="1" color="blue" face="Arial"><u>Cathy.H.Zhang@huawei.com</u></font></a><font size="1" face="Arial">>
</font><font size="1" face="MS Gothic">写道:</font></p><p><font size="3">Hi Alioune,</font></p><p><font size="3"> </font></p><p><font size="3">Which OVS version are you using? </font></p><p><font size="3">Try openvswitch version 2.4.0 and restart the openvswitch-server
before installing the devstack. </font></p><p><font size="3"> </font></p><p><font size="3">Cathy</font></p><p><font size="2" color="#004080" face="Calibri"> </font></p><p><font size="2" face="Tahoma"><b>From:</b> Alioune [mailto:</font><a href="mailto:balioune3@gmail.com" target="_blank"><font size="2" color="blue" face="Tahoma"><u>balioune3@gmail.com</u></font></a><font size="2" face="Tahoma">]
<b><br>Sent:</b> Friday, June 03, 2016 9:07 AM<b><br>To:</b> </font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><font size="2" color="blue" face="Tahoma"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" face="Tahoma"><b><br>Cc:</b> Cathy Zhang<b><br>Subject:</b> [openstack-dev][neutron][SFC]</font></p><p><font size="3"> </font></p><p><font size="3">Probleme with OpenStack SFC</font></p><p><font size="3">Hi all, </font></p><p><font size="3">I've installed Openstack SFC with devstack and all module
are corretly running except the neutron L2-agent</font></p><p><font size="3"> </font></p><p><font size="3">After a "screen -rd", it seems that there is
a conflict between l2-agent and SFC (see trace bellow).</font></p><p><font size="3">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).</font></p><p><font size="3">I would like to know:</font></p><p><font size="3">      - If someone knows why this error
arrises ?</font></p><p><font size="3">     - is there another way to solve it
?</font></p><p><font size="3"> </font></p><p><font size="3">Regards,</font></p><p><font size="3"> </font></p><p><font size="3">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.</font></p><p><font size="3">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</font></p><p><font size="3">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</font></p><p><font size="3">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</font></p><p><font size="3">2016-06-03 12:51:58.311 ERROR neutron.agent.linux.utils
[req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]</font></p><p><font size="3">Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int',
'table=23']</font></p><p><font size="3">Exit code: 1</font></p><p><font size="3">Stdin:</font></p><p><font size="3">Stdout:</font></p><p><font size="3">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)</font></p><p><font size="3">ovs-ofctl: br-int: failed to connect to socket (Broken
pipe)</font></p><p><font size="3"> </font></p><p><font size="3">2016-06-03 12:51:58.323 ERROR networking_sfc.services.sfc.common.ovs_ext_lib
[req-1258bbbc-7211-4cfd-ab7c-8b856604f768 None None]</font></p><p><font size="3">Command: ['ovs-ofctl', '-O openflow13', 'dump-flows', 'br-int',
'table=23']</font></p><p><font size="3">Exit code: 1</font></p><p><font size="3">Stdin:</font></p><p><font size="3">Stdout:</font></p><p><font size="3">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)</font></p><p><font size="3">ovs-ofctl: br-int: failed to connect to socket (Broken
pipe)</font></p><p><font size="3"> </font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
Traceback (most recent call last):</font></p><p><font size="3">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</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
    process_input=process_input)</font></p><p><font size="3">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</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
    raise RuntimeError(m)</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
RuntimeError:</font></p><p><font size="3">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']</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
Exit code: 1</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
Stdin:</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib
Stdout:</font></p><p><font size="3">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)</font></p><p><font size="3">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)</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib</font></p><p><font size="3">2016-06-03 12:51:58.323 TRACE networking_sfc.services.sfc.common.ovs_ext_lib</font></p><p><font size="3">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'].</font></p><p><font size="3">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.</font></p><p><font size="3">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</font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><font size="3" color="blue"><u>OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</u></font></a><font size="3" color="blue"><u><br></u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><font size="3" color="blue"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a></p><p><font size="3"> </font></p><p><font size="3"><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><font size="3" color="blue"><u>OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</u></font></a><font size="3" color="blue"><u><br></u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><font size="3" color="blue"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3"> </font></p><p><font size="3"> </font><br><font size="3"><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><font size="3" color="blue"><u>OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</u></font></a><font size="3" color="blue"><u><br></u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><font size="3" color="blue"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><font size="3"><br></font><br><tt><font size="2">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br></font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><tt><font size="2">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size="2"><br></font></tt><br><br>
</p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></div></div><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><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></div></div>