[xen-tools-discuss] xm create lucid.cfg hangs
Dmitry Nedospasov
dmitry at nedos.net
Mon Aug 30 00:33:17 CEST 2010
Hey Brent,
On Sun, Aug 29, 2010 at 03:20:20PM -0500, Brent Bolin wrote:
> OS squeezy
> xen 4.0
>
> xen-tools latest git
Sounds to me like you're hitting a place where pygrub is failing
silently. This is a bug in xen (specifically xen-utils), which happens
to be one that I reported to debian [1].
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588811
There's even a diff of mine there. IIRC you can check if you have that
issue by simply executing pygrub, i.e.:
/usr/lib/xen-default/bin/pygrub
The problem is becuase xen/xend use so much python, pygrub's
stdout/stderror get piped somehwere where you don't see it. In any case
its a quick fix, i.e. modifying one line in a python script.
Another way you can see this is that the status of the vm that you try
to boot should be iirc r-----. In any case if you xm create with -c,
i.e. attach the console immedeatly you'll see that nothings hapenning,
since pygrub has kindly crashed :)
Apparently this has been fixed in the latest xen-hypervisor/xen-utils
package so you might just simply want to update. I'll be doing this
tomorrow, so tomorrow I can tell you how that goes.
Hope this helps! I have had many nailbiting hours debugging this, so
hopefully I'll save you a few.
All the best,
Dmitry
--
Dmitry Nedospasov <dmitry at nedos.net> -- Twitter: @nedos
Web: http://nedos.net -- Github: http://github.com/nedos
More information about the xen-tools-discuss
mailing list