Description of problem:
Can't launch VNC console on a VM running on vsphere 6.
VNC console on this provider is supported and can be run on appliance version 5.10.
When trying on 22.214.171.124, this message is displayed:
"The appliance has no access to the assets required to run the WebMKS console. For more info please see the documentation."
Workaround is to have appliance version 5.10 and launch VNC console from there. Once this is done, the VNC console starts to work on this VM also on appliance version 5.11.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have vsphere 6 provider added and testing VM created
2. Navigate to the VM and try to launch console by Access -> VM Console
WebMKS warning displayed
VNC console launched
This is not actually a bug as we no longer distinguish remote console types as we did it before. There's a HTML5-based remote console and the right protocol gets selected for the given VM's settings. In this case the VNC console wasn't enabled in vSphere for your VM so it selected the WebMKS type which is always available by default. However, you were missing the assets for WebMKS so you got the error message.
Previous versions of CF had a global setting for the VMware console type (VNC, WebMKS, VMRC) and if you selected VNC, it force-enabled the VNC in some cases. However, newer versions of vSphere no longer support the VNC protocol. Therefore, even if you force-enable the VNC support, the console won't work. This is why your workaround works, but with older versions only.
Unfortunately, we can no longer force-enable the VNC support and if it has not been enabled (through the vSphere UI or maybe automate) we are stuck with WebMKS. The problem is that there's no way to determine from the VMware API that the VNC can be force-enabled or not.
The right workaround is to upload the WebMKS assets...
thank you for this explanation. Detailed info on this can be found in bz 1547251 I believe.
With the lost ability to force VNC support, I believe this is working as designed and therefore is NOTABUG.