Bug 1533935

Summary: [Regression] VM console button is wrongly disabled based on VMware Console Support Configuration from OPS UI
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - ServiceAssignee: Allen W <awight>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: awight, bascar, cpelland, dclarizi, hkataria, kkulkarn, lavenel, mpovolny, obarenbo, ohadlevy, simaishi, vparekh
Target Milestone: GAKeywords: Regression
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1525692 Environment:
Last Closed: 2018-03-06 15:23:09 UTC Type: ---
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:
Bug Depends On: 1525692    
Bug Blocks:    

Comment 3 CFME Bot 2018-01-12 15:14:12 UTC
New commit detected on ManageIQ/manageiq-ui-service/gaprindashvili:
https://github.com/ManageIQ/manageiq-ui-service/commit/45732ad2657815d558bc033b8d7069c45c62aa0c

commit 45732ad2657815d558bc033b8d7069c45c62aa0c
Author:     Martin Hradil <himdel>
AuthorDate: Fri Jan 12 15:23:57 2018 +0100
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jan 12 10:05:45 2018 -0500

    Merge pull request #1354 from AllenBW/bug/master/#1525692-unclear-console-support
    
    BZ#1525692-Hides console buttons when indicated by server sans message
    (cherry picked from commit d21f520406b74667614cd284afee9d59f0fd17c2)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1533935

 .../services/service-details/service-details.html  | 34 +++++++++++++---------
 1 file changed, 21 insertions(+), 13 deletions(-)

Comment 4 Kedar Kulkarni 2018-01-28 02:16:33 UTC
Verified in 5.9.0.18. 

Following observations were made:

When we select "VMware VMRC Plugin" in VMware console support then "Access" button was hidden if there was no support for Cockpit(Web Console) or no message from the any of the consoles(i.e. VM Console, Web Console) support as well.

If there was any message from the the VM console, then Access button was visible and "VM Console" button would be disabled with the message in tooltip. 

Summary:
For VMware 5.5 and VMware 6.0, I was able to access VM Console as expected in "VNC" was selected in VMware Console Support setting in configuration. 

For VMware 6.5 the button was disabled with the appropriate message.