[Libvir] Issue with creating domains that use pygrub

Daniel P. Berrange berrange at redhat.com
Tue Jan 30 18:51:26 UTC 2007


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.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list