Hello,<div><br></div><div><br></div><div>Right now the suggested behavior for a host failure is pretty bad. In theory resubmitting is great, but what do you do when you are not using persistent images?</div><div>When the VM is resubmitted, opennebula will actually delete the disk files, reclone them and then start the machine on a physical box, basically destroying the original VM.</div>
<div><br></div><div>Is there a way around this behavior?</div><div><br></div><div>My solution for this is something like : </div><div>- executing the hook</div><div>- touch a file in the datastore </div><div>- delete script will check for the existence of that file and skip</div>
<div>- clone script will check for the existence of that file and skip</div><div>- delete that file</div><div>- run machine </div><div><br></div><div>This might be a solution but it is more or less a work around.</div><div>
<br></div><div>Any other ideas? Any way of making my own "resubmit" command that will bypass delete and clone and just run deploy?<br></div><div><br></div><div>Thank you!</div><div><br></div><div>Regards,</div><div>
Stefan Catargiu</div>