IP/device de assiginment not working #5814

Closed
opened 2025-12-29 19:33:02 +01:00 by adam · 8 comments
Owner

Originally created by @kotso on GitHub (Dec 21, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.1

Python version

3.9

Steps to Reproduce

  1. edit any ip assigned to device/interface
  2. remove device/interface
  3. save

Expected Behavior

ip is not associated/linked with device/interface

Observed Behavior

nothing changed, ip still linked to device/interface.

additionally changelog entry is created that is identical to initial object (see attachment)

deployment is in docker, we noticed issue since upgrade to 3.1.0, upgrade to 3.1.1 did not changed anything. (not upgrading to 3.1.2 as at this moment docker script is version 3.1.1)

I think it may be frontend bug but I may be mistaken. (as changelog does not deffer)

Screenshot 2021-12-21 at 13 58 41
Originally created by @kotso on GitHub (Dec 21, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.1 ### Python version 3.9 ### Steps to Reproduce 1. edit any ip assigned to device/interface 2. remove device/interface 3. save ### Expected Behavior ip is not associated/linked with device/interface ### Observed Behavior nothing changed, ip still linked to device/interface. additionally changelog entry is created that is identical to initial object (see attachment) deployment is in docker, we noticed issue since upgrade to 3.1.0, upgrade to 3.1.1 did not changed anything. (not upgrading to 3.1.2 as at this moment docker script is version 3.1.1) I think it may be frontend bug but I may be mistaken. (as changelog does not deffer) <img width="1234" alt="Screenshot 2021-12-21 at 13 58 41" src="https://user-images.githubusercontent.com/1928528/146911150-68e7abcf-ca0e-4f3b-bc0f-3399033e4fb4.png">
adam added the type: bugstatus: accepted labels 2025-12-29 19:33:02 +01:00
adam closed this issue 2025-12-29 19:33:02 +01:00
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

UPDATE,

changing interface/device works, only de-assign of any attached device/interface does not work.

@kotso commented on GitHub (Dec 21, 2021): UPDATE, changing interface/device works, only de-assign of any attached device/interface does not work.
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

Checked in latest version, same result.

@kotso commented on GitHub (Dec 21, 2021): Checked in latest version, same result.
Author
Owner

@jeremystretch commented on GitHub (Dec 21, 2021):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch commented on GitHub (Dec 21, 2021): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

@jeremystretch thank you for reply.

You can reproduce same in netbox demo.

https://demo.netbox.dev/ipam/ip-addresses/3/

just tried to detach device from that ip and it did not, and change log entry created.

@kotso commented on GitHub (Dec 21, 2021): @jeremystretch thank you for reply. You can reproduce same in netbox demo. https://demo.netbox.dev/ipam/ip-addresses/3/ just tried to detach device from that ip and it did not, and change log entry created.
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

as issue reproducible on demo, I'm not providing more details, if you still need, will cleanup my installation and provide data.

@kotso commented on GitHub (Dec 21, 2021): as issue reproducible on demo, I'm not providing more details, if you still need, will cleanup my installation and provide data.
Author
Owner

@DanSheps commented on GitHub (Dec 21, 2021):

as issue reproducible on demo, I'm not providing more details, if you still need, will cleanup my installation and provide data.

Please review the contributing document, we require a step-by-step list to reproduce, starting with creation.

@DanSheps commented on GitHub (Dec 21, 2021): > as issue reproducible on demo, I'm not providing more details, if you still need, will cleanup my installation and provide data. Please review the contributing document, we require a step-by-step list to reproduce, starting with creation.
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

@DanSheps

please find step-by-step reproduction manual. (assuming you have at list single device with single interface, if no - create any device with at list one interface)

  1. create ip address (any, example: 1.2.3.4/32, status: active), when creating - in interface assignment/device - select any device with interfaces and interface accordingly.
  2. after ip created - press edit button, and remove device and interface, press save
  3. message displayed that ip saved successfully.
  4. but on same screen you can see that device and interface is still assigned.
@kotso commented on GitHub (Dec 21, 2021): @DanSheps please find step-by-step reproduction manual. (assuming you have at list single device with single interface, if no - create any device with at list one interface) 1. create ip address (any, example: 1.2.3.4/32, status: active), when creating - in interface assignment/device - select any device with interfaces and interface accordingly. 2. after ip created - press edit button, and remove device and interface, press save 3. message displayed that ip saved successfully. 4. but on same screen you can see that device and interface is still assigned.
Author
Owner

@kotso commented on GitHub (Dec 21, 2021):

@jeremystretch thank you very much.

@kotso commented on GitHub (Dec 21, 2021): @jeremystretch thank you very much.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5814