Skip to content

Conversation

@sebroy
Copy link
Contributor

@sebroy sebroy commented Feb 3, 2022

This PR addresses an issue that was introduced with the new version of systemd-networkd in Ubuntu 20.04, which is that when systemd-networkd stops (which happens when it restarts as part of applying an updated network configuration, for example), it releases its DHCP lease. A new lease is acquired when systemd-networkd starts again, but this leaves a window where the system has no IP address nor routes (those that were tied to the DHCP lease).

The fix is to configure systemd-networkd not to drop the lease on stop. A lease can be explicitly dropped by deleting a DHCP address (the only time when a lease should be dropped...).

This bug was responsible for the multitudes of dx-test failures documented in https://delphix.atlassian.net/browse/TOOL-12800, and there's a comment in that bug describing the RCA that lead to this bug fix.

ab-pre-push: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/695/

Copy link
Contributor

@sdimitro sdimitro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great RCA!!

@sebroy sebroy merged commit cfe52e4 into delphix:master Feb 3, 2022
sebroy pushed a commit to sebroy/delphix-platform that referenced this pull request Feb 4, 2022
sebroy added a commit that referenced this pull request Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants