Bug 1522951

Summary: Re-enable Web Console button.
Product: Red Hat CloudForms Management Engine Reporter: Brian McLaughlin <bmclaugh>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED ERRATA QA Contact: Vatsal Parekh <vparekh>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bmclaugh, cpelland, dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi, vparekh
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-28 13:10:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Brian McLaughlin 2017-12-06 19:40:31 UTC
Description of problem:
Web Console button remains disabled due to Role 'Cockpit' not being enabled

Version-Release number of selected component (if applicable):
5.8

How reproducible:
100%

Steps to Reproduce:
1. Go to VM/Instance with Cockpit server installed
2. Attempt to click on Web Console button, note title text
3.

Actual results:
Button is disabled.

Expected results:
Button is enabled.

Additional info:
'Cockpit' Role was added in Gaprindashvili

Comment 2 Dave Johnson 2017-12-06 19:46:24 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2017-12-11 14:34:24 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/9947a1f96b0a640f898699f5e10c8084d2b291a9

commit 9947a1f96b0a640f898699f5e10c8084d2b291a9
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Wed Dec 6 14:23:16 2017 -0500
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Wed Dec 6 14:23:16 2017 -0500

    Re-enable Web Console button
    
    There is no 'Cockpit' role to check prior to enabling this button.  The role was added in Gaprindashvili.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1522951

 .../application_helper/button/cockpit_console.rb   |  6 +-
 spec/controllers/container_node_controller_spec.rb |  1 -
 spec/controllers/vm_cloud_controller/trees_spec.rb |  1 -
 spec/controllers/vm_infra_controller/trees_spec.rb |  1 -
 spec/controllers/vm_infra_controller_spec.rb       |  1 -
 .../buttons/cockpit_console_spec.rb                | 68 ++++++----------------
 6 files changed, 21 insertions(+), 57 deletions(-)

Comment 5 Brian McLaughlin 2017-12-20 14:03:06 UTC
*** Bug 1477901 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2018-02-28 13:10:26 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-2018:0374