Bug 1873418

Summary: Not getting HTML5 VM console option for OpenStack instance on custom user role
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Gupta <ngupta>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: juwatts
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.11.7CC: dmetzger, hkataria, mshriver, mzazrivec, simaishi, znemecko
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.9Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-05 22:04:52 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 Nikhil Gupta 2020-08-28 09:20:38 UTC
Description of problem:
HTML5 VM console option is unavailable for read only user.

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

How reproducible:
Always

Steps to Reproduce:
1. Add OpenStack cloud provider having an instance running.
2. Create a custom role with the following roles enabled only:
   - Compute -> Cloud -> Instances -> Accordions -> Instances by Provider 
   - Under 'All VM and Instance Access Rules' -> 'VM Access Rules' -> Operate
   - Select 'Console using HTML5, Console using VMRC and Cockpit console'
3. Assign this role to a user
4. To access VM console from Ops UI.

Actual results:
No option available for 'VM Console'

Expected results:
HTML5 VM console option should be available to access OpenStack instance.

Additional info:
Web Console option is available but it requires cockpit pre-configured on the VM.

Comment 4 CFME Bot 2020-09-03 16:46:03 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/245d28c9eb64408446bcc21c23a668fd3e5b5d11
commit 245d28c9eb64408446bcc21c23a668fd3e5b5d11
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Fri Aug 28 11:22:51 2020 +0000
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Fri Aug 28 11:22:51 2020 +0000

    Fix html5 console button identifier

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

 app/helpers/application_helper/toolbar/cloud/instance_operations_button_group_mixin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 CFME Bot 2020-09-30 16:55:57 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0be1957038a33c1aecee898dd4c11cc585a1832d
commit 0be1957038a33c1aecee898dd4c11cc585a1832d
Author:     Halász Dávid <skateman.github.com>
AuthorDate: Thu Sep  3 16:43:29 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Sep 30 14:03:33 2020 +0000

    Merge pull request #7281 from mzazrivec/fix_html_console_button_identifier

    Fix html5 console button identifier

    (cherry picked from commit 7d9ffb3c1d770bcb056a4d6692a19d1cb7331eaa)

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

 app/helpers/application_helper/toolbar/cloud/instance_operations_button_group_mixin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 11 errata-xmlrpc 2020-11-05 22:04:52 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 (CloudForms 5.0.9 bug fix and enhancement update), 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-2020:4967