Bug 1772579 - [OVN] Pods can not receive multicast traffic
Summary: [OVN] Pods can not receive multicast traffic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.4.0
Assignee: Dumitru Ceara
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-14 16:41 UTC by Weibin Liang
Modified: 2020-05-04 11:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-04 11:15:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:16:06 UTC

Description Weibin Liang 2019-11-14 16:41:39 UTC
Description of problem:
Same multicast test case run in v4.3 SDN and OVN, pods can not receive multicast traffic in OVN

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-13-103541

How reproducible:
Always

Steps to Reproduce:
#### v4.3 SDN testing:
oc new-project multicast-test
oc annotate netnamespace multicast-test netnamespace.network.openshift.io/multicast-enabled="true"
[root@dhcp-41-193 FILE]# oc create -f https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/Features/Pod/three-test-pod.yaml
pod/test-pod-1 created
pod/test-pod-2 created
pod/test-pod-3 created
[root@dhcp-41-193 FILE]# oc get pod -o wide
NAME         READY   STATUS    RESTARTS   AGE     IP            NODE                                         NOMINATED NODE   READINESS GATES
test-pod-1   1/1     Running   0          2m49s   10.131.0.16   ip-10-0-156-182.us-east-2.compute.internal   <none>           <none>
test-pod-2   1/1     Running   0          2m49s   10.131.0.17   ip-10-0-156-182.us-east-2.compute.internal   <none>           <none>
test-pod-3   1/1     Running   0          2m49s   10.131.0.18   ip-10-0-156-182.us-east-2.compute.internal   <none>           <none>
[root@dhcp-41-193 FILE]# oc rsh test-pod-2
sh-4.2# omping -m 239.255.254.24 10.131.0.16 10.131.0.17 10.131.0.18
10.131.0.16 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.16 : joined (S,G) = (*, 239.255.254.24), pinging
10.131.0.16 :   unicast, seq=1, size=69 bytes, dist=0, time=0.120ms
10.131.0.16 : multicast, seq=1, size=69 bytes, dist=0, time=0.763ms
10.131.0.16 :   unicast, seq=2, size=69 bytes, dist=0, time=0.151ms
10.131.0.16 : multicast, seq=2, size=69 bytes, dist=0, time=0.426ms
10.131.0.18 : waiting for response msg
10.131.0.16 :   unicast, seq=3, size=69 bytes, dist=0, time=0.249ms
10.131.0.16 : multicast, seq=3, size=69 bytes, dist=0, time=0.537ms
10.131.0.16 :   unicast, seq=4, size=69 bytes, dist=0, time=0.154ms
10.131.0.16 : multicast, seq=4, size=69 bytes, dist=0, time=0.411ms
[root@dhcp-41-193 FILE]# oc rsh test-pod-1
sh-4.2# omping -m 239.255.254.24 10.131.0.16 10.131.0.17 10.131.0.18
10.131.0.17 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.17 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.17 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.17 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.17 : joined (S,G) = (*, 239.255.254.24), pinging
10.131.0.17 :   unicast, seq=1, size=69 bytes, dist=0, time=0.072ms
10.131.0.17 : multicast, seq=1, size=69 bytes, dist=0, time=0.396ms
10.131.0.18 : waiting for response msg
10.131.0.17 :   unicast, seq=2, size=69 bytes, dist=0, time=0.910ms
10.131.0.17 : multicast, seq=2, size=69 bytes, dist=0, time=1.264ms

[root@dhcp-41-193 FILE]# oc rsh test-pod-2
sh-4.2# netstat -ng
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
eth0            1      239.255.254.24
eth0            1      224.0.0.1
lo              1      ff02::1
lo              1      ff01::1
eth0            1      ff02::1:ff3e:495f
eth0            1      ff02::1
eth0            1      ff01::1
sh-4.2# ip maddress show
1:	lo
	inet  224.0.0.1
	inet6 ff02::1
	inet6 ff01::1
3:	eth0
	link  33:33:00:00:00:01
	link  01:00:5e:00:00:01
	link  33:33:ff:3e:49:5f
	link  01:00:5e:7f:fe:18
	inet  239.255.254.24
	inet  224.0.0.1
	inet6 ff02::1:ff3e:495f
	inet6 ff02::1
	inet6 ff01::1
sh-4.2# 
#### v4.3 OVN testing:
oc new-project multicast-test
oc annotate namespace multicast-test k8s.ovn.org/multicast-enabled=true
[root@dhcp-41-193 FILE]# oc create -f https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/Features/Pod/three-test-pod.yaml
pod/test-pod-1 created
pod/test-pod-2 created
pod/test-pod-3 created
[root@dhcp-41-193 FILE]# oc get pods -o wide
NAME         READY   STATUS    RESTARTS   AGE   IP            NODE                                        NOMINATED NODE   READINESS GATES
test-pod-1   1/1     Running   0          26s   10.130.0.11   ip-10-0-132-20.us-east-2.compute.internal   <none>           <none>
test-pod-2   1/1     Running   0          25s   10.131.0.17   ip-10-0-152-70.us-east-2.compute.internal   <none>           <none>
test-pod-3   1/1     Running   0          25s   10.131.0.18   ip-10-0-152-70.us-east-2.compute.internal   <none>           <none>
[root@dhcp-41-193 FILE]# oc rsh test-pod-2
sh-4.2# omping -m 239.255.254.24 10.130.0.11 10.131.0.17 10.131.0.18 
10.130.0.11 : waiting for response msg
10.131.0.18 : waiting for response msg
10.131.0.18 : joined (S,G) = (*, 239.255.254.24), pinging
10.131.0.18 :   unicast, seq=1, size=69 bytes, dist=0, time=0.151ms
10.130.0.11 : waiting for response msg
10.131.0.18 :   unicast, seq=2, size=69 bytes, dist=0, time=0.195ms
10.130.0.11 : waiting for response msg
10.131.0.18 :   unicast, seq=3, size=69 bytes, dist=0, time=0.683ms
10.130.0.11 : waiting for response msg
10.131.0.18 :   unicast, seq=4, size=69 bytes, dist=0, time=1.064ms
10.130.0.11 : waiting for response msg
10.131.0.18 :   unicast, seq=5, size=69 bytes, dist=0, time=0.159ms
10.130.0.11 : waiting for response msg
10.131.0.18 :   unicast, seq=6, size=69 bytes, dist=0, time=0.132ms
^C
10.130.0.11 : response message never received
10.131.0.18 :   unicast, xmt/rcv/%loss = 6/6/0%, min/avg/max/std-dev = 0.132/0.397/1.064/0.389
10.131.0.18 : multicast, xmt/rcv/%loss = 6/0/100%, min/avg/max/std-dev = 0.000/0.000/0.000/0.000
sh-4.2# 
[root@dhcp-41-193 ~]# oc rsh test-pod-3
sh-4.2# omping -m 239.255.254.24 10.130.0.11 10.131.0.17 10.131.0.18 
10.130.0.11 : waiting for response msg
10.131.0.17 : waiting for response msg
10.130.0.11 : waiting for response msg
10.131.0.17 : waiting for response msg
10.130.0.11 : waiting for response msg
10.131.0.17 : waiting for response msg
10.131.0.17 : joined (S,G) = (*, 239.255.254.24), pinging
10.131.0.17 :   unicast, seq=1, size=69 bytes, dist=0, time=0.384ms
10.131.0.17 :   unicast, seq=2, size=69 bytes, dist=0, time=0.141ms
10.130.0.11 : waiting for response msg
10.131.0.17 :   unicast, seq=3, size=69 bytes, dist=0, time=0.138ms
10.131.0.17 :   unicast, seq=4, size=69 bytes, dist=0, time=2.254ms
10.130.0.11 : waiting for response msg
10.131.0.17 :   unicast, seq=5, size=69 bytes, dist=0, time=0.144ms
10.130.0.11 : waiting for response msg
10.131.0.17 :   unicast, seq=6, size=69 bytes, dist=0, time=0.128ms
10.130.0.11 : waiting for response msg
10.131.0.17 : waiting for response msg
10.131.0.17 : server told us to stop
10.130.0.11 : waiting for response msg
^C
10.130.0.11 : response message never received
10.131.0.17 :   unicast, xmt/rcv/%loss = 6/6/0%, min/avg/max/std-dev = 0.128/0.531/2.254/0.850
10.131.0.17 : multicast, xmt/rcv/%loss = 6/0/100%, min/avg/max/std-dev = 0.000/0.000/0.000/0.000
sh-4.2# 
[root@dhcp-41-193 ~]# oc rsh test-pod-2
sh-4.2# netstat -ng
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
eth0            1      239.255.254.24
eth0            1      224.0.0.1
lo              1      ff02::1
lo              1      ff01::1
eth0            1      ff02::1:ff83:12
eth0            1      ff02::1
eth0            1      ff01::1
sh-4.2# ip maddress show
1:	lo
	inet  224.0.0.1
	inet6 ff02::1
	inet6 ff01::1
3:	eth0
	link  33:33:00:00:00:01
	link  01:00:5e:00:00:01
	link  33:33:ff:83:00:12
	link  01:00:5e:7f:fe:18
	inet  239.255.254.24
	inet  224.0.0.1
	inet6 ff02::1:ff83:12
	inet6 ff02::1
	inet6 ff01::1
sh-4.2#
Actual results:
10.131.0.17 : multicast, xmt/rcv/%loss = 6/0/100%, min/avg/max/std-dev = 0.000/0.000/0.000/0.000

Expected results:
10.131.0.17 : multicast, xmt/rcv/%loss = 6/0/100%, min/avg/max/std-dev = 0.302/0.626/1.962/0.512

Additional info:

Comment 6 Weibin Liang 2020-01-27 16:52:12 UTC
Tested and verified on 4.4.0-0.nightly-2020-01-24-141203

Comment 8 errata-xmlrpc 2020-05-04 11:15:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0581


Note You need to log in before you can comment on or make changes to this bug.