[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen + drbd - live migration fails when rebooting domU



Hello,

Please CC me as I am not subscribed.

I'm testing xen + drbd cluster to use live migration.

I have 2 machines with Debian Squeeze 2.6.32-5-xen-amd64
xen 4.0.1-2, drbd 8.3.7
DomU is located on lvm volume(size 5GB) and is replicated with drbd.
Debian Squeeze amd64 without swap file.

Live migration works ok but there is one issue:

First reboot vm:
domU1:# reboot

then try to migrate:
ha1:#xm migrate domU1 ha2 --live

strace -p `pidof xc_save` show lots of this:

write(2, "type fail: page 1020 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1021 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1022 mfn 000a2f7"..., 34) = 34
write(2, "type fail: page 1023 mfn 000a2f7"..., 34) = 34
write(5, "\0\4\0\0", 4)                 = 4
write(5, 
"\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0\0\0\0\360\0\0\0\0"...,
8192) = 8192
munmap(0x7f68159ee000, 4194304)         = 0
ioctl(3, SNDCTL_DSP_RESET, 0x7fff2870f0e0) = 0
mmap(NULL, 4194304, PROT_READ, MAP_SHARED, 3, 0) = 0x7f68159ee000
ioctl(3, SNDCTL_DSP_GETBLKSIZE, 0x7fff2870f0d0) = -1 EINVAL (Invalid argument)
ioctl(3, SNDCTL_DSP_STEREO, 0x7fff2870f0f0) = 0
ioctl(3, SNDCTL_DSP_RESET, 0x7fff2870f0f0) = 0
write(2, "type fail: page 0 mfn 000a2f79\n", 31) = 31
write(2, "type fail: page 1 mfn 000a2f78\n", 31) = 31
write(2, "type fail: page 2 mfn 000a2f77\n", 31) = 31

In the end migration fails with: Error: timed out

If "xm migrate domU1 ha2 --live" command is issued first and the vm is
rebooted,
live migration works as expected.

Am I missing something obvious or is it a bug ?

Regards,

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.