Bug 859954 - Restart button is able to be clicked, but does not do anything for some providers
Summary: Restart button is able to be clicked, but does not do anything for some provi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta4
Assignee: Shveta
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-24 13:25 UTC by james labocki
Modified: 2012-12-04 15:21 UTC (History)
8 users (show)

Fixed In Version: aeolus-conductor-0.13.18-1.el6cf
Doc Type: Bug Fix
Doc Text:
The restart button was displayed even when restarting the instance was not a supported action. For RHEV and vSphere instances, this meant the restart button was clickable, but no action occurred. This update removes the restart button if the action is not supported. RHEV instances no longer show the restart button, and vSphere instances display the button and restarts the instance if clicked.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:21:06 UTC
Embargoed:


Attachments (Terms of Use)
rhev restart button (44.85 KB, image/png)
2012-10-16 19:23 UTC, Shveta
no flags Details
vsphere restart button (46.23 KB, image/png)
2012-10-16 19:24 UTC, Shveta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:1516 0 normal SHIPPED_LIVE CloudForms Cloud Engine 1.1 update 2012-12-04 19:51:45 UTC

Description james labocki 2012-09-24 13:25:55 UTC
Description of problem:
On providers that do not support restarting instances yet (RHEV, vSphere) the Restart button is able to be clicked, but does not do anything. This is confusing to the user.

To reproduce:
1. Launch two instances. One to RHEV provider and one to EC2 provider.

2. Wait until instances are running.

3. Select RHEV instance and select "restart".
  a. Nothing happens in the conductor UI.
  b. Nothing happens in the RHEV-M interface.

4. Select Amazon instance select "restart".
  a. Instance restarts in EC2


Expected results:
On of the following should be done:

1. check the provider when displaying instance information and remove the ability to press restart (hide it or grey it out) on providers that do not support restarting instances (RHEV, vSphere).

2. Make the restart button restart the instances on those providers.

I am expecting that #1 is the easier solution in the short term.

Comment 2 james labocki 2012-09-24 14:28:14 UTC
Bug for adding documentation

https://bugzilla.redhat.com/show_bug.cgi?id=859957

Comment 3 Matt Wagner 2012-10-04 18:18:53 UTC
On master and 1.1:

commit 99e964aad3270176beaec1ec0110da72038610be
Author: Tomáš Hrčka <thrcka>
Date:   Wed Oct 3 16:17:10 2012 +0200

    BZ859954 - Don't display buttons on instance card if actions are not supported
    
    https://bugzilla.redhat.com/show_bug.cgi?id=859954
    
    Signed-off-by: Matt Wagner <matt.wagner>
    (cherry picked from commit f95eb6569d4917cd4782b014f08c2dddb8b2a720)

Comment 4 Steve Linabery 2012-10-09 15:29:22 UTC
99e964a on 1.1

Comment 6 Shveta 2012-10-16 19:23:28 UTC
Created attachment 628339 [details]
rhev restart button

Restart button not displayed for RHEV instances.

Comment 7 Shveta 2012-10-16 19:24:28 UTC
Created attachment 628351 [details]
vsphere restart button

Restart button displayed for Vsphere and restarts instance if clicked.

Comment 9 errata-xmlrpc 2012-12-04 15:21:06 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.

http://rhn.redhat.com/errata/RHEA-2012-1516.html


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