Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary IP of device lost if adding new IP to different interface #1523

Closed
herr-mhet opened this issue Mar 21, 2022 · 1 comment · Fixed by #1558
Closed

Primary IP of device lost if adding new IP to different interface #1523

herr-mhet opened this issue Mar 21, 2022 · 1 comment · Fixed by #1558
Assignees
Labels
type: bug Something isn't working as expected

Comments

@herr-mhet
Copy link

Environment

Python version: 3.9.2
Nautobot version: 1.2.9

Steps to Reproduce

  1. Add new device
  2. Add multiple (virtual) interfaces
  3. Add IP to one interface, set this as primary
  4. Add IP to another interface
  5. Observe that the device has lost its primary IP

Expected Behavior

Primary IP relationship is contained regardless of IP settings of other interfaces on the same device.

Observed Behavior

Device has lost the primary IP.

More environment information

I did migrate from netbox, so this might affect this problem (haven't checked on a clean install). Problem occurred on new devices, on new interfaces, on new IPs in new IP prefixes.

@glennmatthews glennmatthews added type: bug Something isn't working as expected status: accepted labels Mar 21, 2022
@glennmatthews
Copy link
Contributor

I suspect this is related to #1262 in some way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants