[et-mgmt-tools] virtmanager error when trying to connect on Ubuntu

Cam Macdonell cam at cs.ualberta.ca
Tue Sep 18 21:17:00 UTC 2007


Hugh Brock wrote:

> That's pretty strange, particularly
> 
>  > virDomainCreate() failed QEMU quit during console startup
>  > Could not parse VNC addresssudo echo 1 >> /proc/sys/net/ipv4/ip_forward
>  > sudo /sbin/iptables -t nat -A POSTROUTING -s 192.168.21.150 -j 
> MASQUERADE
> 

Ahh, my mistake, reckless cutting and pasting.  The error was this:

virDomainCreate() failed QEMU quit during console startup
Could not parse VNC address

> Can you post your entire domain XML and anything relevant at the end of 
> /root/.virt-manager/virt-manager.log please?

Here's my XML domain.  I grabbed it off of libvirt's documentation.  I'm 
not sure what uuid should be.  If you could explain that, that would be 
great too.

cam at madhatter:~/KVM/feisty$ cat kvm-feisty.xml
<domain type='kvm'>
   <name>kvm-feisty</name>
   <uuid>4dea24b3-1d52-d8f3-2516-782e98a23fa0</uuid>
   <memory>393216</memory>
   <vcpu>1</vcpu>
   <os>
     <type>hvm</type>
   </os>
   <clock sync="localtime"/>
   <devices>
     <emulator>/usr/local/kvm/bin/qemu-system-x86_64</emulator>
     <disk type='file' device='disk'>
       <source file='/home/cam/KVM/feisty/feisty.img'/>
       <target dev='hda'/>
     </disk>
     <interface type='user'>
       <mac address='52:54:00:12:34:60'/>
     </interface>
     <graphics type='vnc' port='5900'/>
   </devices>
</domain>

> 
> Could you also try starting the guest from the command line with "virsh 
> start <guest-name>"  and post the output from that?

It's the same error from the command line:

cam at madhatter:~/KVM/feisty$ sudo virsh -c qemu:///system start kvm-feisty
Password:
libvir: QEMU error : QEMU quit during console startup
Could not parse VNC address
error: Failed to start domain kvm-feisty

libvirtd spits out the same error as before:

virDomainCreate() failed QEMU quit during console startup
Could not parse VNC address

Thanks again,
Cam




More information about the et-mgmt-tools mailing list