From: Boris Derzhavets Subject: Re: pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4 Date: Wed, 19 Aug 2009 03:14:21 -0700 (PDT) Message-ID: <998375.60310.qm@web56101.mail.re3.yahoo.com> References: <537012.78126.qm@web56105.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0218121985==" Return-path: In-Reply-To: <537012.78126.qm@web56105.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============0218121985== Content-Type: multipart/alternative; boundary="0-2033823907-1250676861=:60310" --0-2033823907-1250676861=:60310 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable At page http://markmc.fedorapeople.org/virt-preview/f11/src/ :- bochs-2.3.8-0.8.git04387139e3b.fc11.src.rpm 31-Jul-2009 15:39 3.9M =20 libvirt-0.7.0-3.fc11.src.rpm 10-Aug-2009 10:34 7.6M =20 python-virtinst-0.500.0-1.fc11.src.rpm 29-Jul-2009 13:39 453K =20 qemu-0.10.91-0.5.rc1.fc11.src.rpm 07-Aug-2009 09:51 4.2M =20 virt-manager-0.8.0-1.fc11.src.rpm 29-Jul-2009 13:40 2.0M =20 virt-viewer-0.2.0-1.fc11.src.rpm 29-Jul-2009 14:56 327K =20 I believe qemu installation was skipped Boris. --- On Wed, 8/19/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt proble= ms with Xen 3.4 To: "Pasi K=E4rkk=E4inen" Cc: "Xen-devel" Date: Wednesday, August 19, 2009, 5:54 AM Pasi, I was able to install 3.4.1 Hypervisor via xen-3.4.1.src.rpm with no proble= ms. Rebooted into Xen Host with 2.6.30.3 xenified aka Suse kernel. Fine. Downloaded from http://markmc.fedorapeople.org/virt-preview/f11/x86_64/ and installed (pretty recent - 08/10/2009) :- yum install libvirt-0.7.0-3.fc11.x86_64.rpm \=A0=A0=A0=A0=A0=A0=20 libvirt-client-0.7.0-3.fc11.x86_64.rpm \ libvirt-devel-0.7.0-3.fc11.x86_64.rpm \ libvirt-python-0.7.0-3.fc11.x86_64.rpm \ python-virtinst-0.500.0-1.fc11.noarch.rpm \ virt-manager-0.8.0-1.fc11.noarch.rpm \ virt-viewer-0.2.0-1.fc11.x86_64.rpm [root@ServerXen341F Download]# rpm -qa|grep=0A virt libvirt-0.7.0-3.fc11.x86_64 libvirt-devel-0.7.0-3.fc11.x86_64 python-virtinst-0.500.0-1.fc11.noarch virt-manager-0.8.0-1.fc11.noarch virt-viewer-0.2.0-1.fc11.x86_64 libvirt-python-0.7.0-3.fc11.x86_64 libvirt-client-0.7.0-3.fc11.x86_64 Then i was able to connect to xend via virt-manager and attempted to start = building OSOL HVM. Got an error at startup:- Unable to complete install ' Domain not found= : xenUnifiedDomainLookupByName Traceback (most recent call last): =A0 File "/usr/share/virt-manager/virtManager/create.py", line 1489, in do_= install =A0=A0=A0 dom =3D guest.start_install(False, meter =3D meter) =A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in= start_install =A0=A0=A0 return self._do_install(consolecb, meter, removeOld, wait) =A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in= =0A _do_install =A0=A0=A0 self.domain =3D self.conn.createLinux(install_xml, 0) =A0 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in cre= ateLinux =A0=A0=A0 if ret is None:raise libvirtError('virDomainCreateLinux() failed'= , conn=3Dself) libvirtError: Domain not found: xenUnifiedDomainLookupByName Please advise , how to escalate it to Fedora's people ? Boris. P.S. Usually i installed libvirt stuff :- # yum install libvirt libvirt-python python-virtinst \ =0Avirt-manager virt-viewer To apply patch manually i need a kind of libvirt.src.rpm. I don't track Fedora so close to be aware of this. ' --- On Wed, 8/19/09, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt proble= ms with Xen 3.4 To: "Boris Derzhavets" Cc: "Xen-devel" Date: Wednesday, August 19, 2009, 3:09 AM On Tue, Aug 18, 2009 at 09:16:08PM -0700, Boris Derzhavets wrote: > >There was a bug in libvirt of F11 dom0 causing virt-viewer to crash when= =20 > > using Xen 3.4, but after I got that patched it was all fine >=20 > If it's possible to share your experience , i=0A wonder does it mean, tha= t=A0 you've got xen-3.4.0-2.fc12.src.rpm working on F11 (32-bit) ? > I was unable to connect to xend when starting virt-manager after xen-3.4.= 0-2.fc12.src.rpm install ( along with generated packages) on 64-bit F11 ins= tance. >=20 I grabbed Xen 3.4.1-1 src.rpm from: http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/ and rebuilt that for F11. The next problem was that libvirt package in Fedora 11 has a bug, which cau= ses it to crash (segfault) when virt-viewer is started. This crash only happens wi= th Xen 3.4, not with Xen 3.3. Patch for the libvirt bug is here: http://libvirt.org/git/?p=3Dlibvirt.git;a=3Dcommit;h=3D14435163a086c0bcdff0= 4308077fa46a5fa08bb0 Upcoming=0A libvirt update for F11 will fix this. After manually applying t= hat patch and rebuilding libvirt I'm now able to successfully install new guest= s using virt-install and connect to their console by virt-viewer. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-2033823907-1250676861=:60310 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
At page http://markmc.fedorapeople.org/virt-p= review/f11/src/ :-

bochs-2.3.8=
-0.8.git04387139e3b.fc11.src.rpm 31-Jul-2009 15:39  3.9M  
libvirt-0.7.0-3.fc11.src.rpm 10-Aug-2009 10:3= 4 7.6M
python-virtinst-0.500.0-1.fc11.src= .rpm 29-Jul-2009 13:39 453K
qemu-0.10= .91-0.5.rc1.fc11.src.rpm 07-Aug-2009 09:51 4.2M
virt-manager-0.8.0-1.fc11.src.rpm 29-Jul= -2009 13:40 2.0M
virt-viewer-0.2.0-1.fc11.src.r= pm 29-Jul-2009 14:56 327K

I believe qemu ins= tallation was skipped

Boris.
--- On Wed, 8/19/09, Boris Derzha= vets <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject= : Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with= Xen 3.4
To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: "Xen-deve= l" <xen-devel@lists.xensource.com>
Date: Wednesday, August 19, 200= 9, 5:54 AM

Pasi,

I was able to install 3.4.= 1 Hypervisor via xen-3.4.1.src.rpm with no problems.
Rebooted into Xen H= ost with 2.6.30.3 xenified aka Suse kernel. Fine.

Downloaded from ht= tp://markmc.fedorapeople.org/virt-preview/f11/x86_64/
and installed (pre= tty recent - 08/10/2009) :-

yum install libvirt-0.7.0-3.fc11.x86_64.= rpm \      
libvirt-client-0.7.0-3.fc11.x= 86_64.rpm \
libvirt-devel-0.7.0-3.fc11.x86_64.rpm \
libvirt-python-0.= 7.0-3.fc11.x86_64.rpm \
python-virtinst-0.500.0-1.fc11.noarch.rpm \
v= irt-manager-0.8.0-1.fc11.noarch.rpm \
virt-viewer-0.2.0-1.fc11.x86_64.rp= m

[root@ServerXen341F Download]# rpm -qa|grep=0A virt
libvirt-0.7= .0-3.fc11.x86_64
libvirt-devel-0.7.0-3.fc11.x86_64
python-virtinst-0.= 500.0-1.fc11.noarch
virt-manager-0.8.0-1.fc11.noarch
virt-viewer-0.2.= 0-1.fc11.x86_64
libvirt-python-0.7.0-3.fc11.x86_64
libvirt-client-0.7= .0-3.fc11.x86_64

Then i was able to connect to xend via virt-manager= and attempted to start building
OSOL HVM. Got an error at startup:-
=
Unable to complete install '<class 'libvirt.libvirtError'> Domain= not found: xenUnifiedDomainLookupByName
Traceback (most recent call las= t):
  File "/usr/share/virt-manager/virtManager/create.py", line 14= 89, in do_install
    dom =3D guest.start_install(False, = meter =3D meter)
  File "/usr/lib/python2.6/site-packages/virtinst/= Guest.py", line 628, in start_install
    return self._do= _install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python= 2.6/site-packages/virtinst/Guest.py", line 726, in=0A _do_install
 =    self.domain =3D self.conn.createLinux(install_xml, 0)
 = ; File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in creat= eLinux
    if ret is None:raise libvirtError('virDomainCr= eateLinux() failed', conn=3Dself)
libvirtError: Domain not found: xenUni= fiedDomainLookupByName

Please advise , how to escalate it to Fedora'= s people ?

Boris.
P.S. Usually i installed libvirt stuff :-
# yum install libvirt libvirt-python python-virtinst \
=0Avirt-m= anager virt-viewer

To apply patch manually i need a kind of libvirt.= src.rpm.
I don't track Fedora so close to be aware of this.
'<= br>
--- On Wed, 8/19/09, Pasi K=E4rkk=E4inen <pasik@iki.fi><= /i> wrote:

From: Pasi K=E4rkk=E4inen &l= t;pasik@iki.fi>
Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fe= dora 11 libvirt problems with Xen 3.4
To: "Boris Derzhavets" <bderzha= vets@yahoo.com>
Cc: "Xen-devel" <xen-devel@lists.xensource.com>=
Date: Wednesday, August 19, 2009, 3:09 AM

On Tue, Aug 18, 2009 at 09:16:08PM -0700, Boris Derzhavets wrote:
>= ; >There was a bug in libvirt of F11 dom0 causing virt-viewer to crash w= hen
> > using Xen 3.4, but after I got that patched it was all fi= ne
>
> If it's possible to share your experience , i=0A wonder= does it mean, that  you've got xen-3.4.0-2.fc12.src.rpm working on F1= 1 (32-bit) ?
> I was unable to connect to xend when starting virt-man= ager after xen-3.4.0-2.fc12.src.rpm install ( along with generated packages= ) on 64-bit F11 instance.
>

I grabbed Xen 3.4.1-1 src.rpm fro= m:
http://kojipkgs.fedoraproject.org/pa= ckages/xen/3.4.1/1.fc12/

and rebuilt that for F11.

The ne= xt problem was that libvirt package in Fedora 11 has a bug, which causes it=
to crash (segfault) when virt-viewer is started. This crash only happen= s with Xen 3.4, not with Xen 3.3.

Patch for the libvirt bug is here:=
http://libvirt.org/git/?p=3Dlibvirt.git;a=3D= commit;h=3D14435163a086c0bcdff04308077fa46a5fa08bb0

Upcoming=0A = libvirt update for F11 will fix this. After manually applying that
patch= and rebuilding libvirt I'm now able to successfully install new guests
= using virt-install and connect to their console by virt-viewer.

-- P= asi

_______________________________________________
Xen-devel mai= ling list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A

-----Inline Attachment Follows-= ----

______________________________________= _________
Xen-devel mailing list
Xen= -devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-2033823907-1250676861=:60310-- --===============0218121985== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0218121985==--