Bug 1944834

Summary: [RFE] Timer for Console Disconnect Action - Shutdown VM after N minutes of being disconnected (Webadmin-only)
Product: Red Hat Enterprise Virtualization Manager Reporter: nsurati
Component: ovirt-engineAssignee: Milan Zamazal <mzamazal>
Status: CLOSED ERRATA QA Contact: Tamir <tamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.11CC: agajania, ahadas, emarcus, mavital
Target Milestone: ovirt-4.5.0Keywords: FutureFeature, ZStream
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 vdsm-4.50.0.10 Doc Type: Enhancement
Doc Text:
This release adds a user specified delay to the 'Shutdown' Console Disconnect Action of a Virtual Machine. The shutdown will occur after the user specified delay interval, or will be cancelled if the user reconnects to the VM console. This prevents a user's session loss after an accidental disconnect.
Story Points: ---
Clone Of:
: 2055666 (view as bug list) Environment:
Last Closed: 2022-05-26 16:22:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2055666    

Description nsurati 2021-03-30 18:28:44 UTC
Description of problem:

If the Console Disconnect Action is Shutdown, the user's running session is lost as soon as they disconnect. This is not desirable in the case of an accidental disconnect.

Request is that the administrator can specify that the Virtual Desktop will not shutdown until n minutes after a disconnect.  This will give the user an opportunity to reconnect before the shutdown occurs.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Timer for Console Disconnect Action - Shutdown VM after N minutes of being disconnected

Additional info:

Comment 10 Arik 2022-01-09 16:25:03 UTC
Filip, please document this change (via the Doc Text field)

Comment 16 Tamir 2022-04-10 08:18:50 UTC
Tested the RFE using the tests attached (Polarion) on the following env:

Env:
    - Engine instance with RHV 4.5.0-4 (ovirt-engine-4.5.0-0.237.el8ev) and RHEL 8.6 installed.
    - 3 hosts with RHV 4.5.0-4 and RHEL 8.6 and with vdsm-4.50.0.10-1.el8ev. 

Related bug: 
    Bug 2070008 - The Console Disconnect Action Delay property isn't included in the OVF.

Changing to VERIFIED.

Comment 21 errata-xmlrpc 2022-05-26 16:22:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:4711

Comment 22 meital avital 2022-08-07 12:51:20 UTC
Due to QE capacity, we are not going to cover this issue in our automation