Can't add network interface to Virtual Machine #1408

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

Originally created by @djerihovs on GitHub (Nov 16, 2017).

[ x] Bug report

Environment

  • Python version: 3.4
  • NetBox version: 2.2.5

Can't add network interface to Virtual Machine . To reproduce error you need add VM and then try to add Network Interface.

Request Method: POST
1.11.7
**AttributeError
'NoneType' object has no attribute 'device_type'**
/opt/netbox/netbox/dcim/models.py in clean, line 1260
/usr/bin/python3.4
3.4.5
['/opt/netbox/netbox', '/opt/netbox/netbox', '/usr/bin', '/usr/lib64/python34.zip', '/usr/lib64/python3.4', '/usr/lib64/python3.4/plat-linux', '/usr/lib64/python3.4/lib-dynload', '/usr/lib64/python3.4/site-packages', '/usr/lib/python3.4/site-packages']
Originally created by @djerihovs on GitHub (Nov 16, 2017). [ x] Bug report ### Environment * Python version: 3.4 * NetBox version: 2.2.5 Can't add network interface to Virtual Machine . To reproduce error you need add VM and then try to add Network Interface. Request Method: | POST -- | -- 1.11.7 **AttributeError 'NoneType' object has no attribute 'device_type'** /opt/netbox/netbox/dcim/models.py in clean, line 1260 /usr/bin/python3.4 3.4.5 ['/opt/netbox/netbox', '/opt/netbox/netbox', '/usr/bin', '/usr/lib64/python34.zip', '/usr/lib64/python3.4', '/usr/lib64/python3.4/plat-linux', '/usr/lib64/python3.4/lib-dynload', '/usr/lib64/python3.4/site-packages', '/usr/lib/python3.4/site-packages']
adam added the status: duplicate label 2025-12-29 16:32:03 +01:00
adam closed this issue 2025-12-29 16:32:03 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 16, 2017):

Duplicate of #1717. Will be fixed in v2.2.6.

@jeremystretch commented on GitHub (Nov 16, 2017): Duplicate of #1717. Will be fixed in v2.2.6.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1408