[one-users] Host with different TM - migration

Grzegorz Kocur gkocur at ux.pl
Fri Dec 23 18:21:12 PST 2011


Hi,

Scenario:
Host A - uses tm_ssh, id 1
Host B - uses tm_shared, id 2
VM running on host A

onevm migrate <vmid> 2
and I have error:

Sat Dec 24 04:42:26 2011 [VMM][D]: Message received: LOG I 1093 save: 
Executed "virsh --connect qemu:///system save one-1093 
/var/lib/one//1093/images
/checkpoint".
Sat Dec 24 04:42:26 2011 [VMM][D]: Message received: LOG I 1093 
ExitCode: 0
Sat Dec 24 04:42:26 2011 [VMM][D]: Message received: SAVE SUCCESS 1093 
-
Sat Dec 24 04:42:27 2011 [TM][D]: Message received: LOG I 1093 
tm_mv.sh: Will not move, source and destination are equal
Sat Dec 24 04:42:27 2011 [TM][D]: Message received: LOG I 1093 
ExitCode: 0
Sat Dec 24 04:42:27 2011 [TM][D]: Message received: TRANSFER SUCCESS 
1093 -
Sat Dec 24 04:42:27 2011 [VMM][D]: Message received: LOG I 1093 Command 
execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/restore" ]; then 
/var/tmp/one/v
mm/kvm/restore /var/lib/one//1093/images/checkpoint phoenix 1093 
phoenix; else                              exit 42; fi'
Sat Dec 24 04:42:27 2011 [VMM][D]: Message received: LOG E 1093 
restore: Command "virsh --connect qemu:///system restore 
/var/lib/one//1093/images/che
ckpoint" failed.
Sat Dec 24 04:42:27 2011 [VMM][D]: Message received: LOG E 1093 
restore: error: Failed to restore domain from 
/var/lib/one//1093/images/checkpoint
Sat Dec 24 04:42:27 2011 [VMM][D]: Message received: LOG I 1093 error: 
Failed to create file '/var/lib/one//1093/images/checkpoint': No such 
file or d
irectory
Sat Dec 24 04:42:27 2011 [VMM][D]: Message received: LOG E 1093 Could 
not restore from /var/lib/one//1093/images/checkpoint

IMO the problem is migration uses host B TM (shared), and doesn't scp 
disk image and checkpoint to host B.
Is it a bug? Any workaround?


-- 
Grzegorz Kocur
Ux Systems http://www.ux.pl/



More information about the Users mailing list