Skip to content

Rack Not Found? #6234

Answered by candlerb
KSBolton asked this question in Q&A
Apr 21, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I've just tested this. Solution: If RACK-2-APC is within a rack group (now called "location"), then you must specify that at the same time by including a "location" column in the CSV.

Checking the SQL, I see that rack names are unique per location, which explains why locations must be supplied together with rack name:

netbox=# \d dcim_rack
...
    "dcim_rack_group_id_name_846f3826_uniq" UNIQUE CONSTRAINT, btree (location_id, name)

I don't know if this was a behaviour change in 2.11; I don't have an older version to compare against.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@candlerb
Comment options

@KSBolton
Comment options

Answer selected by KSBolton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants