Tenant search does not return the correct results #2592

Closed
opened 2025-12-29 18:20:12 +01:00 by adam · 9 comments
Owner

Originally created by @superthing on GitHub (May 6, 2019).

Environment

Python version: Python 3.5.2
NetBox version: 2.5.8

Steps to Reproduce

  1. Search Netbox for a tenants full name.
  2. Observe no values returned.
  3. Remove the tenants first/ last name.
  4. Observe the correct results returned.

Expected Behavior

Searching a tenant by their full name returns the correct tenant in search results.

Observed Behavior

Searching by certain tenant's full names returns no search results. Searching by first / last name returns the correct search results (pictures attached). This has been observed on a small portion of tenant searches. We have 12120 Tenants.

netboxs1
netboxs2
netboxs3

Originally created by @superthing on GitHub (May 6, 2019). Environment Python version: Python 3.5.2 NetBox version: 2.5.8 Steps to Reproduce 1. Search Netbox for a tenants full name. 2. Observe no values returned. 3. Remove the tenants first/ last name. 4. Observe the correct results returned. Expected Behavior Searching a tenant by their full name returns the correct tenant in search results. Observed Behavior Searching by certain tenant's full names returns no search results. Searching by first / last name returns the correct search results (pictures attached). This has been observed on a small portion of tenant searches. We have 12120 Tenants. ![netboxs1](https://user-images.githubusercontent.com/4330944/57250746-056dc600-6ffd-11e9-9118-426c1fcb77c7.jpg) ![netboxs2](https://user-images.githubusercontent.com/4330944/57250755-0a327a00-6ffd-11e9-9608-007e48577fbd.jpg) ![netboxs3](https://user-images.githubusercontent.com/4330944/57250910-6d241100-6ffd-11e9-8e18-50a840f95cfe.jpg)
adam closed this issue 2025-12-29 18:20:12 +01:00
Author
Owner

@DanSheps commented on GitHub (May 6, 2019):

I noticed you were a number of versions behind. Please upgrade to the latest version of Netbox.

I will attempt to recreate this on the latest master.

@DanSheps commented on GitHub (May 6, 2019): I noticed you were a number of versions behind. Please upgrade to the latest version of Netbox. I will attempt to recreate this on the latest master.
Author
Owner

@robbagithub commented on GitHub (May 6, 2019):

I've tested this and it's a problem in 2.5.4 which old as well I know. We've never hit this bug as no one ever bothers to type in full name!

@robbagithub commented on GitHub (May 6, 2019): I've tested this and it's a problem in 2.5.4 which old as well I know. We've never hit this bug as no one ever bothers to type in full name!
Author
Owner

@superthing commented on GitHub (May 6, 2019):

I have upgraded to 2.5.12 and am still experiencing the issue.

@superthing commented on GitHub (May 6, 2019): I have upgraded to 2.5.12 and am still experiencing the issue.
Author
Owner

@DanSheps commented on GitHub (May 7, 2019):

Are all of these Tenants in a Tenant Group?

@DanSheps commented on GitHub (May 7, 2019): Are all of these Tenants in a Tenant Group?
Author
Owner

@DanSheps commented on GitHub (May 7, 2019):

I just loaded a Master pull from Netbox with 10K tenants, I am unable to reproduce this.

For now, this will be marked as invalid. Otherwise, please provide proper steps to fully reproduce this.

@DanSheps commented on GitHub (May 7, 2019): I just loaded a Master pull from Netbox with 10K tenants, I am unable to reproduce this. For now, this will be marked as invalid. Otherwise, please provide proper steps to fully reproduce this.
Author
Owner

@superthing commented on GitHub (May 7, 2019):

Yes, we have all of our Tenants in different Tenant Groups. The group that this Tenant is in has 10910 entries.

@superthing commented on GitHub (May 7, 2019): Yes, we have all of our Tenants in different Tenant Groups. The group that this Tenant is in has 10910 entries.
Author
Owner

@superthing commented on GitHub (May 7, 2019):

I understand that it is difficult to reproduce as I have not noticed a pattern with the Tenants that are causing problems. It is still an issue.

@superthing commented on GitHub (May 7, 2019): I understand that it is difficult to reproduce as I have not noticed a pattern with the Tenants that are causing problems. It is still an issue.
Author
Owner

@DanSheps commented on GitHub (May 7, 2019):

If you can provide steps to reproduce the issue here: https://master.netbox.dansheps.com/ I can re-open the issue.

@DanSheps commented on GitHub (May 7, 2019): If you can provide steps to reproduce the issue here: https://master.netbox.dansheps.com/ I can re-open the issue.
Author
Owner

@superthing commented on GitHub (May 7, 2019):

Thanks for the help! I'll need to talk with my colleagues about moving forward with this issue.

@superthing commented on GitHub (May 7, 2019): Thanks for the help! I'll need to talk with my colleagues about moving forward with this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2592