how to debug failed migration process?

Vasiliy Tolstov
2013-05-01T12:57:56Z

Hello. I''m try new xen-4.2.2 and have problem with migration.
I''m using qemu-xen-traditional.

On first node aafter run xl migrate dom dst i have errors in xl dmesg like:
(XEN) event_channel.c:287:d4 EVTCHNOP failure: error -17
(XEN) event_channel.c:287:d3 EVTCHNOP failure: error -17
(XEN) event_channel.c:287:d5 EVTCHNOP failure: error -17
(XEN) event_channel.c:287:d6 EVTCHNOP failure: error -17
(XEN) event_channel.c:287:d8 EVTCHNOP failure: error -17

(4,5,6,8) id of my domains

On second (target) node i dont have any messages.

xl migrate command says:

migration target: Ready to receive domain.
Saving to migration stream new xl format (info 0x0/0x0/546)
Loading new save file <incoming migration stream> (new xl fmt info
0x0/0x0/546)
Savefile contains xl domain config
xc: Saving memory: iter 0 (last sent 0 skipped 0): 0/2097152 0%
xc: Saving memory: iter 0 (last sent 0 skipped 0): 105587/2097152 5%
xc: Saving memory: iter 0 (last sent 0 skipped 0): 2097152/2097152 100%
xc: Saving memory: iter 1 (last sent 196164 skipped 444): 0/2097152 0%
xc: Saving memory: iter 1 (last sent 196164 skipped 444): 2097152/2097152 100%
xc: Saving memory: iter 2 (last sent 504 skipped 0): 0/2097152 0%
xc: Saving memory: iter 2 (last sent 504 skipped 0): 2097152/2097152 100%
xc: Saving memory: iter 3 (last sent 0 skipped 0): 0/2097152 0%
xc: Saving memory: iter 3 (last sent 0 skipped 0): 183398/2097152 8%
xc: Saving memory: iter 3 (last sent 0 skipped 0): 2097152/2097152 100%
migration receiver stream contained unexpected data instead of ready message
(command run was: exec ssh host xl migrate-receive )
migration target: Transfer complete, requesting permission to start domain.
libxl: error: libxl_utils.c:363:libxl_read_exactly: file/stream
truncated reading GO message from migration stream
migration target: Failure, destroying our copy.
migration child [1276] not exiting, no longer waiting (exit status
will be unreported)
Migration failed, resuming at sender.

How can i debug this issue and doing live migration?
P.S. I''m try to migrate stock centos 5.7 with this config:
name=''"21-10888"''
kernel=''"/usr/lib/xen/boot/pv-grub-x86_64.gz"''
vif=''["mac=00:16:3e:00:20:40,ip=62.76.189.66"]''
disk=''["phy:/dev/disk/vbd/21-886,xvda,w"]''
memory=768
maxmem=8192
vcpus=14
maxvcpus=14
cpu_cap=1400
cpu_weight=768
vfb=''["type=vnc,vnclisten=0.0.0.0,vncpasswd=xxxxx"]''
extra=''"(hd0,0)/boot/grub/menu.lst"''
on_restart=''"destroy"''

--
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru
jabber: vase@selfip.ru