console doesn't work with VMware driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi!
Openstack documentation for Yoga says that about mks console access with VMware backend:
--------
MKS¶
MKS is the protocol used for accessing the console of a virtual machine running on VMware vSphere. It is very similar to VNC. Due to the architecture of the VMware vSphere hypervisor, it is not necessary to run a console proxy service.
Configuration¶
To enable the MKS console service, only the nova-compute service must be configured. All options are defined in the mks group.
The nova-compute service requires the following options to configure MKS console support.
mks.enabled
mks.mksproxy_
For example, to configure this via a nova.conf file:
[mks]
enabled = True
mksproxy_base_url = https:/
About nova-consoleauth¶
The now-removed nova-consoleauth service was previously used to provide a shared service to manage token authentication that the client proxies outlined below could leverage. Token authentication was moved to the database in 18.0.0 (Rocky) and the service was removed in 20.0.0 (Train).
-------
>>Due to the architecture of the VMware vSphere hypervisor, it is not necessary to run a console proxy service.
It seems like not true, or given information is not clear. How could it work without proxy?
vCenter mks architecture provides mks access directly to ESXi host.
https:/
and it is not acceptable for cloud solutions give an access for client to internal management networks.
I tried mksproxy module:
https:/
But it was written 6y ago and still uses consoleauth which is deprecated and removed, and therefore doesn't work.
Looks like there is no working solution for VMware backend driver to work with console.
Am I missing something?
Thanks.
tags: | added: console vmware |
I know very little about VMware but based on some searching around [1][2][3], what you need is WebMKS proxy from VMware [2]:
"...WebMKS proxy which starts proxying between client and corresponding vCenter server where instance runs. In order to use the web based console access, WebMKS proxy should be installed and configured"
It was weirdly difficult to find docs about it but these [4][5] should give some clues.
Based on this, it looks like the doc you quoted meant that you will not run any console proxy provided by nova. But you will need *a* proxy.
I suspect that the only nova issue here is a lack of clarity in the nova docs and we can update that to remove ambiguity and give more information.
Please take a look at the various docs I linked and let us know if you still have problems after getting WebMKS up and running.
I'm going to mark this bug as Incomplete while we await feedback from you. When you reply you can set the bug to New again to alert us to your response.
[1] https:/ /specs. openstack. org/openstack/ nova-specs/ specs/liberty/ implemented/ vmware- webmks- console. html /docs.openstack .org/nova/ latest/ configuration/ config. html#mks. mksproxy_ base_url /docs.openstack .org/api- ref/compute/ ?expanded= create- console- detail /vdc-download. vmware. com/vmwb- repository/ dcr-public/ 8c1815ce- 2f69-4b0b- a50c-ed8b305c22 c0/e01e3448- 99e8-4b7c- b26b-f0f02c45fb 91/GUID- 632AC4ED- 3292-4901- 8CFC-1FAC4C37DA 37.html /developer. vmware. com/web/ sdk/2.1. 0/html- console
[2] https:/
[3] https:/
[4] https:/
[5] https:/