Skip to content

Conversation

@meghansh-pf9
Copy link
Contributor

@meghansh-pf9 meghansh-pf9 commented Jan 6, 2026

Issue Description

On Ubuntu 16.04 VMs with multiple network interfaces, an interface configured without a static IP (i.e., no IP address assigned) would unexpectedly obtain a DHCP-assigned IP address after migration when using network persistence.

fix #1341

Change Introduced

In this PR, we have implemented a mechanism to prevent such interfaces from acquiring an IP address post-migration.

Testing Performed

  • Created an Ubuntu 16.04 VM with multiple network interfaces, including one intentionally configured without an IP address.
  • Performed a migration with network persistence enabled.
  • Verified that the interface without a pre-configured IP no longer receives a DHCP-assigned IP after migration.

Signed-off-by: Meghansh Tyagi <meghansh@platform9.com>
@meghansh-pf9 meghansh-pf9 marked this pull request as ready for review January 6, 2026 09:52
@meghansh-pf9 meghansh-pf9 enabled auto-merge (squash) January 6, 2026 09:52
Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

💡 To request another review, post a new comment with "/windsurf-review".

@meghansh-pf9 meghansh-pf9 merged commit 2b030d7 into main Jan 6, 2026
12 checks passed
@meghansh-pf9 meghansh-pf9 deleted the network-persistence-patch branch January 6, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ubuntu 16.04 VMs: Empty network interfaces unexpectedly acquire DHCP IP after migration with network persistence

3 participants