Bug 1618650

Summary: [downstream clone - 4.2.6] VM Portal: power off option
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: ovirt-web-uiAssignee: Greg Sheremeta <gshereme>
Status: CLOSED ERRATA QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: eheftman, lleistne, michal.skrivanek
Target Milestone: ovirt-4.2.6Keywords: Rebase, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, it was not possible to force a virtual machine to power off from the VM Portal. In this release, it is now possible to force a machine to power off a virtual from the VM Portal.
Story Points: ---
Clone Of: 1616415 Environment:
Last Closed: 2018-09-04 13:47:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1616415    
Bug Blocks:    

Description RHV bug bot 2018-08-17 08:27:58 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1616415 +++
======================================================================

Description of problem:
The user portal does not include the option of the user to power off a VM.  If there is a hung VM, the user must contact the administrator to power off the VM.  Current configuration includes start, suspend, shutdown, and reboot.

The option to power off a VM was last in RHV 4.1. 

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

How reproducible:
100%

Steps to Reproduce:
1. Login to the VM Portal as admin@internal


Actual results:


Expected results:
The user of the VM should have the ability within the portal to Power Off the VM without contacting the admin. 

Additional info:
In the user portal in RHV 4.x, the icon for powering off a vm was a plug.

(Originally by Samuel Chandler)

Comment 2 RHV bug bot 2018-08-17 08:28:04 UTC
Implemented already by https://github.com/oVirt/ovirt-web-ui/pull/581

(Originally by michal.skrivanek)

Comment 5 Lucie Leistnerova 2018-08-29 11:38:03 UTC
When user tries to shutdown the VM, confirmation dialog appears and there is also Force option (that is the same as Power off in webadmin).

verified in ovirt-web-ui-1.4.2-1.el7ev.noarch

Comment 7 errata-xmlrpc 2018-09-04 13:47:15 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, 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/RHBA-2018:2641