Thank you very much!<br><br>Is it safe to manually change the code and just perform a ./install.sh from the sources on a running installation? I'm using Mysql backend so I expect that the modification of the sources will only affect the compillation of the modified library and the rest will continue working ok.<br>
<br>Am I right?<br><br>I really appreciate the fast response.<br><br>Samuel Osorio.<br><br><div class="gmail_quote">On 8 September 2011 12:20, Ruben S. Montero <span dir="ltr"><<a href="mailto:rubensm@dacya.ucm.es">rubensm@dacya.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
Yes you are right. There is an issue open [1]. We are planning to<br>
apply the proposed solution in that issue for 3.0 (i.e. clean-up will<br>
happen only when you issue a delete operation). I think this will<br>
address your use-case.<br>
<br>
[1] <a href="http://dev.opennebula.org/issues/265" target="_blank">http://dev.opennebula.org/issues/265</a><br>
<br>
Thanks<br>
<br>
Ruben<br>
<div><div></div><div class="h5">On Tue, Sep 6, 2011 at 5:28 PM, samuel <<a href="mailto:samu60@gmail.com">samu60@gmail.com</a>> wrote:<br>
> Hi folks,<br>
><br>
> Recently there was a network problem and one instance became unreachable. We<br>
> tried to restart it with stop and resume actions but there's been a problem<br>
> and the disk has been deleted. The main concern is why, after trying to<br>
> restart and an error happened, the directory where the disk image resides<br>
> has been deleted? There was no sensible data on it but I just don't get why<br>
> 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<br>
> 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<br>
> 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<br>
> 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<br>
> execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/restore" ]; then<br>
> /var/tmp/one/vmm/kvm/restore /srv/cloud/one/var//22/images/checkpoint;<br>
> else                              exit 42; fi'<br>
> Tue Sep  6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 STDERR<br>
> follows.<br>
> Tue Sep  6 12:38:49 2011 [VMM][D]: Message received: LOG - 22 error: Failed<br>
> 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<br>
> 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<br>
> error: Failed to restore domain from<br>
> /srv/cloud/one/var//22/images/checkpoint<br>
> Tue Sep  6 12:38:49 2011 [VMM][D]: Message received: error: cannot close<br>
> 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:<br>
> Deleting /srv/cloud/one/var//22/images<br>
> Tue Sep  6 12:38:50 2011 [TM][D]: Message received: LOG - 22 tm_delete.sh:<br>
> 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>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Dr. Ruben Santiago Montero<br>
Associate Professor (Profesor Titular), Complutense University of Madrid<br>
<br>
URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</font></blockquote></div><br>