Bug 1006490

Summary: VNC console non-operational due to libvirt 1.0.5 (current Fedora 19 version) not supporting changing listen address
Product: [Retired] oVirt Reporter: Chris Sullivan <chris.sullivan>
Component: vdsmAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED CURRENTRELEASE QA Contact: Haim <hateya>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3CC: abaron, acathrow, bazulay, chris.sullivan, iheim, mgoldboi, michal.skrivanek, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1006697 (view as bug list) Environment:
Last Closed: 2013-10-02 07:41:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1006697    
Bug Blocks:    
Attachments:
Description Flags
ovirt-engine.log and vdsm.log excerpts at time of console connection none

Description Chris Sullivan 2013-09-10 17:30:06 UTC
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

How reproducible:
Always

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

Actual results:
On clicking console icon, dialog box appears with message:
    'VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception'

Expected results:
VNC console (either native or noVNC) should appear and be connected to the running VM

Additional info:

Comment 1 Dan Kenigsberg 2013-09-10 21:46:18 UTC
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"/>
    </graphics>, flags=0
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

Comment 2 Michal Skrivanek 2013-09-11 05:36:46 UTC
we're supposedly talking about a fix http://libvirt.org/git/?p=libvirt.git;a=commit;h=752596b5dd0b4f3d27defc9e232552ff5a0bf08a

Comment 3 Michal Skrivanek 2013-10-02 07:41:51 UTC
Fedora update now contains a fixed libvirt...(see dependent bug 1006697)