Bug 1278368

Summary: OpenStack Platform Director nodes should not show any power actions in the nested list ( when you click e.g. on nodes in provider or cluster)
Product: Red Hat CloudForms Management Engine Reporter: Marius Cornea <mcornea>
Component: UI - OPSAssignee: Ladislav Smola <lsmola>
Status: CLOSED ERRATA QA Contact: Pete Savage <psavage>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, gblomqui, hkataria, jhardy, mpovolny, obarenbo, simaishi, tcarlin
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: 5.5.0.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:44:28 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:

Description Marius Cornea 2015-11-05 10:55:28 UTC
Description of problem:
We currently don't support any power actions for the OpenStack Platform Director nodes. When going to the node list and selecting one node(click on the checkbox), the Power dropdown menu shows a complete set of actions which don't do anything for the nodes. 

Version-Release number of selected component (if applicable):
5.5.0.9-beta2.20151102161742_5530c9a

How reproducible:
100%

Steps to Reproduce:
1. Add an OpenStack Platform Director provider.
2. Go to the nodes list
3. Select the check box associated to one of the nodes
4. Go to the Power menu

Actual results:
The dropdown menu shows a complete set of power actions which the nodes don't support.

Expected results:
The dropdown menu doesn't show any actions as it currently does when going to the node details.

Comment 2 Greg Blomquist 2015-11-05 15:16:06 UTC
Ladas, I think that the OpenStack Infra models here have to indicate that it doesn't support certain power actions so the UI can show the correct buttons.

Comment 3 Marius Cornea 2015-11-09 11:30:38 UTC
lsmola: I can fix thsi only in nested list https://bugzilla.redhat.com/show_bug.cgi?id=1278368               
lsmola: so not in top level nodes, since that can be shared with many other nodes                            
lsmola: and they don't currently do actions filtering based on selected items                                
lsmola: could you change this one just for nested list (when you click e.g. on ndoes in provider or cluster) 

I changed the title for the existing ticket to fix the issue in the nested lists(when you click e.g. on ndoes in provider or cluster). 

I'm going to open an RFE for getting a fix for the top level list.

Comment 5 CFME Bot 2015-11-11 23:00:25 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e2a54cabf20c504e2a0bbf04429477c245aa9e78

commit e2a54cabf20c504e2a0bbf04429477c245aa9e78
Author:     Ladislav Smola <lsmola>
AuthorDate: Mon Nov 9 12:25:52 2015 +0100
Commit:     Ladislav Smola <lsmola>
CommitDate: Mon Nov 9 12:26:22 2015 +0100

    Openstack Infra hide power actions in host list
    
    Openstack Infra hide power actions in host list
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1278368

 app/helpers/application_helper/toolbar_builder.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 7 CFME Bot 2015-11-16 21:17:20 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7cb05427fd59e1f13a9cacbb7143a4394413fbb4

commit 7cb05427fd59e1f13a9cacbb7143a4394413fbb4
Author:     Ladislav Smola <lsmola>
AuthorDate: Mon Nov 9 12:25:52 2015 +0100
Commit:     Ladislav Smola <lsmola>
CommitDate: Fri Nov 13 09:56:53 2015 +0100

    Openstack Infra hide power actions in host list
    
    Openstack Infra hide power actions in host list
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1278368

 app/helpers/application_helper/toolbar_builder.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 8 CFME Bot 2015-11-16 21:19:24 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=aa54779496201bf45bf2d4d86b0ebdda9092a0b9

commit aa54779496201bf45bf2d4d86b0ebdda9092a0b9
Merge: 36b4376 7cb0542
Author:     Greg Blomquist <gblomqui>
AuthorDate: Sun Nov 15 17:54:37 2015 -0500
Commit:     Greg Blomquist <gblomqui>
CommitDate: Sun Nov 15 17:54:37 2015 -0500

    Merge branch 'bz1278368' into '5.5.z'
    
    Openstack Infra hide power actions in host list
    
    Openstack Infra hide power actions in host list
    
    Clean cherry-pick from:
    https://github.com/ManageIQ/manageiq/pull/5348
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1278368
    
    See merge request !435

 app/helpers/application_helper/toolbar_builder.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 9 Pete Savage 2015-11-20 13:39:43 UTC
Verified in 5.5.0.11

Comment 11 errata-xmlrpc 2015-12-08 13:44:28 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/RHSA-2015:2551