Re: [et-mgmt-tools] virtinst-0.103.0 errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 11, 2007 at 01:23:19PM +0530, satyaakam goswami wrote:
> On 5/11/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> >On Thu, May 10, 2007 at 11:14:29PM +0530, satyaakam goswami wrote:
> >> installed xen-unstable , and xend is running
> >>
> >> # xm list
> >> Name                                      ID   Mem VCPUs      State
> >> Time(s)
> >> Domain-0                                   0     0     4     r-----    
> >985.9
> >>
> >>
> >> when i try to run virt-install i get the following error
> >>
> >> Traceback (most recent call last):
> >> File "/usr/bin/virt-install", line 630, in ?
> >>   main()
> >> File "/usr/bin/virt-install", line 489, in main
> >>   conn = libvirt.open(options.connect)
> >> File "/usr/local/lib/python2.4/site-packages/libvirt.py", line 100, in 
> >open
> >>   if ret is None:raise libvirtError('virConnectOpen() failed')
> >> libvirt.libvirtError: virConnectOpen() failed
> >
> >
> >What user did you run it as ?  Does 'virsh list' work ? What Xen version,
> >kernel version & architecture. Finally what libvirt version
> 
> i ran it as root user, i cheked out xen-unstable tree and built , i am
> trying it on RHEL 5.0 , AMD x86_64, SUN x2200  .

Hmm, did you remove the kernl-xen & xen RPMs that come with RHEL 5 before
installing the custom xen-unstable code ? In general its neccessary to
have perfectly matched versions of the hypervisor, kernel & userspace.
Also, did you install xen-unstable into regular /usr, or into a different
directory prefix ?  libvirt assumes it is in /usr when looking for the
various control sockets to xend, xenstored, etc

> virsh list gives the following errors
> #virsh list
> virsh: error: failed to connect to the hypervisor

strace virsh list

would be useful info. I suspect its failing to open one of the Xen daemon
sockets. Until virsh list works, virt-install definitely won't.

Regards,
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  -=| 


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux