WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems wit

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 19 Aug 2009 08:49:15 -0700 (PDT)
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Aug 2009 08:49:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250696955; bh=KD+9ZgTZn0xqJ+6bQfdhWZxtbKaIAZFoSSsjLphbAVg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=jJJxrxRebz5KTmDQkGUHSUSCdAezhH/qoF7ZA4Zu4wonhvE1G3ZwPyikmpqvgKsqYuRGiTRoZE0G64rw/HE8ZcrCBxVhrjLXqiVidpGx0tFfNMsvvKNMXmOoUIvoc3YCFVXXQLYgAl5FOOuFQgFu5WRigLWM9GcBtDVXZweeSWg=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=W42L/CJcMFZsYwGhq9+t2MsTvQ7O2bS/P3Admfv/uUrCpPldoYoXjKK/v0PzMizzmujeQYBCwcFI9ql8cKxjrCjrTdDkcWbsEL2QmIVXK+IZRe7rjCoHiV2+ax+M1rPWkPfOeVp735Kq0z8VyPxQ6n007FYR27l2sIbf0gJJB9Q=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <936209.11066.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Sorry for typo.

Source for new libvirt version should be
http://markmc.fedorapeople.org/virt-preview/f11/x86_64/
    instead of
http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/ 

Boris.

--- On Wed, 8/19/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, August 19, 2009, 11:40 AM

  Subscribed to both mailing lists and posted an extract from from xen-devel thread
Your's way to patching libvirt was chosen.

   Version of libvirt at  http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/ 
doesn't seem clear to me.
  Two qemu packages gets installed with Xen 3.4.1 and my original attempt seems
correct to me in meantime ( not to install qemu packages from link above).
 
 Both ways of obtain libvirt give same error attempting HVM DomUs creation.

 Version been built via http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/ 
appears to be able to start PV DomU install via HTTP source, but every times fails
trying to mount /boot on /dev/xvda1 right after partitioning image device.
Patching old version does allow go through PV DomU install via HTTP source.


Thanks.
Boris.

--- On Wed, 8/19/09, Pasi Kärkkäinen <pasik@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, August 19, 2009, 10:32 AM

On Wed, Aug 19, 2009 at 06:35:40AM -0700, Boris Derzhavets wrote:
> Attempt to create HVM via virt-manager aborts with message:-
>
> Unable to complete install '<class 'libvirt.libvirtError'> Domain not found: xenUnifiedDomainLookupByName
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/create.py", line 1501, in do_install
>     dom = guest.start_install(False, meter = meter)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 541, in start_install
>     return self._do_install(consolecb, meter, removeOld, wait)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 633, in _do_install
>     self.domain = self.conn.createLinux(install_xml, 0)
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 974, in createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
> libvirtError: Domain not found: xenUnifiedDomainLookupByName
>

This is getting offtopic for xen-devel .. these are issues with
libvirt/virt-tools/fedora and should be discussed on their mailinglists..

Please open a thread about that HVM problem on fedora-xen (and CC fedora-virt).

-- Pasi

> Boris
>
> --- On Wed, 8/19/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
>
> From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
> Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
> To: "Pasi Kärkkäinen" <pasik@xxxxxx>
> Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Date: Wednesday, August 19, 2009, 9:26 AM
>
> Yes, Pasi
>
>  I've loaded F11 DomU manually and changed timeout=5 then shutdown DomU and started smoothly via virt-manager.
>
> Thanks again.
> Boris.
>
> --- On Wed, 8/19/09, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>
> From: Pasi Kärkkäinen <pasik@xxxxxx>
> Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
> To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
> Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Date: Wednesday, August 19, 2009, 8:37 AM
>
> On Wed, Aug 19, 2009 at 05:21:55AM -0700, Boris Derzhavets wrote:
> > Pasi,
> >
> > Thanks  a lot a lot for your support.
> >
> >   I was able  to
>  reproduce you instructions on F11 (64-bit) instance (C2D E8400,8 GB RAM).
> >   I remind pretty clear,  that now i am experiencing the same issue as with xen-3.4.0-2.fc12.src.rpm.
> > F11 PVM been created via virt-manager, cannot be , actually, managed either via virt-manager or from command line.
> >
> > # xm start VMF11
> >
> > moves it to paused state and resuming shows :-
> >
> > [root@ServerXen341F boris]# xm list
> > Name                                          ID   Mem VCPUs      State   Time(s)
> >
>  Domain-0                                    0    6034     2     r-----    574.9
> > VMF11                                         3    2048     0     ------      0.0
> >
>
> What do you have in "xm log" ? Is the last line about running pygrub?
>
> I'm seeing an issue with F11 domU where the domU grub.conf contains
> timeout=0 and that causes pygrub to get stuck and thus prevents the domU
> from starting.. changing to timeout=5 fixes the
>  problem.
>
> I'm going to debug pygrub later today.. I believe it's a bug in pygrub.
>
> > Attempt to create HVM crashes immediately.
> >
>
> I can't test HVM guests on my testbox, it doesn't have VT support in the CPU.
>
> -- Pasi
>
> > Boris.
> >
> > P.S. I was unable to find glibc-devel.i386 for 64-bit F11 (vs F10)
> > and installed glibc-devel.i586 for rpmbuild.
> >
> > --- On Wed, 8/19/09, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> >
> > From: Pasi Kärkkäinen <pasik@xxxxxx>
> > Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
> > To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
> > Cc:
>  "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
> > Date: Wednesday, August 19, 2009, 6:27 AM
> >
> > On Wed, Aug 19, 2009 at 02:54:36AM -0700, Boris Derzhavets wrote:
> > > Pasi,
> > >
> > > I was able to install 3.4.1 Hypervisor via xen-3.4.1.src.rpm with no problems.
> > > 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 \      
> > > 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 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 last):
> > >
>    File "/usr/share/virt-manager/virtManager/create.py", line 1489, in do_install
> > >     dom = guest.start_install(False, meter = 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/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
> > >     self.domain = self.conn.createLinux(install_xml, 0)
> > >   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux
> > >     if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
> > > libvirtError: Domain not found: xenUnifiedDomainLookupByName
> > >
> > > Please advise , how to escalate it to Fedora's people ?
> > >
> >
> > I think you should
>  post to fedora-xen@xxxxxxxxxx and possibly
> > CC fedora-virt@xxxxxxxxxx.
> >
> > > Boris.
> > > P.S. Usually i installed libvirt stuff :-
> > >
> > > # yum install libvirt libvirt-python python-virtinst \
> > >
> > > virt-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.
> > > '
> >
> >
> > I was using the default libvirt from F11, but I manually added the bugfix patch:
> >
> > - Download libvirt src.rpm:
> >   ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/11/SRPMS/libvirt-0.6.2-14.fc11.src.rpm
> >
> > - install it: "rpm -i libvirt-0.6.2-14.fc11.src.rpm"
> >
> > - Copy & paste the patch to a file /root/rpmbuild/SOURCES/libvirt-bugfix-custom.patch from
> >   http://libvirt.org/git/?p=libvirt.git;a=blobdiff;f=src/xend_internal.c;h=55ffd3f9a5004e681c8ffb2279d27965eb42e956;hp=b211bb6293355bf68e33f56f947021bd7bb8e675;hb=14435163a086c0bcdff04308077fa46a5fa08bb0;hpb=fd90b67afe59265327dde7e447ea847687bd4e8d
> >
> > - Edit /root/rpmbuild/SPECS/libvirt.spec and add the patch like other
> >   patches are
>  added. You need to add one line to two different places.
> >
> > - Run "rpmbuild -bb libvirt.spec"
> >
> > - Install the bugfixed rpms from /root/rpmbuild/RPMS/i586/
> >
> > -- Pasi
> >
> >
> > >
> > > --- On Wed, 8/19/09, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> > >
> > > From: Pasi Kärkkäinen <pasik@xxxxxx>
> > > Subject: Re: [Xen-devel] pvops dom0 work roadmap / Fedora 11 libvirt problems with Xen 3.4
> > > To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
> > > Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
> > > 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
> > > > > using Xen 3.4, but after I got that patched it was all fine
> > > >
> > > > If it's possible to share your experience , i wonder does it mean, that  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 instance.
> > > >
> > >
> > > 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 causes it
> > > to crash (segfault) when virt-viewer is started. This crash only happens with Xen 3.4, not with Xen 3.3.
> > >
> > > Patch for the libvirt bug is here:
> > > http://libvirt.org/git/?p=libvirt.git;a=commit;h=14435163a086c0bcdff04308077fa46a5fa08bb0
> > >
> > > Upcoming 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.
> > >
> > > -- Pasi
> > >

> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel
> > >
> > >
> > >
> > >       
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> >
> >
> >
> >       
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
>
>
>
>       
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>