Skip to content

Changing already-assigned IP Address to FHRP group silently ignores change #8102

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

Closed
candlerb opened this issue Dec 17, 2021 · 0 comments
Closed
Assignees
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@candlerb
Copy link
Contributor

NetBox version

v3.1.1

Python version

3.8

Steps to Reproduce

  1. Create an IP address; assign it to an interface
  2. Create an FHRP group
  3. Navigate to the original IP address and click Edit (i.e. go to /ipam/ip-addresses/NN/edit/)
  4. Under "Interface Assignment", notice that it's currently assigned to a device+interface
  5. Click on the "FHRP Group" tab
  6. Select the FHRP group created in step 2 above
  7. Click Save

Expected Behavior

The IP address should now be assigned to the FHRP group, instead of the interface

Observed Behavior

A green box pops up saying that the address was updated; but it is still assigned to the interface, not the FHRP group.

Workaround: When you go to the "Interface Assignment" tab, under "Device" click the (X) next to the device name and interface name to remove them, then go to the "FHRP Group" tab, then select the FHRP group.

I think what's probably happening is that the form is submitted with both device/interface and FHRP group selected, and the server silently takes just the device/interface. If so: when you make a selection under "FHRP Group" (or indeed any other tab), it should automatically deselect anything in the other tabs.

@candlerb candlerb added the type: bug A confirmed report of unexpected behavior in the application label Dec 17, 2021
@DanSheps DanSheps reopened this Dec 20, 2021
@candlerb candlerb changed the title Changing already-assigned interface to FHRP group silently ignores change Changing already-assigned IP Address to FHRP group silently ignores change Dec 20, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants