Red Hat Bugzilla – Bug 1006490
VNC console non-operational due to libvirt 1.0.5 (current Fedora 19 version) not supporting changing listen address
Last modified: 2013-10-02 03:41:51 EDT
Created attachment 796084 [details]
ovirt-engine.log and vdsm.log excerpts at time of console connection
Description of problem:
I was unable to connect to the console of a running VM through the Ovirt web interface. I received the following error via VDSM on the host (log extracts below):
error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics
I received a similar error when trying to use Spice.
Upgrading to latest libvirt (1.1.2-1) resolves the issue and VNC console connections function as expected.
Filing bug to suggest that libvirt >= 1.1.0 be required for oVirt 3.3 on Fedora 19.
Version-Release number of selected component (if applicable):
- Fedora 19 (engine and host)
- ovirt-engine 3.3.0-1
- VDSM 4.12.1
- qemu 1.4.2
- libvirt 1.0.5
Steps to Reproduce:
1. Install oVirt as normal
2. Create VM as normal, set console to VNC
3. Start VM and attempt to connect to console through oVirt web interface
On clicking console icon, dialog box appears with message:
'VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception'
VNC console (either native or noVNC) should appear and be connected to the running VM
Is there a F19 libvirt bug on this? Please open one if there is none. I do not think F19 has libvirt >= 1.1.0, so we cannot require it (yet?).
Has there been a change in the listening address, btw? There should be only a change in the passwd and its ttl.
2013-09-09 04:22:46.693+0000: 7413: debug : virDomainFree:2326 : dom=0x7fb920009eb0, (VM: name=rhev-compute-01, uuid=e69df488-ad50-4c8c-9f37-a63463a81702)
2013-09-09 04:22:46.707+0000: 7415: debug : virDomainUpdateDeviceFlags:10057 : dom=0x7fb914055890, (VM: name=rhev-compute-01, uuid=e69df488-ad50-4c8c-9f37-a63463a81702), xml=<graphics autoport="yes" keymap="en-us" passwd="igRUBsYsw5ds" passwdValidTo="2013-09-09T04:24:46" port="5900" type="vnc">
<listen address="172.30.18.244" network="vdsm-ovirtmgmt" type="network"/>
2013-09-09 04:22:46.707+0000: 7415: debug : qemuDomainObjBeginJobInternal:958 : Starting job: modify (async=none)
2013-09-09 04:22:46.707+0000: 7415: error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics
we're supposedly talking about a fix http://libvirt.org/git/?p=libvirt.git;a=commit;h=752596b5dd0b4f3d27defc9e232552ff5a0bf08a
Fedora update now contains a fixed libvirt...(see dependent bug 1006697)