Power outage. CentOS7 with opennebula-5.10.1 reboots, VMS are not starting. I’ve issued this:
ID USER GROUP NAME STAT HOST TIME
25 bogdan oneadmin c7-usb runn virt.acasa -3204d 23h
24 bogdan oneadmin ipsec.lan runn virt.acasa -3168d 18h
23 bogdan oneadmin awx.acasa runn virt.acasa -3020d 22h
0 oneadmin oneadmin zira.898.ro runn virt.acasa -2309d 19h
The vms are shown there as running but they are not accesible. I can’t login to sunstone for some reason, it logs me in then immediately thorws me out.
I tried to stop the vm 0 for example:
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG I 0 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/save ‘one-0’ ‘/var/lib/one//datastores/0/0/checkpoint’ ‘virt.acasa’ 0 virt.acasa
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG E 0 save: Command "virsh --connect qemu:///system save one-0 /var/lib/one//datastores/0/0/checkpoint" failed: error: failed to get domain 'one-0'
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG I 0 error: Domain not found: no domain with matching name 'one-0'
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG E 0 Could not save one-0 to /var/lib/one//datastores/0/0/checkpoint
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG I 0 ExitCode: 1
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: LOG I 0 Failed to execute virtualization driver operation: save.
Sat Sep 10 15:32:40 2011 [Z0][VMM][D]: Message received: SAVE FAILURE 0 Could not save one-0 to /var/lib/one//datastores/0/0/checkpoint
virsh list --all show nothing. I’m clueles…
How can I start that vm or fix it. If I lose the data from it I’m pretty screwed!