Hi
I have a problem with live migration of a pv domU:
xen 4.0
kernel pv 2.6.32
Log on source host:
[2010-07-03 03:22:24 15981] ERROR (XendCheckpoint:178) Save failed on 
domain asmodeus (1) - resuming.
Traceback (most recent call last):
   File "/usr/lib/xen-4.0/lib/python/xen/xend/XendCheckpoint.py", line
121, in save
     cmd = [xen.util.auxbin.pathTo(XC_SAVE), str(fd),
AttributeError: ''module'' object has no attribute
''pathTo''
[2010-07-03 03:22:24 15981] DEBUG (XendDomainInfo:3117) 
XendDomainInfo.resumeDomain(1)
Log on destination host:
[2010-07-03 03:22:24 8484] DEBUG (XendDomainInfo:235) 
XendDomainInfo.restore([''domain'', [''domid'',
''1''], [''cpu_weight'',
''256''],
[''cpu_cap'', ''0''],
[''on_crash'', ''destroy''],
[''uuid'',
''02917692-affc-29f8-b74d-1db484fa405a''],
[''bootloader_args''], [''vcpus'',
''1''], [''name'',
''asmodeus''], [''on_poweroff'',
''destroy''], [''on_reboot'',
''destroy''], [''cpus'',
[[''0'', ''1'', ''2'']]],
[''bootloader'',
''/usr/lib/xen-4.0/bin/pygrub''], [''maxmem'',
''256''], [''memory'', ''252''],
[''shadow_memory'', ''0''],
[''vcpu_avail'', ''1''],
[''features''],
[''on_xend_start'', ''ignore''],
[''on_xend_stop'', ''ignore''],
[''start_time'',
''1278018603.61''], [''cpu_time'',
''2390.83094801''], [''online_vcpus'',
''1''],
[''image'', [''linux'',
[''kernel''], [''args'',
''console=hvc0''], [''superpages'',
''0''], [''tsc_mode'', ''0''],
[''videoram'', ''4''], [''pci'',
[]], [''nomigrate'',
''0''], [''notes'',
[''HV_START_LOW'', ''4118806528''],
[''FEATURES'',
''!writable_page_tables|pae_pgdir_above_4gb''],
[''VIRT_BASE'',
''3221225472''], [''GUEST_VERSION'',
''2.6''], [''PADDR_OFFSET'',
''0''],
[''GUEST_OS'', ''linux''],
[''HYPERCALL_PAGE'', ''3238010880''],
[''LOADER'',
''generic''], [''SUSPEND_CANCEL'',
''1''], [''PAE_MODE'', ''yes''],
[''ENTRY'',
''3242119168''], [''XEN_VERSION'',
''xen-3.0'']]]], [''status'',
''2''], [''state'',
''-b----''], [''device'',
[''vif'', [''bridge'',
''xenbr5''], [''mac'',
''00:16:3E:05:32:50''], [''script'',
''/etc/xen/scripts/vif-bridge''],
[''uuid'',
''a446ceb8-5760-a793-a1ce-c8d6a0f97e71''],
[''backend'', ''0'']]],
[''device'', [''vif'',
[''bridge'', ''xenbr15''],
[''mac'', ''00:16:3E:15:32:50''],
[''script'', ''/etc/xen/scripts/vif-bridge''],
[''uuid'',
''4650dd36-fed7-d4a4-7d0c-8c494c43c6d9''],
[''backend'', ''0'']]],
[''device'',
[''vif'', [''bridge'',
''xenbr2''], [''mac'',
''00:16:3E:02:32:50''], [''script'',
''/etc/xen/scripts/vif-bridge''], [''uuid'', 
''dbe5d466-e1d7-96e6-9b70-7b7bc89c82fb''],
[''backend'', ''0'']]],
[''device'',
[''vbd'', [''protocol'',
''x86_32-abi''], [''uuid'',
''05947af0-5eba-1856-e511-625c7fe85e5c''],
[''bootable'', ''1''], [''dev'',
''xvda:disk''], [''uname'',
''drbd:asmodeus-root''], [''mode'',
''w''],
[''backend'', ''0''],
[''VDI'']]], [''device'',
[''console'', [''protocol'',
''vt100''], [''location'',
''2''], [''uuid'',
''56758443-50d1-c3c7-88b7-e1bb9a0a9932'']]],
[''change_home_server'',
''False'']])
[2010-07-03 03:22:24 8484] DEBUG (XendDomainInfo:2508) 
XendDomainInfo.constructDomain
[2010-07-03 03:22:24 8484] DEBUG (balloon:220) Balloon: 1199472 KiB 
free; need 16384; done.
[2010-07-03 03:22:24 8484] DEBUG (XendDomain:464) Adding Domain: 10
[2010-07-03 03:22:24 8484] DEBUG (XendDomainInfo:3400) Storing VM 
details: {''on_xend_stop'': ''ignore'',
''shadow_memory'': ''0'',
''uuid'':
''02917692-affc-29f8-b74d-1db484fa405a'',
''on_reboot'': ''destroy'',
''start_time'': ''1278018603.61'',
''on_poweroff'': ''destroy'',
''bootloader_args'': '''',
''on_xend_start'': ''ignore'',
''on_crash'': ''destroy'',
''xend/restart_count'': ''0'',
''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''bootloader'': ''/usr/lib/xen-4.0/bin/pygrub'',
''image'': "(linux (kernel )
(args ''console=hvc0'') (superpages 0) (tsc_mode 0) (videoram 4)
(pci ())
(nomigrate 0) (notes (HV_START_LOW 4118806528) (FEATURES 
''!writable_page_tables|pae_pgdir_above_4gb'') (VIRT_BASE
3221225472)
(GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 
3238010880) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 
3242119168) (XEN_VERSION xen-3.0)))", ''name'':
''asmodeus''}
[2010-07-03 03:22:24 8484] INFO (XendDomainInfo:2367) createDevice: 
console : {''protocol'': ''vt100'',
''location'': ''2'', ''uuid'':
''56758443-50d1-c3c7-88b7-e1bb9a0a9932''}
[2010-07-03 03:22:24 8484] DEBUG (DevController:95) DevController: 
writing {''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/10/0''} to 
/local/domain/10/device/console/0.
[2010-07-03 03:22:24 8484] DEBUG (DevController:97) DevController: 
writing {''domain'': ''asmodeus'',
''frontend'':
''/local/domain/10/device/console/0'', ''uuid'':
''56758443-50d1-c3c7-88b7-e1bb9a0a9932'',
''frontend-id'': ''10'',
''state'':
''1'', ''location'': ''2'',
''online'': ''1'', ''protocol'':
''vt100''} to
/local/domain/0/backend/console/10/0.
[2010-07-03 03:22:24 8484] INFO (XendDomainInfo:2367) createDevice: vbd 
: {''protocol'': ''x86_32-abi'',
''uuid'':
''05947af0-5eba-1856-e511-625c7fe85e5c'',
''bootable'': 1, ''driver'':
''paravirtualised'', ''dev'':
''xvda:disk'', ''uname'':
''drbd:asmodeus-root'',
''mode'': ''w'', ''backend'':
''0''}
[2010-07-03 03:22:24 8484] DEBUG (DevController:95) DevController: 
writing {''virtual-device'': ''51712'',
''protocol'': ''x86_32-abi'',
''device-type'': ''disk'',
''backend-id'': ''0'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/10/51712''} to 
/local/domain/10/device/vbd/51712.
[2010-07-03 03:22:24 8484] DEBUG (DevController:97) DevController: 
writing {''domain'': ''asmodeus'',
''frontend'':
''/local/domain/10/device/vbd/51712'', ''uuid'':
''05947af0-5eba-1856-e511-625c7fe85e5c'',
''bootable'': ''1'', ''dev'':
''xvda'',
''state'': ''1'', ''params'':
''asmodeus-root'', ''mode'':
''w'', ''online'': ''1'',
''frontend-id'': ''10'',
''type'': ''drbd''} to
/local/domain/0/backend/vbd/10/51712.
[2010-07-03 03:22:24 8484] INFO (XendDomainInfo:2367) createDevice: vif 
: {''bridge'': ''xenbr5'',
''mac'': ''00:16:3E:05:32:50'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''uuid'': 
''a446ceb8-5760-a793-a1ce-c8d6a0f97e71'',
''backend'': ''0''}
[2010-07-03 03:22:24 8484] DEBUG (DevController:95) DevController: 
writing {''backend-id'': ''0'',
''mac'': ''00:16:3E:05:32:50'',
''handle'': ''0'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vif/10/0''} to
/local/domain/10/device/vif/0.
[2010-07-03 03:22:24 8484] DEBUG (DevController:97) DevController: 
writing {''bridge'': ''xenbr5'',
''domain'': ''asmodeus'',
''handle'': ''0'',
''uuid'':
''a446ceb8-5760-a793-a1ce-c8d6a0f97e71'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''mac'':
''00:16:3E:05:32:50'',
''frontend-id'': ''10'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/10/device/vif/0''} to
/local/domain/0/backend/vif/10/0.
[2010-07-03 03:22:24 8484] INFO (XendDomainInfo:2367) createDevice: vif 
: {''bridge'': ''xenbr15'',
''mac'': ''00:16:3E:15:32:50'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''uuid'': 
''4650dd36-fed7-d4a4-7d0c-8c494c43c6d9'',
''backend'': ''0''}
[2010-07-03 03:22:24 8484] DEBUG (DevController:95) DevController: 
writing {''backend-id'': ''0'',
''mac'': ''00:16:3E:15:32:50'',
''handle'': ''1'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vif/10/1''} to
/local/domain/10/device/vif/1.
[2010-07-03 03:22:24 8484] DEBUG (DevController:97) DevController: 
writing {''bridge'': ''xenbr15'',
''domain'': ''asmodeus'',
''handle'': ''1'',
''uuid'':
''4650dd36-fed7-d4a4-7d0c-8c494c43c6d9'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''mac'':
''00:16:3E:15:32:50'',
''frontend-id'': ''10'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/10/device/vif/1''} to
/local/domain/0/backend/vif/10/1.
[2010-07-03 03:22:24 8484] INFO (XendDomainInfo:2367) createDevice: vif 
: {''bridge'': ''xenbr2'',
''mac'': ''00:16:3E:02:32:50'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''uuid'': 
''dbe5d466-e1d7-96e6-9b70-7b7bc89c82fb'',
''backend'': ''0''}
[2010-07-03 03:22:24 8484] DEBUG (DevController:95) DevController: 
writing {''backend-id'': ''0'',
''mac'': ''00:16:3E:02:32:50'',
''handle'': ''2'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vif/10/2''} to
/local/domain/10/device/vif/2.
[2010-07-03 03:22:24 8484] DEBUG (DevController:97) DevController: 
writing {''bridge'': ''xenbr2'',
''domain'': ''asmodeus'',
''handle'': ''2'',
''uuid'':
''dbe5d466-e1d7-96e6-9b70-7b7bc89c82fb'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''mac'':
''00:16:3E:02:32:50'',
''frontend-id'': ''10'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/10/device/vif/2''} to
/local/domain/0/backend/vif/10/2.
[2010-07-03 03:22:24 8484] DEBUG (XendDomainInfo:1804) Storing domain 
details: {''image/entry'': ''3242119168'',
''console/port'': ''2'',
''image/loader'': ''generic'',
''vm'':
''/vm/02917692-affc-29f8-b74d-1db484fa405a'', 
''control/platform-feature-multiprocessor-suspend'':
''1'',
''image/hv-start-low'': ''4118806528'',
''image/guest-os'': ''linux'',
''image/virt-base'': ''3221225472'',
''memory/target'': ''258048'',
''image/guest-version'': ''2.6'',
''image/pae-mode'': ''yes'',
''description'':
'''', ''console/limit'':
''1048576'', ''image/paddr-offset'':
''0'',
''image/hypercall-page'': ''3238010880'',
''image/suspend-cancel'': ''1'',
''cpu/0/availability'': ''online'',
''image/features/pae-pgdir-above-4gb'':
''1'', ''image/features/writable-page-tables'':
''0'', ''console/type'':
''xenconsoled'', ''name'':
''asmodeus'', ''domid'': ''10'',
''image/xen-version'':
''xen-3.0'', ''store/port'':
''1''}
[2010-07-03 03:22:25 8484] DEBUG (XendCheckpoint:286) 
restore:shadow=0x0, _static_max=0x10000000, _static_min=0x0,
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:3053) 
XendDomainInfo.destroy: domid=10
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2416) No device model
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2424) Removing vif/0
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:1286) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2424) Removing vif/1
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:1286) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/1
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2424) Removing vif/2
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:1286) 
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/2
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2424) Removing vbd/51712
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:1286) 
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:2424) Removing console/0
[2010-07-03 03:22:25 8484] DEBUG (XendDomainInfo:1286) 
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-07-03 03:22:25 8484] INFO (XendDomain:1107) Domain asmodeus 
(02917692-affc-29f8-b74d-1db484fa405a) deleted.
[2010-07-03 03:22:25 8484] ERROR (XendCheckpoint:357) ''module''
object
has no attribute ''pathTo''
Traceback (most recent call last):
   File "/usr/lib/xen-4.0/lib/python/xen/xend/XendCheckpoint.py", line
302, in restore
     cmd = map(str, [xen.util.auxbin.pathTo(XC_RESTORE),
AttributeError: ''module'' object has no attribute
''pathTo''
[2010-07-03 03:22:25 8484] ERROR (XendDomain:1181) Restore failed
Traceback (most recent call last):
   File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line
1159,
in domain_restore_fd
     dominfo = XendCheckpoint.restore(self, fd, paused=paused, 
relocating=relocating)
   File "/usr/lib/xen-4.0/lib/python/xen/xend/XendCheckpoint.py", line
358, in restore
     raise exn
AttributeError: ''module'' object has no attribute
''pathTo''
any solutions?
-- 
Greetz
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users