New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relationship filter broken with too many items in filter #1595
Comments
I can't reproduce this so far (though in my case I'm using a Device-to-Circuit relationship filtered on I have two theories at the moment:
Can you enable |
I did some further testing to try to narrow it a bit. I could not get any logs at all, even at
It seems it is able to figure out the request will take way too long and just fails it right away... Is there anything else you want me to try? |
Potentially could be solved by #1883 |
Worked with @Thetacz to reproduce this issue. We confirmed that it's a result of a very low default limit on the uWSGI buffer size:
Source: https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html We manually bumped the buffer size as an addition command-line arg to the container and it resolved the issue. Evaluating if we should increase the default directly in: https://github.com/nautobot/nautobot/blob/develop/docker/uwsgi.ini or should this be configurable as an environment variable. In the meantime, anyone running into this (or similar) issues can at minimum update their runtime command for the Nautobot container to be |
Let's get this into our troubleshooting docs in server install section. |
Environment
We are using relationships to model hypervizors (One-to-Many Device to VMs). To avoid performance impact of 96 relationships (see issue #1593 ), we tried having single association with all the
cluster_id
s in single filter. The filter is the same on both sides, looks like this:But now it is not possible to set this relationship association in UI. It works via API, but UI always shows
The results could not be loaded.
from VM and Device alike. If I remove the filter, I am able to list all VMs and Devices respectively. But since I don't want this Relationship to show for all Devices, I need to have some sort of filter in place to tell Nautobot the Device is in Cluster.Steps to Reproduce
cluster_id
with list of all 28 clusters on source and destinationExpected Behavior
all devices/VMs in those clusters listed
Observed Behavior
following message on both sides, which means inability to fill this field
Note: It works if I remove the filter
The text was updated successfully, but these errors were encountered: