The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1801734 - [RFE][OVN] OVN DHCP Server ignores DHCPINFORM messages from client
Summary: [RFE][OVN] OVN DHCP Server ignores DHCPINFORM messages from client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.11
Version: RHEL 8.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Numan Siddique
QA Contact: ying xu
URL:
Whiteboard:
Depends On: 1801258
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-11 14:53 UTC by Jakub Libosvar
Modified: 2020-08-18 11:23 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1801258
Environment:
Last Closed: 2020-08-18 11:23:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3487 0 None None None 2020-08-18 11:23:38 UTC

Description Jakub Libosvar 2020-02-11 14:53:32 UTC
+++ This bug was initially created as a clone of Bug #1801258 +++

Description of problem:

OVN DHCP server doesn't process DHCPINFORM packages from clients and silently drops them.

P.S. Couldn't find OVN component for RHOSP.

Comment 5 ying xu 2020-07-15 02:40:02 UTC
verified on the latest version:
# rpm -qa|grep ovn
ovn2.11-2.11.1-53.el8fdp.x86_64
ovn2.11-host-2.11.1-53.el8fdp.x86_64
ovn2.11-central-2.11.1-53.el8fdp.x86_64
topo:
vm1-------ls-----------vm2

send inform packet:
sendp(Ether(src="00:00:00:00:00:02", dst="00:de:ad:ff:01:02")/IP(src='42.42.42.3',dst='42.42.42.254')/UDP(sport=68,dport=67)/BOOTP(ciaddr='42.42.42.3',chaddr=hw,xid=random.randint(0, 0xFFFFFFFF),)/DHCP(options=[("message-type","inform"),"end"]),iface="vm2")

cat /var/log/ovn/ovn-controller.log|grep DHCPINFORM'
2020-07-14T07:59:29.949Z|00010|pinctrl(ovn_pinctrl0)|INFO|DHCPINFORM from 00:00:00:00:00:01 42.42.42.2
2020-07-14T08:00:00.189Z|00012|pinctrl(ovn_pinctrl0)|INFO|DHCPINFORM from 00:00:00:00:00:01 42.42.42.2

# tcpdump -r dhcp.pcap -nn -v
reading from file dhcp.pcap, link-type EN10MB (Ethernet)
22:03:15.310978 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::200:ff:fe00:2 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
	  source link-address option (1), length 8 (1): 00:00:00:00:00:02
22:03:19.687679 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 272)
    42.42.42.3.68 > 42.42.42.254.67: BOOTP/DHCP, Request from 00:00:00:00:00:02, length 244, xid 0x6d00363e, Flags [none]
	  Client-IP 42.42.42.3
	  Client-Ethernet-Address 00:00:00:00:00:02
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: Inform
22:03:19.689269 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 292)
    42.42.42.254.67 > 42.42.42.3.68: BOOTP/DHCP, Reply, length 264, xid 0x6d00363e, Flags [none]
	  Client-IP 42.42.42.3
	  Client-Ethernet-Address 00:00:00:00:00:02
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: ACK
	    Default-Gateway Option 3, length 4: 42.42.42.254
	    Server-ID Option 54, length 4: 42.42.42.254

send release packet:
sendp(Ether(src="00:00:00:00:00:01", dst="00:de:ad:ff:01:02")/IP(src='42.42.42.2',dst='42.42.42.254')/UDP(sport=68,dport=67)/BOOTP(ciaddr='42.42.42.2',chaddr=hw,xid=random.randint(0, 0xFFFFFFFF),)/DHCP(options=[("message-type","release"),("server_id",'42.42.42.254'),("client_id",chr(1),hw),"end"]),iface="vm1")

#cat /var/log/ovn/ovn-controller.log|grep DHCPRELEASE'
2020-07-15T02:38:50.397Z|00008|pinctrl(ovn_pinctrl0)|INFO|DHCPRELEASE 00:00:00:00:00:01 42.42.42.2

Comment 7 errata-xmlrpc 2020-08-18 11:23:25 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.11 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:3487


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