<br><font size=2 face="sans-serif"><br>
</font>
<br>
<br><tt><font size=2>ovirt-devel-bounces@redhat.com wrote on 2008-08-06
19:21:49:<br>
<br>
> <br>
> "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 <br>
> fails for me.<br>
> > >   Is the environment variables LIBVIRT_CFLAGS and LIBVIRT_LIBS
<br>
> 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. <br>
> <br>
>   Thanks for your great help! <br>
> <br>
>   I installed successfully all dependency RPM by yum. But it
report <br>
> error when <br>
>   I'm installing Ovirt. <br>
> <br>
> 1) It fails for me by running create-wui-appliance.sh to create <br>
> virtual server. <br>
> <br>
> #bash create-wui-appliance.sh -t http://download.fedora.redhat.<br>
> com/pub/fedora/linux/releases/9/Fedora/x86_64/os/ -k http://ovirt.<br>
> org/download/wui-rel-x86_64.ks -v <br>
> Domain node3 defined from /tmp/tmp.b3q8JWVRoM <br>
> <br>
> Domain node4 defined from /tmp/tmp.jtalRXJK3k <br>
> <br>
> Domain node5 defined from /tmp/tmp.B8zlcSB1Cj <br>
> <br>
> Network dummybridge destroyed <br>
> <br>
> Network dummybridge has been undefined <br>
> <br>
> Network dummybridge defined from /tmp/tmp.s8cSkpypob <br>
> <br>
> Network dummybridge started <br>
> <br>
> Network dummybridge marked as autostarted <br>
> <br>
> Formatting '/var/lib/libvirt/images/developer.img', fmt=qcow2, size=6144000
kB<br>
> Wed, 06 Aug 2008 03:40:05 ERROR    virConnectOpen() failed
<br>
> Traceback (most recent call last): <br>
>   File "/usr/sbin/virt-install", line 496, in <module>
<br>
>     main() <br>
>   File "/usr/sbin/virt-install", line 345, in main
<br>
>     conn = cli.getConnection(options.connect) <br>
>   File "/usr/lib/python2.5/site-packages/virtinst/cli.py",
line 92, <br>
> in getConnection <br>
>     return libvirt.open(connect) <br>
>   File "/usr/lib64/python2.5/site-packages/libvirt.py",
line 135, in open <br>
>     if ret is None:raise libvirtError('virConnectOpen()
failed') <br>
> libvirtError: virConnectOpen() failed <br>
> <br>
> Who knows why it is? <br>
> <br>
> Then I try to run below command and pass for me. <br>
> <br>
> #bash create-wui-appliance.sh -d "`pwd`" -v <br>
> <br>
> Also, I can start 'developer' successfully. <br>
> </font></tt>
<br><tt><font size=2>  But below command fails for me:</font></tt>
<br><tt><font size=2>  # virt-viewer developer</font></tt>
<br><tt><font size=2>  (virt-viewer:13982): Gtk-WARNING **: cannot
open display:<br>
> <br>
> 2) I tried to invoke the main Virt page, but it fails for me. <br>
> <br>
> #ssh -Y root@192.168.50.2 firefox (or  ssh -fY root@192.168.50.2
<br>
> firefox -no-remote) <br>
> ssh: connect to host 192.168.50.2 port 22: No route to host <br>
> <br>
> What's the ip refer to? Is it refer to the ip address of my own machine?
<br>
> It still fails for me by trying conncect to myself. <br>
> <br>
> Here is the dummybridge output for my own machine. <br>
> <br>
> dummybridge Link encap:Ethernet  HWaddr 00:FF:99:97:1A:8F <br>
>           inet addr:192.168.50.1  Bcast:192.168.50.255
 Mask:255.255.255.0 <br>
>           inet6 addr: fe80::3cb0:b6ff:feed:cab/64
Scope:Link <br>
>           UP BROADCAST RUNNING MULTICAST
 MTU:1500  Metric:1 <br>
>           RX packets:0 errors:0 dropped:0
overruns:0 frame:0 <br>
>           TX packets:26 errors:0 dropped:0
overruns:0 carrier:0 <br>
>           collisions:0 txqueuelen:0 <br>
>           RX bytes:0 (0.0 b)  TX bytes:4427
(4.3 KiB) <br>
> <br>
> #ssh -fY root@192.168.50.1 firefox -no-remote <br>
> Error: no display specified <br>
> <br>
> Does this fail because of putty? The set up machine isn't on my <br>
> hand, I connect to it <br>
> by putty. Do I have to install it on my local machine? <br>
> <br>
> Here is the info of Dependency RPM version on my machine: <br>
> <br>
> kernel-2.6.25-0.218.rc8.git7.fc9.x86_64 <br>
> kvm-65-1.fc9.x86_64 <br>
> libvirt-0.4.1-4.fc9.x86_64 <br>
> virt-manager-0.5.4-2.fc9.x86_64 <br>
> virt-viewer-0.0.3-1.fc9.x86_64 <br>
> <br>
> Thanks!<br>
> > <br>
> > Perry_______________________________________________<br>
> Ovirt-devel mailing list<br>
> Ovirt-devel@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/ovirt-devel<br>
</font></tt>