Bug 1451848

Summary: Changes to timeout setting should not require evmserverd restart
Product: Red Hat CloudForms Management Engine Reporter: Joe Vlcek <jvlcek>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Pusateri <mpusater>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: chhale, cpelland, jhardy, mpusater, obarenbo, simaishi, twade
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: auth:externalauth:ssui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1459987 (view as bug list) Environment:
Last Closed: 2018-03-06 14:47:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1468000    
Bug Blocks: 1459987    

Description Joe Vlcek 2017-05-17 16:04:38 UTC
Description of problem:
After changing the "Session Timeout" under "Configuration"->"Authentication"
the evmserverd session needs to be restarted for the upsted "Session Timeout"
to take effect.

The impact is the "Session Timeout" value is not honored by the Self Service UI

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


How reproducible:

Modify the "Session Timeout" without restarting evmserverd

Steps to Reproduce:
1. Log into the Classic UI as "admin"
2. Navigate to "Configuration"
3. Select the "Authentication" tab
4. modify the "Session Timeout", e.g.: set it to 0h5m
5. log off the Classic UI
6. Log into the SSUI by browsing to: <appliance>/ui/service
7. wait a bit longer than the time set for "Session Timeout"

Actual results:

The SSUI does not time out.

Expected results:

The SSUI should time out.

Additional info:


To work around this, after setting the "Session Timeout"
log into the appliance_console and restart the EVM server
process.

This BZ is to eliminate the required restart of evmserverd
in order for changes to the "Session Timeout" to take
effect.

Comment 2 Satoe Imaishi 2017-05-19 18:00:36 UTC
PR: https://github.com/ManageIQ/manageiq/pull/15124

Comment 4 Chris Hale 2017-07-05 17:46:24 UTC
SUI polls every 5 minutes but all polling has been excluded from causing the SUI session to stay alive.  If things aren't working then we would need the API team to help instruct our testing team on what to look for in the logs that indicate the session timeout changed without having to manually reboot the manageiq server process.  If testing says that everything looks like it should in logs etc, then the SUI team can help testing look again at this issue.

Comment 5 Matt Pusateri 2017-07-05 18:46:15 UTC
Per Chris Kacerguis Open regression bug due to SSUI not timing out https://bugzilla.redhat.com/show_bug.cgi?id=1468000.  Hold on QA, till he has time to sort things out with SSUI and API teams.

Comment 6 Matt Pusateri 2017-10-13 20:40:15 UTC
Blocked on testing b/c of bug: https://bugzilla.redhat.com/show_bug.cgi?id=1468000


Tim anyway to validate?

Comment 7 Matt Pusateri 2017-12-06 20:26:36 UTC
Verified Ext Auth - FreeIPA/AD/OpenLDAP

Comment 8 Matt Pusateri 2017-12-06 20:28:49 UTC
Verified on 5.9.0.11

Comment 9 Red Hat Bugzilla 2023-09-14 03:57:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days