Creating an interface on a virtual machine yields an AttributeError #1406

Closed
opened 2025-12-29 16:32:03 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 15, 2017).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.2.5

Description

Attempting to create a new interface assigned to a virtual machine yields a server error. This is due to improper validation on the Interface model, which assumes that an interface has a device assigned.

Originally created by @jeremystretch on GitHub (Nov 15, 2017). ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.2.5 ### Description Attempting to create a new interface assigned to a virtual machine yields a server error. This is due to improper validation on the Interface model, which assumes that an interface has a device assigned.
adam added the type: bug label 2025-12-29 16:32:03 +01:00
adam closed this issue 2025-12-29 16:32:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1406