<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I detached the disk from a running VM and everything went fine:</div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:31 2012 [VMM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:31 2012 [VMM][I]: Successfully execute virtualization driver operation: detach_disk.</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:48 2012 [VMM][I]: mvds: Moving /var/lib/one/datastores/102/498/disk.2/disk.vmdk to datastore as /var/lib/one/datastores/100/21bcfb7fefe421751db93c917bdf7d70/d</font><span class="Apple-style-span" style="font-family: 'Courier New'; ">isk.vmdk</span></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:48 2012 [VMM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:48 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_detach.</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:03:48 2012 [VMM][E]: VM Disk Successfully detached.</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 15:07:06 2012 [VMM][I]: ExitCode: 0</font></div></div><div><br></div><div>Even the disk is in the correct datastore (100), consistent and all. But the image remains in LOCKED state.</div><div>So I think this is as per SAVE_AS and I shut down the machine:</div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:56:52 2012 [LCM][I]: New VM state is SHUTDOWN</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute virtualization driver operation: shutdown.</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute network driver operation: clean.</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:35 2012 [LCM][I]: New VM state is EPILOG</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:37 2012 [TM][I]: delete: Deleting /var/lib/one/datastores/102/498</font></div><div><font class="Apple-style-span" face="'Courier New'">Tue Sep 18 17:57:37 2012 [TM][I]: ExitCode: 0</font></div></div><div><br></div><div>Again, everything goes smoothly but again the image is still LOCKED. No way to unlock it!</div><div><br></div><div>Shouldn't the image be READY already after the successful detach?</div><div>Is there something wrong in the procedure or in my config.</div><div><br></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" face="Calibri" size="3"><span class="Apple-style-span" style="font-size: 13px; ">Emmanuel Mathot</span></font></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><br></span></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><a href="http://www.terradue.com/"><span style="font-family: Calibri; color: rgb(0, 58, 161); text-decoration: none; ">www.terradue.com</span></a></span></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><br></span></span><font class="Apple-style-span" face="Times"><img border="0" width="100" src="http://engine.terradue.com/logo_t2.png" alt="Terradue"></font></font></div></div></div></div>
</div>
<br></body></html>