netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.71k stars 2.53k forks source link

ip address view shows 'oob_ip_id' missing attribute error #13700

Closed BenjaminBoehm closed 1 year ago

BenjaminBoehm commented 1 year ago

NetBox version

v3.6.0

Python version

3.11

Steps to Reproduce

Option1

  1. I updated netbox from v3.5.8 to v3.6.0.
  2. If I click on some ip addresses it shows the following error: image
  3. Currently I can't figure out why some are working and some showing this error message.

Option2

  1. Create new ip address and assign as primary ip to vm
  2. Save
  3. Error from above is shown

Expected Behavior

View details of every ip address

Observed Behavior

Error message:

<class 'AttributeError'>

'VirtualMachine' object has no attribute 'oob_ip_id'

Python version: 3.11.4 NetBox version: 3.6.0 Plugins: None installed

BenjaminBoehm commented 1 year ago

IP addresses that show this error are assigned as the primary IP of a VM.

jeremystretch commented 1 year ago

Duplicate of #13619. Please remember to search closed bug reports before submitting new ones.