netbox-community / customizations

A collection of community submitted and maintained customizations including reports, scripts, validators and export templates
MIT License
206 stars 55 forks source link

Orphan primary_ip #82

Closed renatoalmeidaoliveira closed 2 months ago

renatoalmeidaoliveira commented 1 year ago

Flags Devices or VirtualMachines with primary ip addresses that are not assigned to any interface.

abhi1693 commented 1 year ago

Which version of NetBox does this happen in? I wasn't aware this was an issue. Was there any bug report raised for this to be fixed?

renatoalmeidaoliveira commented 1 year ago

I guess all of them... The steps to reproduce is to assign an IP Address to an Interface and make it primary address of the model. Then change the ip address association to another interface in another modrl

renatoalmeidaoliveira commented 1 year ago

I doesn't really recall if I made this report based in a Slack discussion or a issue in Netbox,

abhi1693 commented 1 year ago

If the issue doesn't exist, it'd be best to raise one after validating this is still reproducible on 3.5.3

renatoalmeidaoliveira commented 1 year ago

Just check out, it still "working" in demo.netbox.dev so it should deserves a issue, just have to search if there're any already open

renatoalmeidaoliveira commented 1 year ago

@abhi1693 it seens it is related with this issue: https://github.com/netbox-community/netbox/issues/11934 That should be fixed in 3.5.3,

jsenecal commented 2 months ago

@renatoalmeidaoliveira can we close this if it is not useful anymore ?

renatoalmeidaoliveira commented 2 months ago

Hey @jsenecal since that problem isn't a problem anymore I think its ok to close it.

jsenecal commented 2 months ago

Thanks @renatoalmeidaoliveira