Bug 1535167

Summary: Change VMware console api detection from vCenter to ESXi Host
Product: Red Hat CloudForms Management Engine Reporter: Brian McLaughlin <bmclaugh>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: bmclaugh, cpelland, gscott, hkataria, jocarter, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1542239 1542240 1565776 (view as bug list) Environment:
Last Closed: 2018-08-01 02:49:06 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:
Bug Depends On:    
Bug Blocks: 1542239, 1542240, 1565776    

Description Brian McLaughlin 2018-01-16 18:38:11 UTC
Description of problem:
When connecting to a VMware console (VNC, WebMKS specifically) the api version of vCenter is checked when the Host api version is what actually determines connectivity.

A user should be able to console into a VM on a vCenter6.5/ESXi 5.5 Host setup (ie: scenario when upgrading)

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


How reproducible:


Steps to Reproduce:
1. 
2.
3.

Actual results:
VM console button disabled citing vCenter 6.5 api version

Expected results:
Check Host api version instead

Additional info:

Comment 2 Dave Johnson 2018-01-16 18:45:14 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 2018-01-23 16:57:01 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/967bd4ec9471ab4ff38d9e557ea2f0e7b540d3b5

commit 967bd4ec9471ab4ff38d9e557ea2f0e7b540d3b5
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Jan 9 09:24:49 2018 -0500
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Jan 16 13:39:51 2018 -0500

    Make VMware consoles look at Host API version instead of vCenter API version
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1535167

 app/helpers/application_helper/button/vm_console.rb               | 4 ----
 app/helpers/application_helper/button/vm_vnc_console.rb           | 6 +++++-
 app/helpers/application_helper/button/vm_webmks_console.rb        | 4 ++--
 spec/helpers/application_helper/buttons/vm_vnc_console_spec.rb    | 4 ++--
 spec/helpers/application_helper/buttons/vm_webmks_console_spec.rb | 4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)