Bug 1814127

Summary: [OVN2.11] OVN is not flooding multicast IP traffic when sent to a group in the 224.0.0.X range
Product: Red Hat Enterprise Linux Fast Datapath Reporter: ying xu <yinxu>
Component: ovn2.11Assignee: Dumitru Ceara <dceara>
Status: CLOSED ERRATA QA Contact: ying xu <yinxu>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 20.ACC: ctrautma, dceara, jishi, lmartins, mmichels, nusiddiq, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1803008 Environment:
Last Closed: 2020-05-26 14:07:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1803008    
Bug Blocks: 1807782    

Comment 5 ying xu 2020-04-21 03:03:00 UTC
case path:/networking/openvswitch/ovn/multicast
reproduced on version:
# rpm -qa|grep ovn
ovn2.11-host-2.11.1-37.el8fdp.x86_64
ovn2.11-2.11.1-37.el8fdp.x86_64
ovn2.11-central-2.11.1-37.el8fdp.x86_64

:: [ 23:06:46 ] :: [   PASS   ] :: Command 'ovn-nbctl set logical_switch ls other_config:mcast_flood_unregistered=false' (Expected 0, got 0)
:: [ 23:06:46 ] :: [   PASS   ] :: Command 'ovn-sbctl list ip_multicast' (Expected 0, got 0)
:: [ 23:06:46 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:07:05 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:07:05 ] :: [   PASS   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 0)
:: [ 23:07:07 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:07:30 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:07:31 ] :: [   FAIL   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 1)

verified on version:
# rpm -qa|grep ovn
ovn2.11-2.11.1-44.el7fdp.x86_64
ovn2.11-host-2.11.1-44.el7fdp.x86_64
ovn2.11-central-2.11.1-44.el7fdp.x86_64

:: [ 23:35:02 ] :: [   PASS   ] :: Command 'ovn-nbctl set logical_switch ls other_config:mcast_flood_unregistered=false' (Expected 0, got 0)
:: [ 23:35:02 ] :: [   PASS   ] :: Command 'ovn-sbctl list ip_multicast' (Expected 0, got 0)
:: [ 23:35:02 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:35:21 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:35:21 ] :: [   PASS   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 0)
:: [ 23:35:23 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:35:46 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:35:46 ] :: [   PASS   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 0)

# rpm -qa|grep ovn
ovn2.11-2.11.1-44.el8fdp.x86_64
ovn2.11-host-2.11.1-44.el8fdp.x86_64
ovn2.11-central-2.11.1-44.el8fdp.x86_64
:: [ 23:00:31 ] :: [   PASS   ] :: Command 'ovn-nbctl set logical_switch ls other_config:mcast_flood_unregistered=false' (Expected 0, got 0)
:: [ 23:00:32 ] :: [   PASS   ] :: Command 'ovn-sbctl list ip_multicast' (Expected 0, got 0)
:: [ 23:00:32 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:00:50 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:00:50 ] :: [   PASS   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 0)
:: [ 23:00:52 ] :: [   PASS   ] :: Command 'ip netns exec vm1 tcpdump -U -i any -w broadcast.pcap&' (Expected 0, got 0)
:: [ 23:01:16 ] :: [   PASS   ] :: Command 'ovn-sbctl list multicast_group' (Expected 0, got 0)
:: [ 23:01:16 ] :: [   PASS   ] :: Command 'tcpdump -r broadcast.pcap -vv -n|grep "42.42.42.2 > 224.0.0.5: ICMP echo request"' (Expected 0, got 0)

Comment 7 errata-xmlrpc 2020-05-26 14:07:41 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:2318