-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Sluggish performance & timeouts with RBAC for Sessions enabled #12498
Comments
Responding to @russjones comments from weekly prod sync: both customer and my tests were done on self-hosted clusters. No DynamoDB throttling observed in either case (in my cluster specifically I ran test against a single node with only 1 user, myself, and no other traffic, with 20 read/writes provisioned in Dynamo). This is the RBAC role I tested with:
I'll gather the role file from customer environment as well. Is there any additional info that would be helpful in this instance? |
Customer role:
Customer confirmed that removing the |
@AHARIC this should be fixed now, can you confirm whether there is still an issue? |
Confirmed in my env. Closing out. |
Expected behavior:
Using RBAC for sessions should not cause Session Recordings page to display an endless loading spinner or take 30-60 seconds to pull up a session recording on an otherwise low-traffic cluster.
Current behavior:
If a role is configured with RBAC for sessions, navigating to or refreshing Session Recordings page at times causes the page to display an endless loading spinner. This behavior is observed even with a single user/single recording cluster where Session Recording page may take up to 30-60 seconds to pull up the session recording. DynamoDB table limits are far above the read/write load observed during this time. Logs on the auth/proxy server also seem to lag at this time and are not updated until the session page is fully refreshed.
Bug details:
Configure a role w/ RBAC for Sessions for an OIDC/SAML user:
Log in as the user and create a brief session by SSH-ing into a node and exiting after issuing a sample command (ex:
echo test
)Navigate to the Session Recordings page and observe the loading spinner being displayed for an inordinate amount of time even if no other activity or user-specific sessions are present on the cluster. Note: you may have to refresh a few times to hit it b/c it's not always consistent.
gz#5050
The text was updated successfully, but these errors were encountered: