Skip to content

NetBox 2.9.11 and 2.11.7 is a lot slower than 2.8.5 #6657

Answered by markkuleinio
markkuleinio asked this question in Q&A
Discussion options

You must be logged in to vote

So here is the solution, please read the intermediate steps from the thread above.

The problematic API user (let's call it "ipamuser") has add+change+delete+view permissions for specific models, not to every model, in NetBox 2.8.5, that's about 210 permissions selected in the list.

Even opening that "ipamuser" in NetBox 2.11.7 configuration screen (after upgrading NetBox) takes several seconds while the permissions are checked/fetched. There are about 210 "ObjectPermission_users" objects in the list, and the same permissions are found in the Permissions configurations as well. Apparently the upgrade migrations created those ~210 separate permissions (like circuits.add_circuit, circuits.ch…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@markkuleinio
Comment options

@markkuleinio
Comment options

@markkuleinio
Comment options

@markkuleinio
Comment options

Comment options

You must be logged in to vote
4 replies
@markkuleinio
Comment options

@candlerb
Comment options

@LuPo
Comment options

@candlerb
Comment options

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