Bug 1547251 - When opening a web console to a VM via WebMKS the connection hangs on some VMs
Summary: When opening a web console to a VM via WebMKS the connection hangs on some VMs
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.8.5
Assignee: Brian McLaughlin
QA Contact: Kedar Kulkarni
URL:
Whiteboard:
Depends On:
Blocks: 1572700 1592506
TreeView+ depends on / blocked
 
Reported: 2018-02-20 20:52 UTC by Ryan Spagnola
Modified: 2022-03-13 14:42 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-19 21:51:06 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
kkulkarn: automate_bug-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3921101 0 Troubleshoot None When opening a web console to a VM via WebMKS the connection hangs on some VMs. 2019-02-19 01:57:28 UTC

Description Ryan Spagnola 2018-02-20 20:52:17 UTC
Description of problem:
When opening a web console to a VM via WebMKS the connection hangs on some VMs.  This occurs on some VMs and not others on the same hypervisor.

- We have compared VMware hardware versions and settings and cannot find a common denominator.  - We have removed a VM from CFME and allowed it to be rediscovered with no change.
- We have verified the consoles work with both VMware vCenter and ManageIQ for the same VMs.

The connection from CFME loads the new browser tab and list WebMKS and Connecting in the lower left corner but fail to ever make the connection.

Version-Release number of selected component (if applicable):
5.8.2.3
vSphere 6.5 with multiple versions of ESXi including 6 and 6.5

How reproducible:
Varies 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
* tested with Firefox on a RHEL workstation and Chrome/Safari from Mac OSX
* customer has already installed the hotfix from https://bugzilla.redhat.com/show_bug.cgi?id=1523404
and has informed that the symptoms are different now.

Comment 3 Kedar Kulkarni 2018-02-22 18:00:36 UTC
By using the solution from following article:
https://communities.vmware.com/thread/546184

I was able to get the WebMKS Console for the VMs which had issues (keep saying connecting indefinitely) were resolved. 

To access the vmx file, you can ssh to ESXi host and do: 
vi /vmfs/volumes/datastore/virtual_machine_directory/virtual_machine_name.vmx

and change the 
RemoteDisplay.vnc.enabled = "true" 

to 

RemoteDisplay.vnc.enabled = "false" 

and save the file. Note that VM needs to be powered off before you can edit the file. Thereafter WebMKS and HTML5 console should work.

Comment 8 Marianne Feifer 2018-04-17 20:58:27 UTC
Hey, Brian. This is a blocker for this release.  Build next week.  What's up?

Comment 9 Marianne Feifer 2018-04-17 20:58:44 UTC
Hey, Brian. This is a blocker for this release.  Build next week.  What's up?

Comment 10 Brian McLaughlin 2018-04-18 12:30:24 UTC
Well, I've successfully reconfigured a VM for WebMKS when attempting a WebMKS console connection to it.  Unfortunately, thus far those changes only take effect after restarting the VM.  Research is continuing.

Comment 11 Brian McLaughlin 2018-04-26 15:34:33 UTC
Comment 3 above describes the current steps to configure individual VMs for WebMKS console access.  That along with our current documentation on configuring our appliances for WebMKS consoles [1] should resolve the connection issues noted in the BZ description.

I'm currently researching/working on a way to automate that configuration when connecting to a WebMKS console (seems like an RFE), but am not confident it is possible without requiring the VM to be rebooted.

[1] https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/managing_infrastructure_and_inventory/sect_virtual_machines#configuring-the-webmks-support


Note You need to log in before you can comment on or make changes to this bug.