WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] virt-install error on every restart
From: "suyash jape" <suyashjape@xxxxxxxxx>
Date: Sun, 4 Mar 2007 00:28:20 +0530
Delivery-date: Sat, 03 Mar 2007 10:57:38 -0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DahQXlit2AJBhzigp+SFUNnztePkGEwSNM6aWdXQywRjwrBi6vvteyqrEPBNMFsW72lslqq7kNwmRmFWkfCZUOY7QmSc5qzzOd4yh/pvoX3pNlaxY7JXSQUb3yay+BPOQVB7V47yUpiMeOU5ggEhYySjOWkI482CCwQaw8uyKKo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eWCA072O0MGBtzAxRWq/s/msrGUQWqHp/CFWkuzLJ67Qc/YZ/a3fVgE5rxWo2baSH6cC7/WF131aWf79kQkSPGs34wX8J1f5vH+epRrAbXWWUO7ib8ScyfDLA+PSg7mqCUjbdomX9/RqAsBAzkyppG5Mvm21t0hjCfqe7byu1AU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070303183138.GA1895@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <16314edc0703022123t5182ef5u6cf24a970d64da33@xxxxxxxxxxxxxx> <20070303183138.GA1895@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi  Mr Berrange,

XenD is running fine.
 I am also able to boot up domains i had installed before virt-install started giving this  error. These are the domains i had installed with that virt-install itself !
All the other xm commands are also running fine.( xm list, xm create ,xm top and so on).
Only virt-install/xenguest-install seems to have stopped working after restart !

I even updated xen and libvirt with yum.
yum update libvirt.
yum update xen.

But even this new  combination behaves the same way on restart.

Thanks.......

On 3/4/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote:
> Hi all
>
> I have installed fedorra dcore 6 xen.
> [root@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@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@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@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  -=|

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users