Skip to content

Rack Direct Import - "Rack has no site." #21320

@cpt-kernel-afk

Description

@cpt-kernel-afk

NetBox Edition

NetBox Community

NetBox Version

v4.5.1

Python Version

3.12

Steps to Reproduce

  1. Site allready created and used allready
  2. Go to "Rack"
  3. Export current view
  4. Add Racks
  5. Paste edited CSV into "Direct Import" -> "Data"
  6. Leave everything on Auto-detect (same effect on setting CSV)
  7. Error -> Rack has no site.

Expected Behavior

Bulk create new Racks

Observed Behavior

Error:

<class 'dcim.models.racks.Rack.site.RelatedObjectDoesNotExist'>

Rack has no site.

Python version: 3.12.3
NetBox version: 4.5.1
Plugins: 
  netbox_floorplan: 0.9.0
  netbox_topology_views: 4.5.0

Both CSVs attached.

netbox_racks_exported.csv
netbox_racks_tobeimported.csv

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions