Hello William

First thing I would think of is that there is a problem with your OVS
build. Have you crosschecked that you have loaded the corresponding
kernel module to you build?

Also, before attempting anything SFC, I would first attempt normal VM
to VM networking to check that it is fine, so that traffic from SRC to
DST is ok when not traversing SF1.

BR
Jaime.

-----Original Message-----
From: william sales <[email protected]>
To: [email protected], [email protected]
Subject: [sfc-dev] Error by using Opendaylight OXYGEN and Openvswitch
2.6.1 with NSH
Date: Mon, 11 Jun 2018 13:22:42 -0300


Hello guys,

I am trying to run tests in an environment with 2 machines. The first
contains Openstack Queens, networking-odl, networking-sfc and
OpendayLight
Oxygen (Karaf 0.8.1). The second, the computing host, stores the VMs
and
has Openvswitch 2.6.1 (with NSH).

In the computing host there are 3 VMs: SRC, DST, and SF1 (with Port1
and
Port2 ports) as the network settings below:

              SRC    - 10.0.0.8 - (fa:16:3e:ae:ab:12)

DST    - 10.0.0.4 - (fa:16:3e:14:a2:a7)

Port1 - 10.0.0.7 - (fa:16:3e:29:84:02)

Port2 - 10.0.0.6 - (fa:16:3e:93:4e:a9)



To enable SFC, the following commands have been successfully executed:


- openstack sfc port pair list

-openstack sfc port pair create --ingress port1 --egress port2
--service-function-parameters correlation=nsh PP1

              -openstack sfc port pair group create --port-pair PP1
PPG1

              -openstack sfc flow classifier create --ethertype IPv4
--source-ip-prefix 10.0.0.8/32 --destination-ip-prefix 10.0.0.4/32
--logical-source-port 7ee176cf-bfe2-4cd5-808c-f6882835c519 --protocol
tcp
--destination-port 12345:12345 FC1

-openstack sfc port chain create --port-pair-group PPG1 --flow-
classifier
FC1 --chain-parameters correlation=nsh SF1


However, after trying to communicate between SRC and DST (passing
through
SF1), nothing happens. And the following error appears in the
Openvswitch
log of the computing host:


2018-06-10T17:00:05.454Z|00012|dpif(handler10)|WARN|system at ovs-
system:
failed to put[create] (Invalid argument)
ufid:6f53d15f-fd55-4460-92d0-f5a698ab2fd1 recirc_id(0x4c),
dp_hash(0/0),
skb_priority(0/0), in_port(7), skb_mark(0/0), ct_state(0x21/0x30),
ct_zone(0x13ad/0), ct_mark(0x1/0), ct_label(0/0),
eth(src=fa:16:3e:ae:ab:12/00:00:00:00:00:00,dst=fa:16:3e:14:a2:a7),
eth_type(0x0800), ipv4(src=
10.0.0.8/0.0.0.0,dst=10.0.0.4/0.0.0.0,proto=6,tos=0/0,ttl=64/0,frag=no)
,
tcp(src=48982/0,dst=12345/0), tcp_flags(0/0),
actions:ct(commit,zone=5037,mark=0x1/0xffffffff)


The output of dmesg on the computing host is:

[ 4966.042532] openvswitch: netlink: Unexpected mask (mask=a201b8,
allowed=7bb05ac)


I ask for help to identify the possible error.

thankful

William Sales
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to