I debug out the root!

OVS 2.9.0 doesn’t recognize the the following action format which used by 
neutron network-sfc agent.
(actions=encap(hdr=nsh,prop(class=nsh,type=md_type,val=1)),set_field:0x1->nsh_spi,set_field:0xff->nsh_si,encap(hdr=ethernet))

The right one :
(actions=encap(nsh,prop(class=nsh,type=md_type,val=1)),set_field:0x1->nsh_spi,set_field:0xff->nsh_si,encap(hdr=ethernet))

发件人: Yang, Yi Y [mailto:[email protected]]
发送时间: 2018年9月26日 14:02
收件人: hai tsing <[email protected]>; [email protected]
主题: RE: Why the NSH is not been supported by the ovs-2.9.0?

Are you using OVS kernel datapath?  You can double check it by adding flows 
manually.

From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of hai tsing
Sent: Tuesday, September 25, 2018 9:57 PM
To: [email protected]<mailto:[email protected]>
Subject: [ovs-discuss] Why the NSH is not been supported by the ovs-2.9.0?


Dear all:


I encounter a trouble that my ovs does't support nsh!

When the openstack networking-sfc was populating some flows,  the following 
ERROR occures.
when I was looking for resolution,  The ovs release note tells that nsh is 
supported on version 
2.9.0(http://www.openvswitch.org//releases/NEWS-2.10.0.txt<http://www.openvswitch.org/releases/NEWS-2.10.0.txt>).

so what should i do for enabling NSH of ovs?

2018-09-25 21:23:53.558 17403 ERROR neutron.agent.linux.utils 
[req-f484f89b-9acf-4303-9c79-7adc862bff5c - - - - -] Exit code: 1; Stdin: 
hard_timeout=0,idle_timeout=0,priority=30,cookie=8156743583516943314,nw_dst=0.0.0.0/0.0.0.0,eth_type=2048,tp_dst=0/0x0,table=0,tp_src=0/0x0,nw_src=192.168.6.5,in_port=21,actions=encap(hdr=nsh,prop(class=nsh,type=md_type,val=1)),set_field:0x1->nsh_spi,set_field:0xff->nsh_si,encap(hdr=ethernet),group:1;
 Stdout: ; Stderr: ovs-ofctl: -:1: Encap hdr not supported: nsh
2018-09-25 21:23:53.559 17403 ERROR neutron.agent.common.ovs_lib 
[req-f484f89b-9acf-4303-9c79-7adc862bff5c - - - - -] Unable to execute 
['ovs-ofctl', 'add-flows', '-O', 'OpenFlow13', 'br-int', '-']. Exception: Exit 
code: 1; Stdin: 
hard_timeout=0,idle_timeout=0,priority=30,cookie=8156743583516943314,nw_dst=0.0.0.0/0.0.0.0,eth_type=2048,tp_dst=0/0x0,table=0,tp_src=0/0x0,nw_src=192.168.6.5,in_port=21,actions=encap(hdr=nsh,prop(class=nsh,type=md_type,val=1)),set_field:0x1->nsh_spi,set_field:0xff->nsh_si,encap(hdr=ethernet),group:1;
 Stdout: ; Stderr: ovs-ofctl: -:1: Encap hdr not supported: nsh
: ProcessExecutionError: Exit code: 1; Stdin: 
hard_timeout=0,idle_timeout=0,priority=30,cookie=8156743583516943314,nw_dst=0.0.0.0/0.0.0.0,eth_type=2048,tp_dst=0/0x0,table=0,tp_src=0/0x0,nw_src=192.168.6.5,in_port=21,actions=encap(hdr=nsh,prop(class=nsh,type=md_type,val=1)),set_field:0x1->nsh_spi,set_field:0xff->nsh_si,encap(hdr=ethernet),group:1;
 Stdout: ; Stderr: ovs-ofctl: -:1: Encap hdr not supported: nsh





_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to