[et-mgmt-tools] Virt-manager won't connect to Xen hypervisor

Steve Brueckner steve at atc-nycorp.com
Thu Jun 14 17:04:51 UTC 2007


Hugh Brock wrote:
> Steve Brueckner wrote:
>> I've installed Fedora 7, Xen 3.1 (from source), and virt-manager 0.4
>> (from rpms).  The machine is VMX/VT-x capable.  I have managed to
>> build and run a paravirtualized Linux guest just fine.  Now I want to
>> build an HVM Linux guest, but virt-manager tells me "unable to open a
>> connection to the Xen hypervisor/daemon."  I've confirmed that both
>> xend and libvirtd are running. 
>> 
> We're going to need some more information: /var/log/xend/xend.log,
> /root/.virt-manager/virt-manager.log, and the libvirt version you are
> using. Are you using our xen 3.1 package (from Fedora 7) or
> XenSource's?   
> 
I've attached the logs you requested, plus 4 xen config files in case 
the problem lies there.

I get no messages in /var/log/xend/xend.log when trying to use virt-
manager (not on app startup, not when error occurs, not on app 
shutdown).  But there are a whole lot of warnings about failed API calls 
during initial xend startup.

Since my first message, I have yum-updated my machine and now get a 
warning when starting virt-manager on the command line.  This warning 
seems unrelated to the connection problem, however:
-------------------->8------------------
***MEMORY-WARNING***: virt-manager.py[4554]: GSlice: g_thread_init() 
must be called before all other GLib functions; memory corruption due to 
late invocation of g_thread_init() has been detected; this program is 
likely to crash, leak or unexpectedly abort soon...
--------------------8<------------------

Here is my configuration:
Fedora 7   (fully updated)
Xen 3.1    (installed from XenSource tarball using vanilla kernel)
python-virtinst-0.103.0-3.fc7 (installed from Fedora 7 rpm)
libvirt-0.2.3-1.fc8           (installed from Fedora 7 rpm)
libvirt-python-0.2.3-1.fc8    (installed from Fedora 7 rpm)
virt-manager-0.4.0-2.fc7      (installed from Fedora 7 rpm)

I had to install Xen from source because the Fedora 7 rpms didn't work 
on my hardware: dom0 wouldn't boot.  This isn't the usual misconfigured 
grub or missing initrd or anything...this is an early hardware detection 
error.  I've been dealing with such errors for a while: Linux doesn't 
always play nicely with the new Intel 965 boards and also gets confused 
by sata optical drives.

It occurs to me that xend used to have 2 different connection options.  
Does it still?  Do I need to change a setting in one of the xend, xm, or 
xenapi config files?

Thanks,

Steve Brueckner, ATC-NY

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xm-config-xenapi.xml
Type: application/octet-stream
Size: 1545 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xm-config.xml
Type: application/octet-stream
Size: 1559 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xend-config-xenapi.sxp
Type: application/octet-stream
Size: 7001 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xend-config.sxp
Type: application/octet-stream
Size: 7028 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-manager.log
Type: application/octet-stream
Size: 1562 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xend.log
Type: application/octet-stream
Size: 3823 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070614/d23a238e/attachment-0005.obj>


More information about the et-mgmt-tools mailing list