Bug 2160474 - ovn ignores igmp v2 join request
Summary: ovn ignores igmp v2 join request
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.03
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Dumitru Ceara
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-12 14:37 UTC by Haresh Khandelwal
Modified: 2023-01-16 12:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-16 12:46:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2600 0 None None None 2023-01-12 14:40:39 UTC

Description Haresh Khandelwal 2023-01-12 14:37:33 UTC
Description of problem:

Receiver sends igmpv2 join request but ovn does not register it. This leads igmpv2 based mutlicast useless. 

[root@testpmd-dpdk-dut ~]# cat /proc/sys/net/ipv4/conf/eth0/force_igmp_version 
3
[root@testpmd-dpdk-dut ~]# ip addr add 224.1.1.1/32 dev eth0 autojoin

[root@controller-0 /]# ovn-sbctl list IGMP_group
_uuid               : 2b5e92ad-d08d-48c5-afdb-036c69b172f5
address             : "224.1.1.1"
chassis             : 29767457-b129-4cf2-9d55-386211dd3a3a
datapath            : a81e6ee5-333f-4aad-b54e-3fe98e333d0e
ports               : [c9ab803f-b6a7-4eb7-8103-ee2326542170]
[root@controller-0 /]# 

Same does not work when force_igmp_version set to 2 which forces to send v2 join.

Version-Release number of selected component (if applicable):
ovn22.03-22.03.0

How reproducible:
Always

Steps to Reproduce:
1. See description
2.
3.

Actual results:
IGMPv2 join is not registered

Expected results:
IGMPv2 join should be registered

Additional info:

Comment 1 Dumitru Ceara 2023-01-13 13:29:34 UTC
Can you please share the NB and the OVS database from the node where you're sending the igmp v2 report?

A quick test with upstream OVN:

$ ip netns exec vm2 cat /proc/sys/net/ipv4/conf/vm2/force_igmp_version 
2

$ ip netns exec vm2 ip addr add 224.1.1.1/32 dev vm2 autojoin

This generates a v2 report:

14:28:52.192785 00:00:00:00:00:02 > 01:00:5e:01:01:01, ethertype IPv4 (0x0800), length 46: (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 32, options (RA))                                                            
    42.42.42.3 > 224.1.1.1: igmp v2 report 224.1.1.1

And OVN learns it:
$ ovn-sbctl find igmp address=224.1.1.1
_uuid               : 6fa08a61-5f96-407a-8f98-fb794fc6505d
address             : "224.1.1.1"
chassis             : 6f2a8feb-e54f-41ca-a531-f722acc915de
datapath            : 57ea9e95-8e89-4c54-ac00-fd89f6810e2a
ports               : [8277afcb-a132-474a-9309-06ccd137b488]


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