Bug 1806516

Summary: NM is not able to renew a DHCP lease if there is a failure sending a single packet
Product: Red Hat Enterprise Linux 8 Reporter: Beniamino Galvani <bgalvani>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: acardace, atragler, bgalvani, lrintel, rkhan, sukulkar, thaller, vbenes
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.22.8-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:54:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Beniamino Galvani 2020-02-24 12:32:08 UTC
Description of problem:
NM is not able to renew a DHCP lease if there is a failure sending a single packet

Version-Release number of selected component (if applicable):
1.22.8

How reproducible:
always

Steps to Reproduce:
1. simulate a failure sending DHCP unicast packets by adding the firewall rule 'iptables -A OUTPUT -p udp --dport 67 -j REJECT'
2. start a DHCP connection

Actual results:
NM is not able to renew the lease and the address expires.

Expected results:
NM keeps trying to send unicast packets; after 7/8 of the lease time
it switches to broadcast packets and successfully rebinds the lease
before the address expires.

Comment 5 Vladimir Benes 2020-02-26 13:08:45 UTC
test added:
dhcp_rebind_with_firewall

Comment 7 errata-xmlrpc 2020-04-28 16:54:14 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:1847