WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1126] HVM local live migration does not work

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1126] HVM local live migration does not work
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 20 Dec 2007 04:59:46 -0800
Delivery-date: Thu, 20 Dec 2007 04:59:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-1126-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1126





------- Comment #2 from yongkang.you@xxxxxxxxx  2007-12-20 04:59 -------
> I can't reproduce this behaviour.  Can you please attach the full xend.log 
> from
> a failed save/restore or migrate operation?

Hi Tim,

Here is the log for local migration failure. 

[2007-12-20 20:46:23 7618] INFO (XendDomain:1165) Domain ExampleHVMDomain (2)
unpaused.
[2007-12-20 20:46:48 7618] DEBUG (XendCheckpoint:89) [xc_save]:
/usr/lib64/xen/bin/xc_save 21 2 0 0 5
[2007-12-20 20:46:48 7618] DEBUG (XendDomainInfo:217)
XendDomainInfo.restore(['domain', ['domid', '2'], ['on_crash', 'restart'],
['uuid', '9cd9d6e9-add8-167f-bb5b-4531606d0716'], ['bootloader_args'],
['vcpus', '2'], ['name', 'ExampleHVMDomain'], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['bootloader'], ['maxmem', '512'], ['memory', '512'],
['shadow_memory', '6'], ['vcpu_avail', '3'], ['features'], ['on_xend_start',
'ignore'], ['on_xend_stop', 'ignore'], ['start_time', '1198154781.85'],
['cpu_time', '10.795995728'], ['online_vcpus', '2'], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'], ['acpi', '1'], ['apic', '1'],
['boot', 'c'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['display',
'localhost:1.0'], ['isa', '0'], ['localtime', '0'], ['monitor', '0'],
['nographic', '0'], ['pae', '1'], ['rtc_timeoffset', '0'], ['serial', 'pty'],
['sdl', '1'], ['stdvga', '0'], ['usb', '0'], ['vnc', '0'], ['timer_mode', '3'],
['vncunused', '1'], ['xauthority', '/root/.Xauthority'], ['pci', []],
['guest_os_type', 'default'], ['notes', ['SUSPEND_CANCEL', '1']]]], ['status',
'2'], ['state', 'r-----'], ['store_mfn', '131070'], ['device', ['vif',
['bridge', 'xenbr0'], ['uuid', '6a11892f-1835-2f31-ef31-cd91aa660148'],
['script', 'vif-bridge'], ['mac', '00:16:3e:6f:c2:d4'], ['type', 'ioemu'],
['backend', '0']]], ['device', ['vbd', ['uname', 'file:/root/fc6.img'],
['uuid', '38ae099f-5d47-30ed-08c1-73132f9d7142'], ['mode', 'w'], ['dev',
'hda:disk'], ['backend', '0'], ['bootable', '1']]], ['device', ['vbd', ['uuid',
'0338ffab-9600-427c-da4b-fbf93c42a4ff'], ['mode', 'r'], ['dev', 'hdc:cdrom'],
['backend', '0'], ['bootable', '0']]], ['device', ['console', ['protocol',
'vt100'], ['location', '4'], ['uuid',
'6b67963c-7afb-4121-99ba-068538c5fc3e']]]])
[2007-12-20 20:46:48 7618] ERROR (XendDomain:1142) Restore failed
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendDomain.py", line 1134, in
domain_restore_fd
    return XendCheckpoint.restore(self, fd, paused=paused)
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 177, in restore
    dominfo = xd.restore_(vmconfig)
  File "/usr/lib64/python/xen/xend/XendDomain.py", line 498, in restore_
    dominfo = XendDomainInfo.restore(config)
  File "/usr/lib64/python/xen/xend/XendDomainInfo.py", line 218, in restore
    vm = XendDomainInfo(XendConfig.XendConfig(sxp_obj = config),
  File "/usr/lib64/python/xen/xend/XendConfig.py", line 276, in __init__
    self._sxp_to_xapi(sxp_obj)
  File "/usr/lib64/python/xen/xend/XendConfig.py", line 656, in _sxp_to_xapi
    cfg = self._parse_sxp(sxp_cfg)
  File "/usr/lib64/python/xen/xend/XendConfig.py", line 542, in _parse_sxp
    self.device_add(dev_type, cfg_sxp = config, target = cfg)
  File "/usr/lib64/python/xen/xend/XendConfig.py", line 1121, in device_add
    self.device_duplicate_check(dev_type, dev_info, target)
  File "/usr/lib64/python/xen/xend/XendConfig.py", line 993, in
device_duplicate_check
    blkdev_file = blkdev_uname_to_file(dev_uname)
  File "/usr/lib64/python/xen/util/blkif.py", line 81, in blkdev_uname_to_file
    return _parse_uname(uname)[0]
  File "/usr/lib64/python/xen/util/blkif.py", line 71, in _parse_uname
    if uname.find(":") != -1:
AttributeError: 'NoneType' object has no attribute 'find'
[2007-12-20 20:46:48 7618] INFO (XendCheckpoint:365) Saving memory pages: iter
1   0%ERROR Internal error: Error when writing to state file (5) (errno 104)
[2007-12-20 20:46:48 7618] INFO (XendCheckpoint:365) Save exit rc=1
[2007-12-20 20:46:48 7618] ERROR (XendCheckpoint:141) Save failed on domain
ExampleHVMDomain (2).
Traceback (most recent call last):
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 109, in save
    forkHelper(cmd, fd, saveInputHandler, False)
  File "/usr/lib64/python/xen/xend/XendCheckpoint.py", line 353, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib64/xen/bin/xc_save 21 2 0 0 5 faile(In reply to comment #1)


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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