Bug 1784508

Summary: NetworkManager system loses IP address after lease time (24 hrs) expires
Product: Red Hat Enterprise Linux 8 Reporter: Tom Tracy <ttracy>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.2CC: atragler, bgalvani, carl, darcari, fpokryvk, frival, jkachuck, ldoktor, lrintel, pablo, pasik, perfbz, rkhan, sukulkar, thaller, vbenes
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: NetworkManager-1.22.8-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:53:59 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:
Attachments:
Description Flags
Reproducer script
none
tcpdump.log.bz2 none

Description Tom Tracy 2019-12-17 15:48:56 UTC
Description of problem:

NetworkManager-1.22.0-0.2.el8.x86_64 system loses it's IPV4 Address after the lease time expires. 

Also not after to ping other systems or NFS mount volumes after system reboot. Takes as long as 10 minutes to reach remote hosts. Logging in is not an issue 


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

NetworkManager-1.22.0-0.2.el8.x86_64

How reproducible:

After every reboot 


Steps to Reproduce:
1. Boot Machine
2. Test workload and let system stay up for 24 hrs
3. After 24 hours, systems loses it IP Address and need to access console to restart network

Actual results:

Can not log in

Expected results:

Network should stay up for longer periods 

Additional info:

Do not see this issue with NetworkManager-1.22.0-0.1.el8.x86_64 with either losing IP address or mount NFS Volumes after reboot

Here is the message from journalctl where there is a failure
Dec 17 10:34:24 perf2.perf.lab.eng.bos.redhat.com NetworkManager[1851]: <info>  [1576596864.7568] dhcp4 (eno3): state changed bound -> expire
Dec 17 10:34:24 perf2.perf.lab.eng.bos.redhat.com NetworkManager[1851]: <info>  [1576596864.9608] device (eno3): DHCPv4: 480 seconds grace period started

Comment 1 Beniamino Galvani 2019-12-20 10:53:31 UTC
Created attachment 1646789 [details]
Reproducer script

Comment 2 Beniamino Galvani 2019-12-20 13:44:46 UTC
Upstream merge request:

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/368

Comment 3 Pablo Greco 2020-03-31 14:56:48 UTC
I was also seeing this problem, and I can't replicate it anymore after updating to 1.22.8-4.el8

Comment 4 Thomas Haller 2020-03-31 15:17:20 UTC
for rhel-8.2, we will change the implementation of the default DHCP plugin.
From a systemd based DHCP client to a nettools based one.

Initially there were some issues, I believe these are all fixed in recent rhel-8.2 builds.


If you have new DHCP related issues with a recent rhel-8.2 build, please open a new bug. It very likely has different underlying causes.

Comment 8 errata-xmlrpc 2020-04-28 16:53:59 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

Comment 11 Joseph Kachuck 2020-05-18 19:11:42 UTC
Created attachment 1689672 [details]
tcpdump.log.bz2