Hi folks,<br><br>Recently there was a network problem and one instance became unreachable. We tried to restart it with stop and resume actions but there's been a problem and the disk has been deleted. The main concern is why, after trying to restart and an error happened, the directory where the disk image resides has been deleted? There was no sensible data on it but I just don't get why there has been a rm -rf of the directory. <br>
<br>Details:<br><br>The configuration is KVM with shared storage using open nebula 2.2.<br><br>output of virsh version<br> Compilado contra la biblioteca: libvir 0.8.8<br> Utilizando la biblioteca: libvir 0.8.8<br> Utilizando API: QEMU 0.8.8<br>
Ejecutando hypervisor: QEMU 0.14.0<br><br>related logs:<br><br>Tue Sep 6 12:37:49 2011 [VMM][D]: Message received: SAVE SUCCESS 22 Domain one-22 saved to /srv/cloud/one/var//22/images/checkpoint<br>Tue Sep 6 12:37:49 2011 [VMM][D]: Message received: <br>
Tue Sep 6 12:37:49 2011 [TM][D]: Message received: LOG - 22 tm_mv.sh: Will not move, is not saving image<br>Tue Sep 6 12:37:49 2011 [TM][D]: Message received: TRANSFER SUCCESS 22 -<br><br>Tue Sep 6 12:38:12 2011 [DiM][D]: Restarting VM 22<br>
Tue Sep 6 12:38:12 2011 [DiM][E]: Could not restart VM 22, wrong state.<br>Tue Sep 6 12:38:12 2011 [ReM][E]: Wrong state to perform action<br><br>Tue Sep 6 12:38:18 2011 [ReM][D]: VirtualMachineAction invoked<br>Tue Sep 6 12:38:18 2011 [DiM][D]: Resuming VM 22<br>
Tue Sep 6 12:38:47 2011 [DiM][D]: Deploying VM 22<br><br>Tue Sep 6 12:38:47 2011 [ReM][D]: VirtualMachineInfo method invoked<br>Tue Sep 6 12:38:47 2011 [TM][D]: Message received: LOG - 22 tm_mv.sh: Will not move, is not saving image<br>
<br>Tue Sep 6 12:38:47 2011 [TM][D]: Message received: TRANSFER SUCCESS 22 -<br><br>Tue Sep 6 12:38:48 2011 [ReM][D]: VirtualMachineInfo method invoked<br>Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/restore" ]; then /var/tmp/one/vmm/kvm/restore /srv/cloud/one/var//22/images/checkpoint; else exit 42; fi'<br>
Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 STDERR follows.<br>Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 error: Failed to restore domain from /srv/cloud/one/var//22/images/checkpoint<br>
Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 error: cannot close file: Bad file descriptor<br>Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 ExitCode: 1<br>Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: RESTORE FAILURE 22 error: Failed to restore domain from /srv/cloud/one/var//22/images/checkpoint<br>
Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: error: cannot close file: Bad file descriptor<br>Tue Sep 6 12:38:49 2011 [VMM][D]: Message received: ExitCode: 1<br><br>Tue Sep 6 12:38:50 2011 [TM][D]: Message received: LOG - 22 tm_delete.sh: Deleting /srv/cloud/one/var//22/images<br>
Tue Sep 6 12:38:50 2011 [TM][D]: Message received: LOG - 22 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//22/images".<br>Tue Sep 6 12:38:50 2011 [TM][D]: Message received: TRANSFER SUCCESS 22 -<br><br><br>
Thank you in advance for any hint!<br>Samuel.<br>