Netbox: Device search limited to non-racked devices when creating a new connection

Created on 4 Apr 2019  路  3Comments  路  Source: netbox-community/netbox

Environment

  • Python version: 3.6.7
  • NetBox version: 2.5.9

Steps to Reproduce

1.Go on device
2.Select "Connect" on one interface
3.Search a device with "Search" function

Expected Behavior

List all device, and can filter if we write anything

Observed Behavior

List only non-racked device and finally "search" become unusable

accepted bug

Most helpful comment

Looks like this was added in f6345b9a5d503ed72e9f78a7bb0dc6fbd0347b35 inadvertently

All 3 comments

Caused by rack_id=null not showing all racks.

Looks like this was added in f6345b9a5d503ed72e9f78a7bb0dc6fbd0347b35 inadvertently

Darn, I just picked this up too :-) When searching for "wrn", tcpdump shows:

GET /api/dcim/devices/?q=wrn&brief=1&limit=50&offset=0&rack_id=null

... so it only matches unracked devices.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benjy44 picture benjy44  路  3Comments

VictorJ76 picture VictorJ76  路  3Comments

mrfroggg picture mrfroggg  路  3Comments

cloos picture cloos  路  3Comments

robbagithub picture robbagithub  路  3Comments