[one-users] Migrated VMs cannot be shutdown
Zaina AFOULKI
zaina.afoulki at ensi-bourges.fr
Thu Mar 24 04:15:02 PDT 2011
Hi,
I'm experiencing a problem when migrating VMs with OpenNebula.
I'm doing the migration with the "onevm migrate <vm_id> <host_id>"
command, and it works just fine.
However, once a VM has been migrated, It cannot be shutdown anymore: its
state becomes "shutdown", then goes back to "running".
Any VM that hasn't been migrated can be shutdown without errors.
Here are the VM logs:
Thu Mar 24 11:20:22 2011 [DiM][I]: New VM state is ACTIVE.
Thu Mar 24 11:20:22 2011 [LCM][I]: New VM state is PROLOG.
Thu Mar 24 11:20:22 2011 [VM][I]: Virtual Machine has no context
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh:
synema-desktop:/home/oneadmin/vmu.img
node1:/home/oneadmin/one/var//2788/images/disk.0
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: DST:
/home/oneadmin/one/var//2788/images/disk.0
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Creating directory
/home/oneadmin/one/var//2788/images
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
/home/oneadmin/one/var//2788/images".
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
/home/oneadmin/one/var//2788/images".
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Cloning
/home/oneadmin/vmu.img
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/home/oneadmin/vmu.img /home/oneadmin/one/var//2788/images/disk.0".
Thu Mar 24 11:20:27 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
/home/oneadmin/one/var//2788/images/disk.0".
Thu Mar 24 11:20:42 2011 [LCM][I]: New VM state is BOOT
Thu Mar 24 11:20:42 2011 [VMM][I]: Generating deployment file:
/home/oneadmin/one/var/2788/deployment.0
Thu Mar 24 11:20:44 2011 [LCM][I]: New VM state is RUNNING
Thu Mar 24 11:20:45 2011 [HKM][I]: Hook ebtables-start successfully
executed.
Thu Mar 24 11:21:50 2011 [LCM][I]: New VM state is SAVE_MIGRATE
Thu Mar 24 11:22:38 2011 [LCM][I]: New VM state is PROLOG_MIGRATE
Thu Mar 24 11:22:38 2011 [TM][I]: tm_mv.sh: Will not move, source and
destination are equal
Thu Mar 24 11:22:38 2011 [LCM][I]: New VM state is BOOT
Thu Mar 24 11:22:39 2011 [LCM][I]: New VM state is RUNNING
Thu Mar 24 11:22:46 2011 [HKM][I]: Hook ebtables-start successfully
executed.
Thu Mar 24 11:23:22 2011 [LCM][I]: New VM state is SHUTDOWN
Thu Mar 24 11:23:54 2011 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/shutdown one-2788
Thu Mar 24 11:23:54 2011 [VMM][I]: STDERR follows.
Thu Mar 24 11:23:54 2011 [VMM][I]: Timeout reached
Thu Mar 24 11:23:54 2011 [VMM][I]: ExitCode: 1
Thu Mar 24 11:23:54 2011 [VMM][E]: Error shuting down VM, -
Thu Mar 24 11:23:54 2011 [LCM][I]: Fail to shutdown VM. Assuming that the
VM is still RUNNING (will poll VM).
Thu Mar 24 11:23:55 2011 [VMM][D]: Monitor Information:
CPU : -1
Memory: 262144
Net_TX: -1
Net_RX: -1
Thanks for any ideas.
--
Zaina
More information about the Users
mailing list