Interface Bulk Import Exception when adding interfaces to virtual machines #3248

Closed
opened 2025-12-29 18:27:04 +01:00 by adam · 0 comments
Owner

Originally created by @dealer-san on GitHub (Jan 30, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.8
  • NetBox version: 2.7.3

Steps to Reproduce

  1. Select "Devices" -> Interfaces -> Import
  2. Enter CSV interface data using virtual_machine column type (e.g., virtual_machine,name,type)
  3. Submit

Expected Behavior

Either interfaces are imported successfully or data validation errors are reported.

Observed Behavior

Submission results in the following Python exception.

2020-01-28 182920

Example input data:

virtual_machine,name,type
hostname,eth0,Virtual

The import seems to work without problems when importing for devices. Was able to reproduce issue in clean installs of both v2.7.2 and v2.7.3.

Originally created by @dealer-san on GitHub (Jan 30, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.8 * NetBox version: 2.7.3 ### Steps to Reproduce 1. Select "Devices" -> Interfaces -> Import 2. Enter CSV interface data using virtual_machine column type (e.g., virtual_machine,name,type) 3. Submit ### Expected Behavior Either interfaces are imported successfully or data validation errors are reported. ### Observed Behavior Submission results in the following Python exception. ![2020-01-28 182920](https://user-images.githubusercontent.com/3180981/73317592-3978bf00-41fc-11ea-9eaa-b2d3b306ad94.png) Example input data: virtual_machine,name,type hostname,eth0,Virtual The import seems to work without problems when importing for devices. Was able to reproduce issue in clean installs of both v2.7.2 and v2.7.3.
adam added the type: bugstatus: accepted labels 2025-12-29 18:27:04 +01:00
adam closed this issue 2025-12-29 18:27:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3248