Primary IP Assignment isn't removed when the IP address itself is removed from a VM interface #1976

Closed
opened 2025-12-29 17:21:04 +01:00 by adam · 4 comments
Owner

Originally created by @hensoko on GitHub (Aug 29, 2018).

Environment

  • Python version: 3.5.4
  • NetBox version: 2.4.3

Steps to Reproduce

  • Create a VM
  • Assign IP address
  • Set IP as primary
  • Remove IP address from VM

Expected Behavior

  • The IP address is updated and the primary assignment was removed

Observed Behavior

  • The IP address is still configured as primary ip address

See https://github.com/digitalocean/netbox/issues/2342#issuecomment-412362156

Originally created by @hensoko on GitHub (Aug 29, 2018). ### Environment * Python version: 3.5.4 * NetBox version: 2.4.3 ### Steps to Reproduce * Create a VM * Assign IP address * Set IP as primary * Remove IP address from VM ### Expected Behavior * The IP address is updated and the primary assignment was removed ### Observed Behavior * The IP address is still configured as primary ip address See https://github.com/digitalocean/netbox/issues/2342#issuecomment-412362156
adam closed this issue 2025-12-29 17:21:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 5, 2018):

I'm not able to replicate this in v2.4.4. Please upgrade and try again.

@jeremystretch commented on GitHub (Sep 5, 2018): I'm not able to replicate this in v2.4.4. Please upgrade and try again.
Author
Owner

@mabazyar commented on GitHub (Sep 10, 2018):

The happens here on v2.4.4

@mabazyar commented on GitHub (Sep 10, 2018): The happens here on v2.4.4
Author
Owner

@jeremystretch commented on GitHub (Sep 13, 2018):

The happens here on v2.4.4

This isn't helpful. Please provide the exact steps you're taking to reproduce the issue.

@jeremystretch commented on GitHub (Sep 13, 2018): > The happens here on v2.4.4 This isn't helpful. Please provide the exact steps you're taking to reproduce the issue.
Author
Owner

@hensoko commented on GitHub (Sep 21, 2018):

@jeremystretch Seems to be fixed with v2.4.4. Sorry for the inconvinience.

@hensoko commented on GitHub (Sep 21, 2018): @jeremystretch Seems to be fixed with v2.4.4. Sorry for the inconvinience.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1976