Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1334275 - UI: Instance Attach/Detach/Reconfigure broken in cloud providers
UI: Instance Attach/Detach/Reconfigure broken in cloud providers
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Sam Lucidi
Niyaz Akhtar Ansari
vm:ui:configuration
:
: 1343819 (view as bug list)
Depends On:
Blocks: 1334238
  Show dependency treegraph
 
Reported: 2016-05-09 06:31 EDT by Niyaz Akhtar Ansari
Modified: 2016-06-29 12:00 EDT (History)
11 users (show)

See Also:
Fixed In Version: 5.6.0.11
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:00:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screenshot (82.72 KB, image/png)
2016-05-26 03:17 EDT, Niyaz Akhtar Ansari
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Niyaz Akhtar Ansari 2016-05-09 06:31:11 EDT
Description of problem:


Version-Release number of selected component (if applicable):
Version 5.6.0.5-beta2.4.20160503153816_1fb554f


How reproducible:
100%

Steps to Reproduce:
1.Compute->Cloud->Providers->Click on any provider
2.Click on instances in summary view page
3.choose any instance
4.Navigate to Configuration Tab-->click on Attach/Detach/Reconfigure Selected Instances 

Actual results:
Spinner just rotates and no form is displayed.

Expected results:
Attach/Detach/Reconfigure Form should display for selected instance. 

Additional info:
Comment 1 Ramesh A 2016-05-09 07:46:24 EDT
More info:
==========
1. Spinner rotates and stops, but UI does not navigate to the next page. Neither production.log file nor evm.log file throws any error as such.
2. Same thing happens even with Lifecycle ==> Migrate selected Instance
Comment 2 Ramesh A 2016-05-09 08:07:27 EDT
This was tested by adding RHOS provider.  If these features are not supported on RHOS provider, then the links to these features needs to be disabled.  

PS:
==
Did not see the Attach/Detach option in the Instance summary screen, while Reconfigure option exists.
Comment 3 Harpreet Kataria 2016-05-09 12:28:24 EDT
Sam,

Can you take a look at this one, i am not able to recreate an issue when i press Attach button, Reconfigure button is unavailable for the instances in my database, however i do see some JS errors in firebug when i press Detach button. Seems to be introduced by commit 36968857d9a8150bf8ce2da632543854eeb794ad. Let me know if you have questions.

Thanks,
~Harpreet
Comment 4 Sam Lucidi 2016-05-09 15:27:30 EDT
Checking it out.
Comment 7 Sam Lucidi 2016-05-23 09:10:17 EDT
Fixed by the following two pull requests which were merged into master.
Attach/detach: https://github.com/ManageIQ/manageiq/pull/8670
Reconfigure: https://github.com/ManageIQ/manageiq/pull/8671
Comment 8 Niyaz Akhtar Ansari 2016-05-26 03:17 EDT
Created attachment 1161759 [details]
screenshot

Instance Attach/Detach/Reconfigure issues has been fixed in latest build 
but bug is still reproducible when you click on Migrate selected Instance/Evacuate selected Instance.

Version: 5.6.0.8-rc1.20160524155303_f2a5a50

Steps to Reproduce:
1.Compute->Cloud->Providers->Click on any provider
2.Click on instances in summary view page
3.choose any instance
4.Navigate to  Lifecycle Tab-->click on Migrate selected Instance/Evacuate selected Instance.
Comment 9 Jason Frey 2016-06-03 14:38:08 EDT
https://github.com/ManageIQ/manageiq/pull/9115  Sam, are you expecting this PR to fix this bug for good?  The PR itself says it's a "partial fix", which is why I'm asking.
Comment 10 Sam Lucidi 2016-06-03 14:47:59 EDT
Hey Jason, no, that PR is not a full fix for the issue, but it is a fix for one instance of the larger problem. Once I get feedback on my approach, I'll be applying it widely to fix this problem and the related problem in https://bugzilla.redhat.com/show_bug.cgi?id=1339198 permanently.
Comment 11 Tzu-Mainn Chen 2016-06-13 20:39:00 EDT
fixed by slucidi in https://github.com/ManageIQ/manageiq/pull/9161
Comment 12 Niyaz Akhtar Ansari 2016-06-16 01:36:09 EDT
Attach/Detach options are disabled in the Instance summary screen.
The issues has been fixed.

Verified in 5.6.0.11-rc2.2.20160614152915_f315c68
Comment 13 Tzu-Mainn Chen 2016-06-16 10:52:47 EDT
*** Bug 1343819 has been marked as a duplicate of this bug. ***
Comment 15 errata-xmlrpc 2016-06-29 12:00:34 EDT
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

Note You need to log in before you can comment on or make changes to this bug.