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

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


ovirt-devel-bounces at redhat.com wrote on 2008-08-06 19:21:49:

> 
> "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 set?
> > 
> > You need to use libvirt from the RPM packages provided by Fedora.  If 
you 
> > 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 
packages. 
> 
>   Thanks for your great help! 
> 
>   I installed successfully all dependency RPM by yum. But it report 
> error when 
>   I'm installing Ovirt. 
> 
> 1) It fails for me by running create-wui-appliance.sh to create 
> virtual server. 
> 
> #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 
> 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> 
>     main() 
>   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 getConnection 
>     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. 
> 
  But below command fails for me:
  # virt-viewer developer
  (virt-viewer:13982): Gtk-WARNING **: cannot open display:
> 
> 2) I tried to invoke the main Virt page, but it fails for me. 
> 
> #ssh -Y root at 192.168.50.2 firefox (or  ssh -fY root at 192.168.50.2 
> firefox -no-remote) 
> ssh: connect to host 192.168.50.2 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:192.168.50.1  Bcast:192.168.50.255 
Mask:255.255.255.0 
>           inet6 addr: fe80::3cb0:b6ff:feed:cab/64 Scope:Link 
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
>           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 192.168.50.1 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: 
> 
> kernel-2.6.25-0.218.rc8.git7.fc9.x86_64 
> kvm-65-1.fc9.x86_64 
> libvirt-0.4.1-4.fc9.x86_64 
> virt-manager-0.5.4-2.fc9.x86_64 
> virt-viewer-0.0.3-1.fc9.x86_64 
> 
> Thanks!
> > 
> > Perry_______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080806/f2128bb5/attachment.htm>


More information about the ovirt-devel mailing list