I deployed the recent canonical neutron-openvswitch charm that enables dpdk
with openvswitch as part of a test openstack setup.Bridges and ports are
configured properly and i am able deploy VM. Unfortunately I am not able to
learn macs or receive packets from the vhostuser ports. Packets are received
on the external and integration bridges (br-ex1 and br-int).I suspect this
might be something simple that i am missing. Any idea on how to fix this issue.
ovs-vsctl show------------------3ad0b03f-1426-419b-a465-ae6ceca1c1a2 Bridge
br-int fail_mode: secure Port "vhu09f0ad79-de" tag: 1
Interface "vhu09f0ad79-de" type: dpdkvhostuser
Port patch-tun Interface patch-tun type: patch
options: {peer=patch-int} Port br-int Interface
br-int type: internal Port "int-br-ex1"
Interface "int-br-ex1" type: patch options:
{peer="phy-br-ex1"} Port "vhu86908470-5a" tag: 1
Interface "vhu86908470-5a" type: dpdkvhostuser Port
"int-br-ex2" Interface "int-br-ex2" type: patch
options: {peer="phy-br-ex2"} Port "vhu9a37c5e4-12"
tag: 2 Interface "vhu9a37c5e4-12" type: dpdkvhostuser
Port "vhub44d0f6c-ff" tag: 2 Interface
"vhub44d0f6c-ff" type: dpdkvhostuser Bridge br-tun
fail_mode: secure Port br-tun Interface br-tun
type: internal Port patch-int Interface patch-int
type: patch options: {peer=patch-tun} Bridge "br-ex1"
Port "phy-br-ex1" Interface "phy-br-ex1" type:
patch options: {peer="int-br-ex1"} Port "dpdk1"
Interface "dpdk1" type: dpdk Port "br-ex1"
Interface "br-ex1" type: internal Bridge "br-ex2" Port
"br-ex2" Interface "br-ex2" type: internal
Port "dpdk0" Interface "dpdk0" type: dpdk Port
"phy-br-ex2" Interface "phy-br-ex2" type: patch
options: {peer="int-br-ex2"} Bridge br-ex Port br-ex
Interface br-ex type: internal ovs_version: "2.5.0"
oot@compute01:/home/ubuntu# ovs-appctl fdb/show br-ex1 port VLAN MAC
Age 2 100 52:54:00:df:cf:88 298 2 100 88:43:e1:b9:82:81 282
2 100 00:15:62:f3:45:88 247 2 100 00:15:62:95:5e:c8 243 2
100 74:a2:e6:38:88:70 241 2 16 a0:ec:f9:39:15:8e 239 2 100
00:19:aa:e8:1b:90 222 2 100 00:13:c3:44:5e:58 182 2 100
52:54:00:84:a7:37 170 2 31 e0:2f:6d:bb:84:38 165 2 100
84:b2:61:0d:a5:bf 162 2 100 1c:df:0f:98:c0:61 157 2 100
00:1a:2f:e7:25:40 151 2 100 00:1a:6c:46:5b:30 146 2 27
f4:4e:05:9f:04:30 135 2 100 a0:ec:f9:1f:2b:41 103 2 100
74:26:ac:70:6e:bf 102 2 100 74:26:ac:70:6e:2f 102 2 100
52:54:00:fa:41:40 81 2 100 00:21:d8:cc:ad:40 27 2 100
52:54:00:73:07:ae 17 2 100 e4:c7:22:d3:de:c0 9 2 100
bc:16:65:c7:79:80 8 2 100 00:1b:d4:1b:c7:f8 6 2 18
c4:71:fe:b9:b2:3f 3 <--- mac address of gateway router sending an arp
request for a guest VM 2 100 84:78:ac:ae:a7:0f 3 2 100
00:00:0c:07:ac:01 2 2 0 b0:aa:77:61:25:52 1 2 0
b0:aa:77:96:0a:39 1 2 0 b0:aa:77:96:0a:3a 1 2 100
7c:ad:74:2a:78:80 1 2 0 b0:aa:77:61:25:53 1 2 100
54:78:1a:61:10:f5 1 2 0 b0:aa:77:61:26:0f 0 2 0
b0:aa:77:61:26:0e 0
root@compute01:/home/ubuntu# ovs-appctl fdb/show br-int port VLAN MAC
Age 2 1 c4:71:fe:b9:b2:3f 14 <-- arp request received from
br-ex1. root@compute01:/home/ubuntu#
netdev@ovs-netdev: lookups: hit:20211 missed:486 lost:0 flows: 29 port 8:
vhub44d0f6c-ff (dpdkvhostuser: configured_rx_queues=1, configured_tx_queues=1,
requested_tx_queues=41) port 10: br-ex1 (tap) port 0: ovs-netdev (internal)
port 11: br-ex (tap) port 7: br-int (tap) port 2: dpdk0 (dpdk:
configured_rx_queues=1, configured_tx_queues=1, requested_tx_queues=41) port 3:
br-tun (tap) port 9: dpdk1 (dpdk: configured_rx_queues=1,
configured_tx_queues=1, requested_tx_queues=41) port 4: vhu9a37c5e4-12
(dpdkvhostuser: configured_rx_queues=1, configured_tx_queues=1,
requested_tx_queues=41) port 5: vhu86908470-5a (dpdkvhostuser:
configured_rx_queues=1, configured_tx_queues=1, requested_tx_queues=41) port 6:
vhu09f0ad79-de (dpdkvhostuser: configured_rx_queues=1, configured_tx_queues=1,
requested_tx_queues=41) port 1: br-ex2 (tap)system@ovs-system: lookups: hit:0
missed:0 lost:0 flows: 0 masks: hit:0 total:1 hit/pkt:0.00 port 0: ovs-system
(internal)
ThanksChigozie
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss