Bug 1391685

Summary: Incorrect power state for VMs powered on through SSUI
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - ServiceAssignee: Drew Bomhof <dbomhof>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: ckacergu, cpelland, dajohnso, dclarizi, gmccullo, jhardy, nachandr, obarenbo
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ssui:power
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1402993 (view as bug list) Environment:
Last Closed: 2017-06-12 16:13:22 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:    
Bug Blocks: 1402993    

Description Nandini Chandra 2016-11-03 18:51:47 UTC
Description of problem:
-----------------------


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


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


Steps to Reproduce:
-------------------
1.Create a service in admin UI.
2.Provision that service in SSUI.
3.Once the service has been provisioned, navigate to 'My services'.Hover on the 'Power State' field.


Actual results:
---------------
The power state reads :Start Operation timed out(see attached screenshot 1).
When you click on the service, it lists the name of the VM that was provisioned along with the correct power state(attached screenshot 2).


Expected results:
-----------------
The power state field should show the correct power status of the VM.


Additional info:
-----------------

Comment 5 Greg McCullough 2016-11-04 19:03:52 UTC
Drew - I would suggest working with Tina on this one.  Might need to enable a post-provisioning call to calculate the power state.

Comment 6 Chris Kacerguis 2016-12-01 19:29:00 UTC
In addition to what Drew is doing, we need this PR too: https://github.com/ManageIQ/manageiq-ui-service/pull/330

Comment 7 CFME Bot 2016-12-06 17:25:21 UTC
New commit detected on ManageIQ/manageiq-ui-service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/c7264e3c98e726eacf6a24f75c7a080f296f38c8

commit c7264e3c98e726eacf6a24f75c7a080f296f38c8
Author:     Aparna Karve <akarve>
AuthorDate: Thu Dec 1 14:07:56 2016 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Thu Dec 1 14:07:56 2016 -0800

    Hide Power Status and Power Operation buttons in the List View
    
    until we have a robust backend solution to display the
    Status and the buttons
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1391685

 client/app/components/explorer/explorer.html       | 6 ++++--
 client/app/components/power-state/power-state.html | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

Comment 8 CFME Bot 2016-12-08 14:32:42 UTC
New commit detected on ManageIQ/manageiq-ui-service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/75610f68154314a6c3829f55a08ea46b876e19a1

commit 75610f68154314a6c3829f55a08ea46b876e19a1
Author:     Aparna Karve <akarve>
AuthorDate: Wed Dec 7 13:06:44 2016 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Wed Dec 7 13:06:44 2016 -0800

    Remove "Suspend" Power Operation (for now)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1391685

 client/app/states/services/details/details.html | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comment 10 Nandini Chandra 2017-03-15 20:31:37 UTC
Verified in 5.8.0.4

Verified that the correct power state is displayed.