[Fedora-xen] Re: [Xen-users] virt-install error on every restart

Daniel P. Berrange berrange at redhat.com
Sat Mar 3 18:31:38 UTC 2007


On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote:
> Hi all
> 
> I have installed fedorra dcore 6 xen.
> [root at localhost ~]# uname -a
> Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19
> EDT 2006 i686 i686 i386 GNU/Linux
> 
> [root at localhost ~]# rpm -qa|grep xen
> kernel-xen-2.6.18-1.2798.fc6
> xen-3.0.3-0.1.rc3
> xen-libs-3.0.3-0.1.rc3
> 
> [root at localhost ~]# rpm -qa|grep libvirt
> libvirt-0.1.7-2
> libvirt-python-0.1.7-2
> 
> 
> virt-install  works the first time i boot...but on restart it gives the
> following error:
> 
> [root at localhost ~]# virt-install
> Traceback (most recent call last):
>  File "/usr/sbin/virt-install", line 396, in ?
>    main()
>  File "/usr/sbin/virt-install", line 329, in main
>    guest = virtinst.ParaVirtGuest()
>  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line
> 37, in                                             __init__
>    XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI)
>  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 174, in
> __i                                            nit__
>    self.conn = libvirt.open(hypervisorURI)
>  File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open
>    if ret is None:raise libvirtError('virConnectOpen() failed')
> libvirt.libvirtError: virConnectOpen() failed
> 
> I removed xen and reinstalled it with yum. Again it works the first time but
> gives error on restart.

So is XenD actually still running ? That error message indicates libvirt
was unable to connect to XenD. What does the following say

   service xend status 

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the Fedora-xen mailing list