Bug 1331061

Summary: Lifecycle -> Migrate Instance should be disable
Product: Red Hat CloudForms Management Engine Reporter: Taras Lehinevych <tlehinev>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: dajohnso, gblomqui, hkataria, jfrey, jhardy, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:55:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Taras Lehinevych 2016-04-27 15:05:51 UTC
Description of problem:
The Migrate Instance button shouldn't be in Lifecycle for instances (I didn't find RFE to add this option for instances).
Even if migration should be there, you can not make any modification and buttons Submit and Cancel don't work


Version-Release number of selected component (if applicable):
5.6.0.4-beta3.2

How reproducible:
100%

Steps to Reproduce:
1. Add any cloud provider and open any instance
2. Press Lifecycle -> Migrate Instance
3. Click Cancel or Submit button 

Actual results:
Nothing happens

Expected results:
Buttons should perform appropriate action:
Cancel (drop changes and return you to instance page)
Submit (save and apply changes and return you to instance page)

Additional info:

Comment 2 Greg Blomquist 2016-04-28 14:25:53 UTC
Loic, this sounds like a feature added to OpenStack Cloud for CF4.1, but I couldn't remember.  Is that right?

If so, I'll have Marcel look at how to hide this feature for the other cloud providers.

Comment 3 Loic Avenel 2016-04-28 14:28:22 UTC
this is supported in 4.1 for Openstack only. Then it should be visible at Instance level for OSP and disable for other Cloud..

Comment 4 Marcel Hild 2016-04-28 18:27:55 UTC
https://github.com/ManageIQ/manageiq/pull/8330

Comment 5 Marcel Hild 2016-04-29 17:00:22 UTC
and... fixed and merged

Comment 6 Taras Lehinevych 2016-05-04 12:11:47 UTC
Verified in 5.6.0.5-beta2.4

Comment 8 errata-xmlrpc 2016-06-29 15:55:32 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-2016:1348