The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1826686 - renew message should be sent after renew time
Summary: renew message should be sent after renew time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.13
Version: FDP 20.D
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: lorenzo bianconi
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-22 10:36 UTC by Jianlin Shi
Modified: 2021-07-20 05:31 UTC (History)
4 users (show)

Fixed In Version: ovn2.13-20.09.0-5.el7fdn
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-01 15:07:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5308 0 None None None 2020-12-01 15:07:50 UTC

Description Jianlin Shi 2020-04-22 10:36:54 UTC
Description of problem:
as described in https://tools.ietf.org/html/rfc3633#section-12.1, renew message should be sent after renew time

Version-Release number of selected component (if applicable):
ovn2.13.0-18

How reproducible:
Always

Steps to Reproduce:
1. setup prefix delegation as described in https://bugzilla.redhat.com/show_bug.cgi?id=1826683#c0
2. wait T1 and capture packets on veth0_s0

Actual results:

[root@dell-per740-42 ipv6_pd]# ip netns exec server0 tcpdump -i veth0_s0 -nnle -v                     
tcpdump: listening on veth0_s0, link-type EN10MB (Ethernet), capture size 262144 bytes                
06:32:00.494196 00:00:00:00:00:01 > 33:33:00:01:00:02, ethertype IPv6 (0x86dd), length 96: (hlim 255, next-header UDP (17) payload length: 42) fe80::200:ff:fe00:1.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=0 (client-ID hwaddr type 1 000000000001) (IA_PD IAID:8851 T1:4294967295 T2:4294967295))   
06:32:01.631477 00:00:00:00:00:01 > 33:33:00:01:00:02, ethertype IPv6 (0x86dd), length 96: (hlim 255, next-header UDP (17) payload length: 42) fe80::200:ff:fe00:1.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=0 (client-ID hwaddr type 1 000000000001) (IA_PD IAID:13542 T1:4294967295 T2:4294967295))  
06:32:02.587164 f2:07:30:65:44:92 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 90: (hlim 1, next-header Options (0) payload length: 36) fe80::f007:30ff:fe65:4492 > ff02::16: HBH (rtalert: 0x0000)
(padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:2 to_ex, 0 source(s)]
06:32:03.180184 f2:07:30:65:44:92 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 90: (hlim 1, next-header Options (0) payload length: 36) fe80::f007:30ff:fe65:4492 > ff02::16: HBH (rtalert: 0x0000)
(padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:2 to_ex, 0 source(s)]
06:32:03.534550 00:00:00:00:00:01 > 33:33:00:01:00:02, ethertype IPv6 (0x86dd), length 96: (hlim 255, next-header UDP (17) payload length: 42) fe80::200:ff:fe00:1.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=0 (client-ID hwaddr type 1 000000000001) (IA_PD IAID:43477 T1:4294967295 T2:4294967295))  
06:32:03.535065 f2:07:30:65:44:92 > 33:33:ff:00:00:01, ethertype IPv6 (0x86dd), length 86: (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::f007:30ff:fe65:4492 > ff02::1:ff00:1: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::200:ff:fe00:1                                 
          source link-address option (1), length 8 (1): f2:07:30:65:44:92                             
06:32:03.536109 00:00:00:00:00:01 > f2:07:30:65:44:92, ethertype IPv6 (0x86dd), length 86: (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::200:ff:fe00:1 > fe80::f007:30ff:fe65:4492: [icmp6 sum ok] ICMP6, neighbor advertisement, length 32, tgt is fe80::200:ff:fe00:1, Flags [router, solicited, override]
          destination link-address option (2), length 8 (1): 00:00:00:00:00:01                        
06:32:03.536132 f2:07:30:65:44:92 > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 176: (flowlabel 0x0777e, hlim 64, next-header UDP (17) payload length: 122) fe80::f007:30ff:fe65:4492.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0x628d -> 0xdb79!] dhcp6 advertise (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID
hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001) (preference 0))
06:32:03.536842 00:00:00:00:00:01 > f2:07:30:65:44:92, ethertype IPv6 (0x86dd), length 143: (hlim 255, next-header UDP (17) payload length: 89) fe80::200:ff:fe00:1.546 > fe80::f007:30ff:fe65:4492.547: [udp sum ok] dhcp6 request (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200)) (server-ID hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001))                                                                               
06:32:03.537309 f2:07:30:65:44:92 > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 176: (flowlabel 0x0777e, hlim 64, next-header UDP (17) payload length: 122) fe80::f007:30ff:fe65:4492.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0x628d -> 0xd679!] dhcp6 reply (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001) (preference 0))    
                                                                                                      




06:32:15.947658 00:00:00:00:00:01 > 33:33:00:01:00:02, ethertype IPv6 (0x86dd), length 125: (hlim 255, next-header UDP (17) payload length: 71) fe80::200:ff:fe00:1.546 > ff02::1:2.547: [udp sum ok] dhcp6
solicit (xid=0 (client-ID hwaddr type 1 000000000001) (IA_PD IAID:43477 T1:4294967295 T2:4294967295 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:4294967295 vltime:4294967295)))

<==== still send solicit after T1

06:32:15.948016 f2:07:30:65:44:92 > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 195: (flowlabel 0x0777e, hlim 64, next-header UDP (17) payload length: 141) fe80::f007:30ff:fe65:4492.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0x62a0 -> 0xa390!] dhcp6 advertise (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID
hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001) (preference 0))
06:32:15.948763 00:00:00:00:00:01 > f2:07:30:65:44:92, ethertype IPv6 (0x86dd), length 143: (hlim 255, next-header UDP (17) payload length: 89) fe80::200:ff:fe00:1.546 > fe80::f007:30ff:fe65:4492.547: [udp sum ok] dhcp6 request (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200)) (server-ID hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001))
06:32:15.949384 f2:07:30:65:44:92 > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 176: (flowlabel 0x0777e, hlim 64, next-header UDP (17) payload length: 122) fe80::f007:30ff:fe65:4492.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0x628d -> 0xd679!] dhcp6 reply (xid=0 (IA_PD IAID:43477 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::864c:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID hwaddr/time type 1 time 640779307 fed16dedd8f8) (client-ID hwaddr type 1 000000000001) (preference 0))

Expected results:
should send renew after T1

Additional info:

Comment 3 Jianlin Shi 2020-11-09 01:50:12 UTC
Verified on ovn20.09.0-10:

20:46:57.881054 00:00:00:00:00:01 > e6:38:61:70:b1:9c, ethertype IPv6 (0x86dd), length 143: (hlim 255, next-header UDP (17) payload length: 89) fe80::200:ff:fe00:1.546 > fe80::e438:61ff:fe70:b19c.547: [udp sum ok] dhcp6 renew (xid=0 (client-ID hwaddr type 1 000000000002) (server-ID hwaddr/time type 1 time 658201053 0e4d1d36c8db) (IA_PD IAID:39634 T1:4294967295 T2:4294967295 (IA_PD-prefix 2001:1db8:3333::3ca1:0:0/96 pltime:4294967295 vltime:4294967295)))

<=== renew message is sent

20:46:57.881544 e6:38:61:70:b1:9c > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 173: (hlim 64, next-header UDP (17) payload length: 119) fe80::e438:61ff:fe70:b19c.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0xf4d0 -> 0x183f!] dhcp6 reply (xid=0 (IA_PD IAID:39634 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::3ca1:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID hwaddr/time type 1 time 658201053 0e4d1d36c8db) (client-ID hwaddr type 1 000000000002) (preference 0))

[root@dell-per740-12 bz1826686]# rpm -qa | grep -E "openvswitch|ovn"
openvswitch2.13-2.13.0-59.el7fdp.x86_64
ovn2.13-20.09.0-10.el7fdp.x86_64
openvswitch-selinux-extra-policy-1.0-15.el7fdp.noarch
ovn2.13-host-20.09.0-10.el7fdp.x86_64
ovn2.13-central-20.09.0-10.el7fdp.x86_64

Comment 4 Jianlin Shi 2020-11-09 02:01:46 UTC
Verified on rhel8 version:

21:00:29.993874 00:00:00:00:00:01 > d6:82:68:16:de:ab, ethertype IPv6 (0x86dd), length 143: (hlim 255, next-header UDP (17) payload length: 89) fe80::200:ff:fe00:1.546 > fe80::d482:68ff:fe16:deab.547: [udp sum ok] dhcp6 renew (xid=0 (client-ID hwaddr type 1 000000000001) (server-ID hwaddr/time type 1 time 658202290 eac27ade21ec) (IA_PD IAID:26573 T1:4294967295 T2:4294967295 (IA_PD-prefix 2001:1db8:3333::4827:0:0/96 pltime:4294967295 vltime:4294967295)))

<== renew message is sent

21:00:29.994220 d6:82:68:16:de:ab > 00:00:00:00:00:01, ethertype IPv6 (0x86dd), length 173: (flowlabel 0xc343c, hlim 64, next-header UDP (17) payload length: 119) fe80::d482:68ff:fe16:deab.547 > fe80::200:ff:fe00:1.546: [bad udp cksum 0x18d0 -> 0x0937!] dhcp6 reply (xid=0 (IA_PD IAID:26573 T1:10 T2:15 (IA_PD-prefix 2001:1db8:3333::4827:0:0/96 pltime:3600 vltime:7200) (status-code Success)) (server-ID hwaddr/time type 1 time 658202290 eac27ade21ec) (client-ID hwaddr type 1 000000000001) (preference 0))

[root@dell-per740-42 bz1826686]# rpm -qa | grep -E "openvswitch|ovn"                                  
ovn2.13-20.09.0-10.el8fdp.x86_64                                                                      
ovn2.13-central-20.09.0-10.el8fdp.x86_64                                                              
openvswitch2.13-2.13.0-67.el8fdp.x86_64                                                               
ovn2.13-host-20.09.0-10.el8fdp.x86_64                                                                 
openvswitch-selinux-extra-policy-1.0-23.el8fdp.noarch

Comment 6 errata-xmlrpc 2020-12-01 15:07:02 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 (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:5308


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