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

Re: [Xen-devel] xen live migration falied



Hi,

 Thanks for your attention.

On Wed, Jun 6, 2012 at 8:41 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>>> On 06.06.12 at 09:00, elahe shekuhi <e.shekuhi@xxxxxxxxx> wrote:
> I have setup Xen 4.1.2 on OpenSuse 12.1. It is running fine so far, but live
> migration does not work. While the source host works on the "xm migrate -l
> ..." command, I can see the VM on the target host in paused state in "xm
> list", but after a while it vanishes while the xm command on the source
> machine returns whitout any errors.

Does the guest crash perhaps? In which case a kernel log from it
might turn out pretty useful. As would technical data (rather than
a simple "does not work") in the first place (hypervisor, xend, and
Dom0 kernel logs are all possible candidates for holding relevant
information).

> (One machine has core i7 processor while another is core 2
> quad system).

Does migration fail in both directions? Or perhaps just from the
newer to the older system (in which case I would guess you're
not masking features properly on the newer one)?

   Yes, Migration failed in both directions, but the error in Xend.log is different. When I do migrate VM from core 2 quad to core i7 machine the error in Xend.log is

[2012-04-23 17:25:55 1405] DEBUG (XendDomainInfo:237) XendDomainInfo.restore(['domain', ['domid', '5'], ['cpu_weight', '256'], ['cpu_cap', '0'], ['pool_name', 'Pool-0'], ['bootloader', '/usr/bin/pygrub'], ['vcpus', '2'], ['cpus', [[], []]], ['on_poweroff', 'destroy'], ['description', 'None'], ['on_crash', 'destroy'], ['uuid', '9d19e419-83ca-e877-52e4-0f93f634354a'], ['bootloader_args', '-q'], ['name', 'sles11-1'], ['on_reboot', 'restart'], ['maxmem', '1024'], ['memory', '512'], ['shadow_memory', '0'], ['vcpu_avail', '3'], ['features', ''], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['start_time', '1335185584.3'], ['cpu_time', '0.353877786'], ['online_vcpus', '2'], ['image', ['linux', ['kernel', ''], ['args', ' '], ['superpages', '0'], ['videoram', '4'], ['pci', []], ['nomigrate', '0'], ['tsc_mode', '0'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['notes', ['FEATURES', 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'], ['VIRT_BASE', '18446744071562067968'], ['GUEST_VERSION', '2.6'], ['PADDR_OFFSET', '0'], ['GUEST_OS', 'linux'], ['HYPERCALL_PAGE', '18446744071564193792'], ['LOADER', 'generic'], ['SUSPEND_CANCEL', '1'], ['ENTRY', '18446744071564165120'], ['XEN_VERSION', 'xen-3.0']]]], ['status', '2'], ['state', '-b----'], ['store_mfn', '470107'], ['console_mfn', '470106'], ['device', ['vif', ['bridge', 'br0'], ['mac', '00:16:3e:44:ac:23'], ['script', '/etc/xen/scripts/vif-bridge'], ['uuid', 'f3a500be-df8d-a7fe-881e-b8d8347dce74'], ['backend', '0']]], ['device', ['vkbd', ['backend', '0']]], ['device', ['console', ['protocol', 'vt100'], ['location', '2'], ['uuid', '0debd581-e78c-c87c-8012-330fa7d0eafb']]], ['device', ['vbd', ['protocol', 'x86_64-abi'], ['uuid', '8e7150c8-4af1-88c0-e71b-16049663cebc'], ['bootable', '1'], ['dev', 'xvda:disk'], ['uname', 'file:/home/elahe/xen/images/sles11-1/disk0.raw'], ['mode', 'w'], ['backend', '0'], ['VDI', '']]], ['device', ['vbd', ['protocol', 'x86_64-abi'], ['uuid', '55ff031d-7810-1b41-ed7b-f7fce59c6dcd'], ['bootable', '0'], ['dev', 'xvdb:cdrom'], ['uname', 'phy:/dev/sr0'], ['mode', 'r'], ['backend', '0'], ['VDI', '']]], ['device', ['vfb', ['vncunused', '1'], ['vnc', '1'], ['xauthority', '/root/.Xauthority'], ['keymap', 'en-us'], ['location', '127.0.0.1:5900'], ['uuid', '3d8f53d2-97b8-770b-59c7-69ac1cd302fa']]], ['change_home_server', 'False']])

[2012-04-23 17:25:55 1405] DEBUG (XendDomainInfo:2562) XendDomainInfo.constructDomain

[2012-04-23 17:25:55 1405] DEBUG (balloon:206) Balloon: 538624 KiB free; need 16384; done.

[2012-04-23 17:25:55 1405] DEBUG (XendDomain:482) Adding Domain: 4

[2012-04-23 17:25:55 1405] DEBUG (XendDomainInfo:3514) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': '9d19e419-83ca-e877-52e4-0f93f634354a', 'on_reboot': 'restart', 'start_time': '1335185584.3', 'on_poweroff': 'destroy', 'bootloader_args': '-q', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '/usr/bin/pygrub', 'image': "(linux (kernel '') (args ' ') (superpages 0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (device_model /usr/lib/xen/bin/qemu-dm) (notes (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564193792) (LOADER generic) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION xen-3.0)))", 'name': 'sles11-1'}

[2012-04-23 17:25:55 1405] DEBUG (image:343) No VNC passwd configured for vfb access

[2012-04-23 17:25:55 1405] DEBUG (XendCheckpoint:359) restore:shadow=0x0, _static_max=0x40000000, _static_min=0x0,

[2012-04-23 17:25:55 1405] DEBUG (XendCheckpoint:386) [xc_restore]: /usr/lib64/xen/bin/xc_restore 4 4 1 2 0 0 0 0

[2012-04-23 17:26:41 1405] INFO (XendCheckpoint:487) xc: error: Couldn't set eXtended States for vcpu0 (22 = Invalid argument): Internal error

[2012-04-23 17:26:41 1405] DEBUG (XendDomainInfo:3150) XendDomainInfo.destroy: domid=4

[2012-04-23 17:26:41 1405] ERROR (XendDomainInfo:3164) XendDomainInfo.destroy: domain destruction failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 3157, in destroy
    xc.domain_pause(self.domid)
Error: (3, 'No such process')

[2012-04-23 17:26:41 1405] DEBUG (XendDomainInfo:2470) No device model

[2012-04-23 17:26:41 1405] DEBUG (XendDomainInfo:2472) Releasing devices

[2012-04-23 17:26:41 1405] ERROR (XendCheckpoint:421) /usr/lib64/xen/bin/xc_restore 4 4 1 2 0 0 0 0 failed
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendCheckpoint.py", line 390, in restore
    forkHelper(cmd, fd, handler.handler, True)
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendCheckpoint.py", line 475, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_restore 4 4 1 2 0 0 0 0 failed

[2012-04-23 17:26:41 1405] ERROR (XendDomain:1200) Restore failed
Traceback (most recent call last):
 
 File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line 1184,
 in domain_restore_fd
    dominfo = XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating)
 
File "/usr/lib64/python2.7/site-packages/xen/xend/XendCheckpoint.py", line 422,
in restore
    raise exn
XendError: /usr/lib64/xen/bin/xc_restore 4 4 1 2 0 0 0 0 failed


I would be really appreciated.

Best,
elahe

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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