Bug 1818685

Summary: Information regarding cockpit logout on idle
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: doc-Deploying_RHHIAssignee: Laura Bailey <lbailey>
Status: CLOSED NOTABUG QA Contact: SATHEESARAN <sasundar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhhiv-1.8CC: asriram, rhs-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-20 11:44:15 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: 1818566    
Bug Blocks:    

Description SATHEESARAN 2020-03-30 06:03:33 UTC
Description of problem:
-----------------------
For security reasons, cockpit session will be logged out, when there is no user activity for 15 minutes.

Though its useful for security reasons, this was little annoying that the session gets logged out, before returning from a short-break post starting the deployment. 

This will be annoying for the RHHI customers too, that the session will be closed before they could finish off first stage of HE deployment, or someone who just reached final tab but took a short break from that web session.

To overcome this problem, users can increase the 'IdleTimeout' to an hour(60mins) by setting 'IdleTimeout=60' in cockpit conf file and enable it post deployment.
This information should be provided before the user starts the deployment

1. Following content should be added to the file - /etc/cockpit/cockpit.conf -  on the RHVH 4.4 node from where the deployment will be initiated.
[Session]
IdleTimeout=60

2. Restart cockpit service
# systemctl restart cockpit

Make sure to remove the content of this conf file post RHHI deployment and restart cockpit service. This will make sure, that the cockpit behavior is set to the default.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHHI-V 1.8 Deployment guide

How reproducible:
------------------
Always

Expected results:
-----------------
Include the content that helps users to prevent logging out of cockpit session due to user inactivity

Comment 1 SATHEESARAN 2020-04-12 07:49:49 UTC
oVirt team is considering this feature as a blocker for ovirt-4.4.0
If they fix it with oVirt, then this doc bug is no longer required.

We need to follow the information on this bug 1818566

Comment 3 SATHEESARAN 2020-04-20 11:44:15 UTC
cockpit-ovirt-dashboard-0.14.5 adds the cockpit configuration such a way IdleTimeout is set to 0.

[root@ ~]# cat /etc/cockpit/cockpit.conf 
[Session]
IdleTimeout=0

So this doc bug is no longer relevant