Bug 1851788

Summary: [ovn2.13-rhel8]dnssl/rdnss/route_info doesn't take effect if send_periodic is false
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Jianlin Shi <jishi>
Component: ovn2.13Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 20.ECC: ctrautma, jishi, lorenzo.bianconi, mmichels, nusiddiq, ralongi
Target Milestone: ---   
Target Release: FDP 22.B   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ovn-2021-21.12.0-30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1804576 Environment:
Last Closed: 2022-03-30 16:28:33 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: 1804576    
Bug Blocks: 1804590, 1804595    

Comment 1 Gabriele Cerami 2020-06-29 12:51:37 UTC
Yep, sorry, the other options were mentioned too in the previous bug about router preference, but from the title and emphasis put on the description I assumed you needed only router preference addressed.

I'll start working on the other options shortly.

Comment 5 Jianlin Shi 2022-03-02 07:25:54 UTC
Verify on ovn-2021-21.12.0-30:

[root@dell-per740-42 bz1851788]# ip netns exec server0 ip link set veth0_s0 up && ip netns exec server0 tcpdump -i veth0_s0 -nnle -vvv
dropped privs to tcpdump
tcpdump: listening on veth0_s0, link-type EN10MB (Ethernet), capture size 262144 bytes
02:22:42.217454 00:00:00:01:01:02 > 33:33:00:00:00:02, ethertype IPv6 (0x86dd), length 70: (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::200:ff:fe01:102 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
          source link-address option (1), length 8 (1): 00:00:00:01:01:02
            0x0000:  0000 0001 0102
02:22:42.218208 00:00:00:00:00:01 > 00:00:00:01:01:02, ethertype IPv6 (0x86dd), length 198: (hlim 255, next-header ICMPv6 (58) payload length: 144) fe80::200:ff:fe00:1 > fe80::200:ff:fe01:102: [icmp6 sum ok] ICMP6, router advertisement, length 144
        hop limit 255, Flags [none], pref low, router lifetime 65535s, reachable time 0ms, retrans timer 0ms
          source link-address option (1), length 8 (1): 00:00:00:00:00:01
            0x0000:  0000 0000 0001
          rdnss option (25), length 24 (3):  lifetime 4294967295s, addr: aef0::11
            0x0000:  0000 ffff ffff aef0 0000 0000 0000 0000
            0x0010:  0000 0000 0011
          dnssl option (31), length 24 (3):  lifetime 4294967295s, domain(s): aa.bb.cc.
            0x0000:  0000 ffff ffff 0261 6102 6262 0263 6300
            0x0010:  0000 0000 0000
          route info option (24), length 16 (2):  aef1::/48, pref=high, lifetime=infinity
            0x0000:  3008 ffff ffff aef1 0000 0000 0000
          route info option (24), length 24 (3):  aef2::/96, pref=low, lifetime=infinity
            0x0000:  6018 ffff ffff aef2 0000 0000 0000 0000
            0x0010:  0000 0000 0000
          prefix info option (3), length 32 (4): aef0::/64, Flags [onlink, auto], valid time infinity, pref. time infinity
            0x0000:  40c0 ffff ffff ffff ffff 0000 0000 aef0
            0x0010:  0000 0000 0000 0000 0000 0000 0000

<=== route_info, rdnss and dnssl are contained in the RA

[root@dell-per740-42 bz1851788]# rpm -qa | grep -E "openvswitch2.15|ovn-2021"
ovn-2021-host-21.12.0-30.el8fdp.x86_64
ovn-2021-central-21.12.0-30.el8fdp.x86_64
openvswitch2.15-2.15.0-77.el8fdp.x86_64
ovn-2021-21.12.0-30.el8fdp.x86_64

Comment 6 Jianlin Shi 2022-03-03 06:14:31 UTC
also verified on rhel9:

[root@wsfd-advnetlab18 bz1851788]# ip netns exec server0 ip link set veth0_s0 up && ip netns exec server0 tcpdump -i veth0_s0 -nnle -vvv
dropped privs to tcpdump
tcpdump: listening on veth0_s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
01:13:11.840248 00:00:00:00:00:01 > 00:00:00:01:01:02, ethertype IPv6 (0x86dd), length 198: (hlim 255, next-header ICMPv6 (58) payload length: 144) fe80::200:ff:fe00:1 > fe80::200:ff:fe01:102: [icmp6 sum ok] ICMP6, router advertisement, length 144
        hop limit 255, Flags [none], pref low, router lifetime 65535s, reachable time 0ms, retrans timer 0ms
          source link-address option (1), length 8 (1): 00:00:00:00:00:01                             
            0x0000:  0000 0000 0001
          rdnss option (25), length 24 (3):  lifetime 4294967295s, addr: aef0::11                     
            0x0000:  0000 ffff ffff aef0 0000 0000 0000 0000                                          
            0x0010:  0000 0000 0011
          dnssl option (31), length 24 (3):  lifetime 4294967295s, domain(s): aa.bb.cc.               
            0x0000:  0000 ffff ffff 0261 6102 6262 0263 6300
            0x0010:  0000 0000 0000
          route info option (24), length 16 (2):  aef1::/48, pref=high, lifetime=infinity             
            0x0000:  3008 ffff ffff aef1 0000 0000 0000
          route info option (24), length 24 (3):  aef2::/96, pref=low, lifetime=infinity              
            0x0000:  6018 ffff ffff aef2 0000 0000 0000 0000                                          
            0x0010:  0000 0000 0000
          prefix info option (3), length 32 (4): aef0::/64, Flags [onlink, auto], valid time infinity, pref. time infinity
            0x0000:  40c0 ffff ffff ffff ffff 0000 0000 aef0
            0x0010:  0000 0000 0000 0000 0000 0000 0000

[root@wsfd-advnetlab18 bz1851788]# rpm -qa | grep -E "openvswitch2.15|ovn-2021"
ovn-2021-21.12.0-30.el9fdp.x86_64
openvswitch2.15-2.15.0-42.el9fdp.x86_64
ovn-2021-central-21.12.0-30.el9fdp.x86_64
ovn-2021-host-21.12.0-30.el9fdp.x86_64

Comment 8 errata-xmlrpc 2022-03-30 16:28:33 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 (ovn 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-2022:1144