packet droped by tap service's qbr bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tap-as-a-service |
In Progress
|
Undecided
|
Unassigned |
Bug Description
steps to reproduce:
create 3 ports use the same vlan network as port_src, port_dst, port_target.
create 3 vms use those 3 ports as vm_src, vm_dst, vm_target.
vm_src on compute1, vm_dst and vm_target on compute2.
vm_src ping vm_dst OK
vm_src ping vm_target OK
vm_dst ping vm_target OK
create tap service use port port_target
create tap flow use port port_src
then vm_src ping vm_dst
expected result:
vm_src and vm_dst icmp packet was mirrored to vm_target
actual result:
vm_target tcpdump not show icmp packet
vm_target connect to qbr_vm_target, then use veth pair connect qbr_vm_target and br-int
tap_vm_
qbr_vm_target is linux bridge, learning mac then forward, it learn's vm_src and vm_dst macs on port qvb_vm_target, when mirrored packet reach qbr_vm_target from port qvb_vm_target, it drops packet.
I create the same setup and for me tcpdump sowed icmp. network- type vxlan --provider-segment 1000
I used vxlan network:
$ openstack network create tap_net --provider-
....
I have the 3 ports.
...
I have ubuntu16.04 for target vm, and cirros for dst and src.
ubuntu@vm-target:~$ sudo tcpdump -nni -vvv -i ens3 icmp
sudo: unable to resolve host vm-target: Connection timed out
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes
14:53:58.601256 IP 192.168.103.9 > 192.168.103.22: ICMP echo request, id 44289, seq 35, length 64
14:53:58.602412 IP 192.168.103.22 > 192.168.103.9: ICMP echo reply, id 44289, seq 35, length 64
14:53:59.173048 IP 192.168.103.22 > 192.168.103.9: ICMP echo request, id 45569, seq 39, length 64
14:53:59.173560 IP 192.168.103.9 > 192.168.103.22: ICMP echo reply, id 45569, seq 39, length 64
14:53:59.602423 IP 192.168.103.9 > 192.168.103.22: ICMP echo request, id 44289, seq 36, length 64
14:53:59.603810 IP 192.168.103.22 > 192.168.103.9: ICMP echo reply, id 44289, seq 36, length 64