openvswitch port mirroring only mirrors egress traffic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Liberty |
Triaged
|
Medium
|
Unassigned | ||
openvswitch |
New
|
Undecided
|
Unassigned |
Bug Description
with a liberty openstack installation (openvswitch 2.4.1-0ubuntu0.
ubuntu@
ubuntu@
7e9e725f-
ubuntu@
_uuid : 7e9e725f-
external_ids : {}
name : "mirror3"
output_port : a0e92620-
output_vlan : []
select_all : false
select_dst_port : [cafc190f-
select_src_port : [cafc190f-
select_vlan : []
statistics : {}
ubuntu@
PING 10.5.150.3 (10.5.150.3) 56(84) bytes of data.
64 bytes from 10.5.150.3: icmp_seq=1 ttl=63 time=4.26 ms
--- 10.5.150.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.268/4.
on vm 1 both directions appear, as expected:
17:16:13.093469 IP 10.5.2.1 > 192.168.21.7: ICMP echo request, id 9031, seq 1, length 64
17:16:13.094792 IP 192.168.21.7 > 10.5.2.1: ICMP echo reply, id 9031, seq 1, length 64
on vm 2 only outgoing traffic is mirrored:
17:16:13.095066 IP 192.168.21.7 > 10.5.2.1: ICMP echo reply, id 9031, seq 1, length 64
-------
[Impact]
This patch addresses an issue where no ingress traffic mirrored on the openvswitch
mirroring output port.
[Test Case]
Deploy an OpenStack cloud w/ trusty-liberty, spawed two vms into the same compute host, configuring ovs mirror with this two vms' interface, tcpdump on the output mirroring interface.
[Regression Potential]
None.
description: | updated |
Changed in cloud-archive: | |
status: | New → Fix Released |
The problem appears to be fixed in the Mitaka release. There are numerous openvswitch mirroring changes between Liberty and Mitaka.