Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 859954

Summary: Restart button is able to be clicked, but does not do anything for some providers
Product: [Retired] CloudForms Cloud Engine Reporter: james labocki <jlabocki>
Component: aeolus-conductorAssignee: Shveta <sshveta>
Status: CLOSED ERRATA QA Contact: Rehana <aeolus-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.1.0CC: asettle, dajohnso, dmacpher, juwu, lbrindle, matt.wagner, morazi, slinaber
Target Milestone: beta4Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 15:21:06 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:
Embargoed:
Attachments:
Description Flags
rhev restart button
none
vsphere restart button none

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