Bug 1330894

Summary: Disable power/retirement buttons for terminated gce instances
Product: Red Hat CloudForms Management Engine Reporter: Taras Lehinevych <tlehinev>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Teehan <jteehan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: dajohnso, hkataria, jhardy, jteehan, mpovolny, nachandr, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provider:gce:vm
Fixed In Version: 5.8.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1383433 (view as bug list) Environment:
Last Closed: 2017-06-12 16:24:50 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: 1383433    
Attachments:
Description Flags
power buttons
none
lifecycle buttons none

Description Taras Lehinevych 2016-04-27 09:15:24 UTC
Created attachment 1151253 [details]
power buttons

Description of problem:
Power actions and lifecycle ones are bot disabled for archived VM

Version-Release number of selected component (if applicable):
5.6.0.4-beta2.3

How reproducible:
100%

Steps to Reproduce:
1.Retire or terminate VM on GCE provider
2.Wait for VM status archived  
3.Open this VM and click on Power/Lifecycle


Actual results:
You are able to start/stop/terminate/migrate or retire achived VM

Expected results:
This buttons should be disabled. So you can start achieved VM

Additional info:

Comment 2 Taras Lehinevych 2016-04-27 09:16:01 UTC
Created attachment 1151254 [details]
lifecycle buttons

Comment 7 Roman Blanco 2016-10-03 13:57:19 UTC
Fixed in https://github.com/ManageIQ/manageiq/pull/11054

Comment 9 Jeff Teehan 2017-05-05 23:32:28 UTC
Ran steps as described above on https://10.16.6.90/vm_cloud/explorer

After retirement, the Power Menu is no longer available for the retired VM.  Switching to live vm, the Power Menu is available.  Toggled back and forth a few times.

Moving to verified.