Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1516679

Summary: [RFE] Guest Restart task ends up successfully, regardless to the operation result.
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Michal Skrivanek <michal.skrivanek>
Status: NEW --- QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, michal.skrivanek, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM

Description Ilanit Stein 2017-11-23 09:20:41 UTC
Description of problem:
when running VM power option "Restart Guest", 
and monitoring the task on CFME,
it ends up successful, regardless to whether the Restart actually succeeded.

Version-Release number of selected component (if applicable):
CFME-5.9.0.9/RHV-4.1.7

How reproducible:
100%

Expected results:
CFME task should fail, if Guest restart fail.

Comment 3 Michal Skrivanek 2017-11-23 11:52:02 UTC
The reboot is initiated over REST API the same way as any other action. The end result of this action is "Up" VM so it is indeed not easy to distinguish, but that would be quite an RFE to cover the specific behavior (RebootInProgress, possible unsuccessful reboot, cold vs soft reboots, etc)
I wouldn't think it's worth investing into it separately from other VM operations, and I'm not sure we want the detailed states like PoweringDown,WaitForLaunch and such