This is on Openebula 4.10.0
The VM created succesfully. I can ssh to it. Then I tried to Migrate to other node. It put VM to FAILED state. My question is what is the right way to recover from FAILED. It appears that any options I choose (PLAY, BOOT, RECOVER) not working due to “Wrong state to perform that action”. Should I try “DELETE”? What DELETE really do?
Here is the log when it’s in failed state.
Mon Mar 30 16:14:40 2015 [Z0][DiM][I]: New VM state is ACTIVE.
Mon Mar 30 16:14:40 2015 [Z0][LCM][I]: New VM state is PROLOG.
Mon Mar 30 16:14:46 2015 [Z0][LCM][I]: New VM state is BOOT
Mon Mar 30 16:14:46 2015 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/81/deployment.0
Mon Mar 30 16:14:46 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 16:14:46 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Mar 30 16:14:49 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 16:14:49 2015 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
Mon Mar 30 16:14:49 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 16:14:49 2015 [Z0][VMM][I]: Successfully execute network driver operation: post.
Mon Mar 30 16:14:49 2015 [Z0][LCM][I]: New VM state is RUNNING
Mon Mar 30 18:43:44 2015 [Z0][LCM][I]: New VM state is SAVE_MIGRATE
Mon Mar 30 18:44:35 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 18:44:35 2015 [Z0][VMM][I]: Successfully execute virtualization driver operation: save.
Mon Mar 30 18:44:35 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 18:44:35 2015 [Z0][VMM][I]: Successfully execute network driver operation: clean.
Mon Mar 30 18:44:35 2015 [Z0][LCM][I]: New VM state is PROLOG_MIGRATE
Mon Mar 30 18:44:36 2015 [Z0][LCM][I]: New VM state is BOOT
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: ExitCode: 0
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/restore '/var/lib/one//datastores/0/81/checkpoint' 'node-002.dc1.xxx.com' 'one-81' 81 node-002
.dc1.xxx.com
Mon Mar 30 18:44:36 2015 [Z0][VMM][E]: restore: Command "virsh --connect qemu:///system restore /var/lib/one//datastores/0/81/checkpoint" failed: error: Failed to restore domain from
/var/lib/one//datastores/0/81/checkpoint
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: error: unsupported configuration: Unable to find security driver for label apparmor
Mon Mar 30 18:44:36 2015 [Z0][VMM][E]: Could not restore from /var/lib/one//datastores/0/81/checkpoint
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: ExitCode: 1
Mon Mar 30 18:44:36 2015 [Z0][VMM][I]: Failed to execute virtualization driver operation: restore.
Mon Mar 30 18:44:36 2015 [Z0][VMM][E]: Error restoring VM: Could not restore from /var/lib/one//datastores/0/81/checkpoint
Mon Mar 30 18:44:36 2015 [Z0][DiM][I]: New VM state is FAILED