Bug 1854476

Summary: dhcp renew periodically fails
Product: Red Hat Enterprise Linux 8 Reporter: Rik Theys <rik.theys>
Component: NetworkManagerAssignee: NetworkManager Development Team <nm-team>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: acardace, atragler, bgalvani, lrintel, rkhan, sukulkar, thaller, till
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.22.8-5.el8_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-07 17:10:40 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 Rik Theys 2020-07-07 14:17:58 UTC
Description of problem:
Every few days/weeks one of our servers loses network and the journal shows:

Jul 07 13:33:56 gold.esat.kuleuven.be NetworkManager[989]: <error> [1594121636.0006] dhcp4 (ens3): error -111 dispatching events
Jul 07 13:33:56 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594121636.0015] dhcp4 (ens3): state changed extended -> fail
Jul 07 13:33:56 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594121636.0019] device (ens3): DHCPv4: trying to acquire a new lease within 90 seconds
Jul 07 13:35:26 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594121726.1552] device (ens3): DHCPv4: grace period expired
Jul 07 14:34:08 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594125248.7449] agent-manager: agent[866756f0a2afecf7,:1.40116/nmcli-connect/0]: agent registered
Jul 07 14:34:08 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594125248.8192] device (ens3): state change: activated -> deactivating (reason 'new-activation', sys-iface-state: 'managed')
Jul 07 14:34:08 gold.esat.kuleuven.be NetworkManager[989]: <info>  [1594125248.8290] manager: NetworkManager state is now DISCONNECTING

Our interface has a static IPv6 address and uses DHCP for IPv4. Only the IPv4 address is lost.

It seems the fix from https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/c5d1d4c498c50dfc7d2d18b213a117dd1199f1de is missing?

https://bugzilla.redhat.com/show_bug.cgi?id=1829178 also looks similar.

Version-Release number of selected component (if applicable):
NetworkManager-1.22.8-4.el8.x86_64

How reproducible:

Seems to happen every few days since upgrade to 8.2. Never had this issue with 8.1

Steps to Reproduce:
1.
2.
3.

Actual results:

IPv4 address is removed from interface

Expected results:

IPv4 lease is extended.

Additional info:

Comment 1 Thomas Haller 2020-07-07 17:10:40 UTC
this is a duplicate of

https://bugzilla.redhat.com/show_bug.cgi?id=1843357

(which is a 8.2 z-stream update of the 8.3 bug https://bugzilla.redhat.com/show_bug.cgi?id=1841937).


A similar issue was on Fedora

  https://bugzilla.redhat.com/show_bug.cgi?id=1829178
  https://bugzilla.redhat.com/show_bug.cgi?id=1817788


Closing as duplicate.

Please update to the fixed package NetworkManager-1.22.8-5.el8_2

*** This bug has been marked as a duplicate of bug 1843357 ***

Comment 2 Thomas Haller 2020-07-07 17:11:45 UTC
(In reply to Rik Theys from comment #0)
> It seems the fix from
> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/
> c5d1d4c498c50dfc7d2d18b213a117dd1199f1de is missing?
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1829178 also looks similar.

yes, you are correct.