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. Any ideas as to what may be the problem? Thanks.
On 3/2/07, suyash jape <suyashjape@gmail.com> wrote:> Hi all > > I have installed fedorra dcore 6 xen.First, you might try "yum update" to get current versions of everything. jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Mar-03 10:57 UTC
Re: [Xen-users] virt-install error on every restart
Jerry Amundson wrote:> On 3/2/07, suyash jape <suyashjape@gmail.com> wrote: >> Hi all >> >> I have installed fedorra dcore 6 xen. > > First, you might try "yum update" to get current versions of > everything.Never underestimate the importance of this: because Fedora Core is a testing environment, and tends to have leading edge and bleeding edge tools, it''s vital to allow the testing cycles of the rest of us Fedora Core users to fix configuration or software interface issues that are hideously difficult to find in testing cycles. By the time you got done testing them, the authors would have released entirely new and incompatible versions of software. I''ve seen this happen quite a lot with RedHat Enterprise: CentOS tries to deal with it by having an extra "centosplus" repository that contains significant updates useful to a lot of people, such as kernels that include NTFS access, more recent versions of PHP and MySQL, etc. I''d love to see them include Xen! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-Mar-03 18:31 UTC
[Fedora-xen] Re: [Xen-users] virt-install error on every restart
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 -=|
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@redhat.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
suyash jape
2007-Mar-04 05:06 UTC
[Fedora-xen] Fwd: [Xen-users] virt-install error on every restart
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@redhat.com> 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/<http://search.cpan.org/%7Edanberr/> > -=| > |=- Projects: http://freshmeat.net/~danielpb/<http://freshmeat.net/%7Edanielpb/> > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| >
Mark McLoughlin
2007-Mar-05 07:43 UTC
Re: [Fedora-xen] Re: [Xen-users] virt-install error on every restart
On Sat, 2007-03-03 at 18:31 +0000, Daniel P. Berrange wrote:> On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote:> > 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 statusAlso, any SELinux errors reported in audit.log? (In rawhide recently, xend was starting up fine, but failing create xend-socket because of an SELiunx error) Cheers, Mark.