[CentOS-devel] Problem with xen packages

Thu May 16 13:55:55 UTC 2013
Javier Fontan <jfontan at opennebula.org>

Hello,

I am trying the xen 4.2 packages for centos 6.4 from
http://dev.centos.org/centos/6/xen-c6/. I've found that some files are
misplaced. Saving a domain crashes with this error:

--8<------
[oneadmin at xen var]$ sudo xl save -c 14 checkpoint
Saving to checkpoint new xl format (info 0x0/0x0/461)
libxl: cannot execute /usr/lib/xen/bin/libxl-save-helper: No such file
or directory
libxl: error: libxl_utils.c:363:libxl_read_exactly: file/stream
truncated reading ipc msg header from domain 14 save/restore helper
stdout pipe
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: domain
14 save/restore helper [11440] exited with error status 255
Failed to save domain, resuming domain
------>8--

The package xen-runtime puts files in two different places (lib and lib64):

--8<------
/usr/lib64/xen/bin/libxl-save-helper
/usr/lib64/xen/bin/lsevtchn
/usr/lib64/xen/bin/pygrub
/usr/lib64/xen/bin/qemu-dm
/usr/lib64/xen/bin/readnotes
/usr/lib64/xen/bin/xc_restore
/usr/lib64/xen/bin/xc_save
/usr/lib64/xen/bin/xenconsole
/usr/lib64/xen/bin/xenctx
/usr/lib64/xen/bin/xenpvnetboot

/usr/lib/xen/bin/qemu-dm
/usr/lib/xen/bin/qemu-ga
/usr/lib/xen/bin/qemu-img
/usr/lib/xen/bin/qemu-io
/usr/lib/xen/bin/qemu-nbd
/usr/lib/xen/bin/qemu-system-i386
/usr/lib/xen/bin/stubdom-dm
/usr/lib/xen/bin/stubdompath.sh
/usr/lib/xen/bin/tapdisk
/usr/lib/xen/bin/xenpaging
------>8--

Making symlinks from lib64 to lib of libxl-save-helper, xc_save and
xc_restore files makes this feature work.

Aside this problem the packages are working fine.

Cheers

--
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula