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

Hugh Brock hbrock at redhat.com
Tue Sep 18 20:00:02 UTC 2007


Cam Macdonell wrote:
> 
> 
> The VM won't start at all.  Nothing seems to point to gtk-vnc.
> 
> The libvirtd output is:
> libvir: QEMU error : QEMU quit during console startup
> Could not parse VNC address
> 
> Virt-manager pops up a console with this error:
> 
> 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
> 
> the "Details" window within the popup provides this:
> 
> Unable to start virtual machine '<class 'libvirt.libvirtError'> 
> virDomainCreate() failed QEMU quit during console startup
> Could not parse VNC address
> 
> Traceback (most recent call last):
>   File "/usr/local/share/virt-manager/virtManager/console.py", line 402, 
> in control_vm_run
>     self.vm.startup()
>   File "/usr/local/share/virt-manager/virtManager/domain.py", line 377, 
> in startup
>     self.vm.create()
>   File "/usr/local/lib/python2.5/site-packages/libvirt.py", line 228, in 
> create
>     if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
> libvirtError: virDomainCreate() failed QEMU quit during console startup
> Could not parse VNC address
> 
> My graphics line in my xml is:
> 
> <graphics type='vnc' port='5900'/>
> 
> I've also tried values 1 and -1 for port.
> 

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

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

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

Thanks,
--Hugh

> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools


-- 
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock           | virt-manager http://virt-manager.org
hbrock at redhat.com    | virtualization library http://libvirt.org




More information about the et-mgmt-tools mailing list