[RHEV] Unable to connect to the guest using VNC, getting "Failed to Connect to Server!" error

Solution Verified - Updated -

Issue

Unable to connect to the guest using VNC, getting "Failed to Connect to Server!" error.

On vdsm.log of the hypervisor the VM is running on it, we can see the following error:

Thread-2227::ERROR::2011-04-03 14:32:29,917::vm::1095::vds.vmlog.6c733d14-544d-4a91-8bdc-96265b142fec::Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 1093, in _expireVncPassword
    self._changeVncPassword(otp)
  File "/usr/share/vdsm/vm.py", line 1099, in _changeVncPassword
    prompt='\nPassword: ', command2=password)
  File "/usr/share/vdsm/vm.py", line 1178, in _sendMonitorCommand
    out = self._mon.sendCommand2(command, prompt, command2, timeout)
  File "/usr/share/vdsm/QemuMonitor.py", line 152, in sendCommand2
    return monq.wait(timeout) + monq2.wait(timeout)
  File "/usr/share/vdsm/QemuMonitor.py", line 49, in wait
    raise TimeoutError()
TimeoutError

Environment

Red Hat Enterprise Virtualization (RHEV) v2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content