[Ovirt-devel] Re: blocked on virt-viewer in Ovirt install preparation

Guo Lian Yun yunguol at cn.ibm.com
Wed Aug 6 11:21:49 UTC 2008

"Perry N. Myers" <pmyers at redhat.com> wrote on 2008-08-06 01:25:41:

> Guo Lian Yun wrote:
> > 
> > Guo Lian Yun/China/IBM wrote on 2008-08-05 17:15:41:
> > 
> >  > Hi,
> >  >
> >  > I try to install Ovirt on Fedora 9, but block on virt-viewer 
> > installation.
> >  >
> >  > The other dependency packages are installed successfully. Here is
> >  > the version of them:
> >  >
> >  > Kernel-2.6.25-0.218.rc8.git7.fc9.x86_64
> >  >
> >  > kvm-65-1.fc9.x86_64
> >  >
> >  > libvirt-0.4.3 (installed manually in /usr dir)
> > 
> >   I try to install it as default dir of /usr/local, but still fails 
for me.
> >   Is the environment variables LIBVIRT_CFLAGS and LIBVIRT_LIBS have to 
> You need to use libvirt from the RPM packages provided by Fedora.  If 
> don't install libvirt as an RPM then you will break dependencies for all 

> other packages that are dependent on libvirt.  If you do:
> yum install libvirt libvirt-devel
> You'll get the latest version of libvirt installed and then you can run:
> yum install virt-viewer
> And things should work fine.
> We don't support using oVirt in the way you're using it as all of our 
> scripts assume that yum/rpm is being used to manage the various 

  Thanks for your great help!

  I installed successfully all dependency RPM by yum. But it report error 
  I'm installing Ovirt.

1) It fails for me by running create-wui-appliance.sh to create virtual 

#bash create-wui-appliance.sh -t 
-k http://ovirt.org/download/wui-rel-x86_64.ks -v
Domain node3 defined from /tmp/tmp.b3q8JWVRoM

Domain node4 defined from /tmp/tmp.jtalRXJK3k

Domain node5 defined from /tmp/tmp.B8zlcSB1Cj

Network dummybridge destroyed

Network dummybridge has been undefined

Network dummybridge defined from /tmp/tmp.s8cSkpypob

Network dummybridge started

Network dummybridge marked as autostarted

Formatting '/var/lib/libvirt/images/developer.img', fmt=qcow2, 
size=6144000 kB
Wed, 06 Aug 2008 03:40:05 ERROR    virConnectOpen() failed
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 496, in <module>
  File "/usr/sbin/virt-install", line 345, in main
    conn = cli.getConnection(options.connect)
  File "/usr/lib/python2.5/site-packages/virtinst/cli.py", line 92, in 
    return libvirt.open(connect)
  File "/usr/lib64/python2.5/site-packages/libvirt.py", line 135, in open
    if ret is None:raise libvirtError('virConnectOpen() failed')
libvirtError: virConnectOpen() failed

Who knows why it is?

Then I try to run below command and pass for me.

#bash create-wui-appliance.sh -d "`pwd`" -v

Also, I can start 'developer' successfully.

2) I tried to invoke the main Virt page, but it fails for me.

#ssh -Y root at firefox (or  ssh -fY root at firefox 
ssh: connect to host port 22: No route to host

What's the ip refer to? Is it refer to the ip address of my own machine?
It still fails for me by trying conncect to myself.

Here is the dummybridge output for my own machine.

dummybridge Link encap:Ethernet  HWaddr 00:FF:99:97:1A:8F
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::3cb0:b6ff:feed:cab/64 Scope:Link
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4427 (4.3 KiB)

#ssh -fY root at firefox -no-remote
Error: no display specified

Does this fail because of putty? The set up machine isn't on my hand, I 
connect to it
by putty. Do I have to install it on my local machine?

Here is the info of Dependency RPM version on my machine:


> Perry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080806/2563c44d/attachment.htm>

More information about the ovirt-devel mailing list