<br><tt><font size=2>"Perry N. Myers" <pmyers@redhat.com>
wrote on 2008-08-06 01:25:41:<br>
<br>
> Guo Lian Yun wrote:<br>
> > <br>
> > Guo Lian Yun/China/IBM wrote on 2008-08-05 17:15:41:<br>
> > <br>
> >  > Hi,<br>
> >  ><br>
> >  > I try to install Ovirt on Fedora 9, but block on virt-viewer
<br>
> > installation.<br>
> >  ><br>
> >  > The other dependency packages are installed successfully.
Here is<br>
> >  > the version of them:<br>
> >  ><br>
> >  > Kernel-2.6.25-0.218.rc8.git7.fc9.x86_64<br>
> >  ><br>
> >  > kvm-65-1.fc9.x86_64<br>
> >  ><br>
> >  > libvirt-0.4.3 (installed manually in /usr dir)<br>
> > <br>
> >   I try to install it as default dir of /usr/local, but
still fails for me.<br>
> >   Is the environment variables LIBVIRT_CFLAGS and LIBVIRT_LIBS
have to set?<br>
> <br>
> You need to use libvirt from the RPM packages provided by Fedora.
 If you <br>
> don't install libvirt as an RPM then you will break dependencies for
all <br>
> other packages that are dependent on libvirt.  If you do:<br>
> <br>
> yum install libvirt libvirt-devel<br>
> <br>
> You'll get the latest version of libvirt installed and then you can
run:<br>
> <br>
> yum install virt-viewer<br>
> <br>
> And things should work fine.<br>
> <br>
> We don't support using oVirt in the way you're using it as all of
our <br>
> scripts assume that yum/rpm is being used to manage the various packages.</font></tt>
<br>
<br><tt><font size=2>  Thanks for your great help!</font></tt>
<br>
<br><tt><font size=2>  I installed successfully all dependency RPM
by yum. But it report error when </font></tt>
<br><tt><font size=2>  I'm installing Ovirt.</font></tt>
<br>
<br><tt><font size=2>1) It fails for me by running create-wui-appliance.sh
to create virtual server.</font></tt>
<br>
<br><tt><font size=2>#bash create-wui-appliance.sh -t http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/
-k http://ovirt.org/download/wui-rel-x86_64.ks -v</font></tt>
<br><tt><font size=2>Domain node3 defined from /tmp/tmp.b3q8JWVRoM</font></tt>
<br>
<br><tt><font size=2>Domain node4 defined from /tmp/tmp.jtalRXJK3k</font></tt>
<br>
<br><tt><font size=2>Domain node5 defined from /tmp/tmp.B8zlcSB1Cj</font></tt>
<br>
<br><tt><font size=2>Network dummybridge destroyed</font></tt>
<br>
<br><tt><font size=2>Network dummybridge has been undefined</font></tt>
<br>
<br><tt><font size=2>Network dummybridge defined from /tmp/tmp.s8cSkpypob</font></tt>
<br>
<br><tt><font size=2>Network dummybridge started</font></tt>
<br>
<br><tt><font size=2>Network dummybridge marked as autostarted</font></tt>
<br>
<br><tt><font size=2>Formatting '/var/lib/libvirt/images/developer.img',
fmt=qcow2, size=6144000 kB</font></tt>
<br><tt><font size=2>Wed, 06 Aug 2008 03:40:05 ERROR    virConnectOpen()
failed</font></tt>
<br><tt><font size=2>Traceback (most recent call last):</font></tt>
<br><tt><font size=2>  File "/usr/sbin/virt-install", line
496, in <module></font></tt>
<br><tt><font size=2>    main()</font></tt>
<br><tt><font size=2>  File "/usr/sbin/virt-install", line
345, in main</font></tt>
<br><tt><font size=2>    conn = cli.getConnection(options.connect)</font></tt>
<br><tt><font size=2>  File "/usr/lib/python2.5/site-packages/virtinst/cli.py",
line 92, in getConnection</font></tt>
<br><tt><font size=2>    return libvirt.open(connect)</font></tt>
<br><tt><font size=2>  File "/usr/lib64/python2.5/site-packages/libvirt.py",
line 135, in open</font></tt>
<br><tt><font size=2>    if ret is None:raise libvirtError('virConnectOpen()
failed')</font></tt>
<br><tt><font size=2>libvirtError: virConnectOpen() failed</font></tt>
<br>
<br><tt><font size=2>Who knows why it is?</font></tt>
<br>
<br><tt><font size=2>Then I try to run below command and pass for me.</font></tt>
<br>
<br><tt><font size=2>#bash create-wui-appliance.sh -d "`pwd`"
-v</font></tt>
<br>
<br><tt><font size=2>Also, I can start 'developer' successfully.</font></tt>
<br>
<br>
<br><tt><font size=2>2) I tried to invoke the main Virt page, but it fails
for me.</font></tt>
<br>
<br><tt><font size=2>#ssh -Y root@192.168.50.2 firefox (or  ssh -fY
root@192.168.50.2 firefox -no-remote)</font></tt>
<br><tt><font size=2>ssh: connect to host 192.168.50.2 port 22: No route
to host</font></tt>
<br>
<br><tt><font size=2>What's the ip refer to? Is it refer to the ip address
of my own machine?</font></tt>
<br><tt><font size=2>It still fails for me by trying conncect to myself.</font></tt>
<br>
<br><tt><font size=2>Here is the dummybridge output for my own machine.</font></tt>
<br>
<br><tt><font size=2>dummybridge Link encap:Ethernet  HWaddr 00:FF:99:97:1A:8F</font></tt>
<br><tt><font size=2>          inet addr:192.168.50.1
 Bcast:192.168.50.255  Mask:255.255.255.0</font></tt>
<br><tt><font size=2>          inet6 addr: fe80::3cb0:b6ff:feed:cab/64
Scope:Link</font></tt>
<br><tt><font size=2>          UP BROADCAST RUNNING
MULTICAST  MTU:1500  Metric:1</font></tt>
<br><tt><font size=2>          RX packets:0 errors:0
dropped:0 overruns:0 frame:0</font></tt>
<br><tt><font size=2>          TX packets:26 errors:0
dropped:0 overruns:0 carrier:0</font></tt>
<br><tt><font size=2>          collisions:0 txqueuelen:0</font></tt>
<br><tt><font size=2>          RX bytes:0 (0.0
b)  TX bytes:4427 (4.3 KiB)</font></tt>
<br>
<br><tt><font size=2>#ssh -fY root@192.168.50.1 firefox -no-remote</font></tt>
<br><tt><font size=2>Error: no display specified</font></tt>
<br>
<br><tt><font size=2>Does this fail because of putty? The set up machine
isn't on my hand, I connect to it</font></tt>
<br><tt><font size=2>by putty. Do I have to install it on my local machine?</font></tt>
<br>
<br><tt><font size=2>Here is the info of Dependency RPM version on my machine:</font></tt>
<br>
<br><tt><font size=2>kernel-2.6.25-0.218.rc8.git7.fc9.x86_64</font></tt>
<br><tt><font size=2>kvm-65-1.fc9.x86_64</font></tt>
<br><tt><font size=2>libvirt-0.4.1-4.fc9.x86_64</font></tt>
<br><tt><font size=2>virt-manager-0.5.4-2.fc9.x86_64</font></tt>
<br><tt><font size=2>virt-viewer-0.0.3-1.fc9.x86_64</font></tt>
<br>
<br><tt><font size=2>Thanks!<br>
> <br>
> Perry<br>
</font></tt>