[Pkg-xen-devel] Bug#919879: xen-utils-common: no module named fsimage in log

Hans van Kranenburg hans at knorrie.org
Sun Jan 20 15:33:22 GMT 2019


Hi Ralph,

On 1/20/19 1:44 PM, Ralph Aichinger wrote:
> [...]
> 
> root at xen1:~# xl create /etc/xen/registry.cfg 
> Parsing config from /etc/xen/registry.cfg
> libxl: error: libxl_bootloader.c:649:bootloader_finished: Domain 4:bootloader failed - consult logfile /var/log/xen/bootloader.4.log
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [27494] exited with error status 1
> libxl: error: libxl_create.c:1266:domcreate_rebuild_done: Domain 4:cannot (re-)build domain: -3
> libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 4:Non-existant domain
> libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 4:Unable to destroy guest
> libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 4:Destruction of domain failed
> root at xen1:~#  tail -50 /var/log/xen/bootloader.4.log
> Traceback (most recent call last):
>   File "/usr/lib/xen-4.11/bin/pygrub", line 23, in <module>
>     import fsimage
> ImportError: No module named fsimage

Thanks for your report.

pygrub is indeed currently broken due to some libraries that got
renamed. Bug 912381 [0] is also tracking this.

Getting this fixed is on the TODO list for the Buster release [1].

However, it is also recommended to switch to the grub2 bootloader
instead which can boot PV and also PVH guests (with Debian Linux 4.19
kernel package) right now.

In the domU you need grub-xen [2] and in the dom0 you need grub-xen-host
[3]. A 32-bit or 64-bit PV domU would be started by either
grub-i386-xen.bin or grub-x86_64-xen.bin, and all PVH can be started
with the new grub-i386-xen_pvh.bin.

The domU will need to have a grub configuration file pointing to the
installed kernel image. No boot sector etc is needed.

See bug 912381 [4] for some more comments.

Hans

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912381
[1]
https://alioth-lists.debian.net/pipermail/pkg-xen-devel/2019-January/007539.html
[2] https://packages.debian.org/buster/grub-xen
[3] https://packages.debian.org/buster/grub-xen-host
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912381#63



More information about the Pkg-xen-devel mailing list