Description of problem: The "MLD Querier enabled with invalid IPv6 src address" log is incorrectly displayed in ovn-controller when IGMP and IGMP querier are enabled and an IPv4 source address is configured for the logical switch. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Configure a logical switch and bind one port to an OVN hv. 2. Enable mcast_snoop and mcast_querier on the logical switch. Also configure a valid source ethernet and IPv4 address for queries. Actual results: ovn-controller logs show: "MLD Querier enabled with invalid IPv6 src address". Expected results: Single stack IP multicast configuration is valid and no warning log should be generated. Additional info: Fixed upstream by: https://github.com/ovn-org/ovn/commit/d6d59911412edc20c40c026a1bb8c48ef01800fb
reproduced on # rpm -qa|grep ovn ovn2.13-host-2.13.0-39.el8fdp.x86_64 ovn2.13-2.13.0-39.el8fdp.x86_64 ovn2.13-central-2.13.0-39.el8fdp.x86_64 # ovn-sbctl list ip_multicast _uuid : 5b759662-998d-4828-9d89-9be982ffd0be datapath : 3e731af0-b41c-4737-a0bd-681ea009a3ea enabled : true eth_src : "00:00:00:00:00:05" idle_timeout : 60 ip4_src : "42.42.42.5" ip6_src : "" querier : true query_interval : 30 query_max_resp : 2 seq_no : 0 table_size : 2048 2020-09-30T04:05:20.706Z|00019|pinctrl|WARN|MLD Querier enabled with invalid IPv6 src address 2020-09-30T04:05:20.708Z|00020|pinctrl|WARN|MLD Querier enabled with invalid IPv6 src address # ovn-sbctl list ip_multicast _uuid : 5b759662-998d-4828-9d89-9be982ffd0be datapath : 3e731af0-b41c-4737-a0bd-681ea009a3ea enabled : true eth_src : "00:00:00:00:00:05" idle_timeout : 60 ip4_src : "" ip6_src : "fe80::1" querier : true query_interval : 30 query_max_resp : 2 seq_no : 0 table_size : 2048 2020-09-30T04:11:21.063Z|00035|pinctrl|WARN|IGMP Querier enabled with invalid IPv4 src address 2020-09-30T04:12:21.122Z|00036|pinctrl|WARN|Dropped 47 log messages in last 60 seconds (most recently, 5 seconds ago) due to excessive rate 2020-09-30T04:12:21.122Z|00037|pinctrl|WARN|IGMP Querier enabled with invalid IPv4 src address verified on version: # rpm -qa|grep ovn ovn2.13-20.09.0-1.el8fdp.x86_64 ovn2.13-host-20.09.0-1.el8fdp.x86_64 ovn2.13-central-20.09.0-1.el8fdp.x86_64 # ovn-nbctl show switch a12676a0-da96-44af-9809-b610f8f960e1 (ls) port vm2 addresses: ["00:00:00:00:00:02"] port vm3 addresses: ["00:00:00:00:00:03"] port vm1 addresses: ["00:00:00:00:00:01"] #ovn-nbctl set logical_switch ls other_config:mcast_query_interval=30 other_config:mcast_eth_src=00:00:00:00:00:05 other_config:mcast_ip6_src=fe80::1 other_config:mcast_idle_timeout=60 other_config:mcast_query_max_response=2 #ovn-nbctl set logical_switch ls other_config:mcast_querier=true other_config:mcast_snoop=true #ovn-sbctl list ip_multicast' _uuid : c077ef12-10ee-4dad-93c3-62d56a5bddb3 datapath : 42810a54-06b8-426d-bc65-6a0d163de77d enabled : true eth_src : "00:00:00:00:00:05" idle_timeout : 60 ip4_src : "" ip6_src : "fe80::1" querier : true query_interval : 30 query_max_resp : 2 seq_no : 0 table_size : 2048 #cat /var/log/ovn/ovn-controller.log|grep "IGMP Querier enabled with invalid IPv4 src address" ------------no warn only set ipv4_src: ovn-sbctl list ip_multicast' _uuid : aea23e29-f4fa-43f1-b51c-cd2b22ae0132 datapath : 08b9a068-1644-4fb4-a33c-8b64586189fc enabled : true eth_src : "00:00:00:00:00:05" idle_timeout : 60 ip4_src : "42.42.42.5" ip6_src : "" querier : true query_interval : 30 query_max_resp : 2 seq_no : 0 table_size : 2048 #cat /var/log/ovn/ovn-controller.log|grep "MLD Querier enabled with invalid IPv6 src address" ------------no warn
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 (ovn2.13 bug fix and enhancement update), 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:4356