Bug 1886829

Summary: Reinstate session limits
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: Bugzilla GeneralAssignee: Aitik Dandapat <adandapa>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Fearn 🐞 <jfearn>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: adandapa, agk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-09 00:23:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1833585    

Description Jeff Fearn 🐞 2020-10-09 13:38:44 UTC
Description of problem:
For bug 1886819 we disabled the session limit enforcement to give users time to fix their systems, now we need to re-enable them.

Version-Release number of selected component (if applicable):
n/a

How reproducible:
Easy

Steps to Reproduce:
1. try and create 43 sessions as a single user

Actual results:
You can.

Expected results:
You can't.

Additional info:

Comment 2 Jeff Fearn 🐞 2022-01-27 23:30:07 UTC
1. login to web UI
2. go to Sessions preferences tab
3. run login script in a shell

$ perl bug_1886829.pl
Login 1 OK
Login 2 OK
...
Login 40 OK
Login 41 OK
Login 42  NOK The account you are using has too many current logins. The maximum number of concurrent logins is 42 and you have 42. You will need to wait until enough sessions expire before you can login again. Sessions expire after being unused for 7 days. All sessions are removed during an upgrade regardless of age. If you are using the API you might consider using API_KEYs instead of logging in. If you don't want to use API_KEYs then you need to logout to prevent being locked out. at bug_1886829.pl line 62.

4. Refresh Sessions preferences tab

"You have 42 sessions. Display limited to most recent 20."

5. Click "Log out all other sessions" button

Comment 4 Jeff Fearn 🐞 2022-02-09 00:23:54 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.