[Libvir] Issue with creating domains that use pygrub

Chris Halstead chris at sourcelabs.com
Tue Jan 30 19:22:36 UTC 2007


NM - found it.  The grub.conf in the image was configured with
'root=LABEL=/' and the label on the disk image didn't match.  Works now...

Thanks,

C. Halstead <chris at sourcelabs.com>
SourceLabs - http://www.sourcelabs.com
Dependable Open Source Systems


On 1/30/07 10:51 AM, "Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Tue, Jan 30, 2007 at 10:39:05AM -0800, Chris Halstead wrote:
>> I'm stumped.  I'm trying to automate creation of domains through libvirt and
>> the Python bindings, but I'm having trouble getting things to work when
>> using pygrub.
>> 
>> If I define an XML-described domain and use
>> <bootloader>/usr/bin/pygrub</bootloader> the domain tries to start and then
>> immediately crashes.  Using explicit local-pathed vmlinuz/initrd without the
>> bootloader element works just fine.  Am I missing something?
> 
> Not sure - which bit crashes ? Pygrub, or XenD, or the guest kernel ? If
> there's any interesting looking stuff in xend.log or xend-debug.log please
> post it to the list.
> 
> Oh also, what version of xen & python are you using - there's crash with
> Xen 3.0.4 or later when using with python 2.5
> 
> Regards,
> Dan.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xend.log
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070130/67c6fcd1/attachment-0002.log>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xendef.xml
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070130/67c6fcd1/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: starter.py
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070130/67c6fcd1/attachment-0003.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xen-hotplug.log
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070130/67c6fcd1/attachment-0003.log>


More information about the libvir-list mailing list