<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br>
<div>
<div>1 okt 2012 kl. 19.06 skrev Igor Lvovsky:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div><br>
<br>
----- Original Message -----<br>
<blockquote type="cite">From: &quot;Karli Sjöberg&quot; &lt;<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>&gt;<br>
</blockquote>
<blockquote type="cite">To: &quot;&lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
</blockquote>
<blockquote type="cite">Sent: Monday, October 1, 2012 9:32:26 AM<br>
</blockquote>
<blockquote type="cite">Subject: [Users] Removal of hard disk doesn´t trigger removal of underlying snapshots<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Hi,<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">and if you later try to remove the snapshot, after you have removed<br>
</blockquote>
<blockquote type="cite">the hard disk, the response given is &quot;General command validation<br>
</blockquote>
<blockquote type="cite">failure&quot;. Bug?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<br>
In general when you remove the VM's disk it should remove all disk's snapshots as well.<br>
Could you please explain what you exactly did and how?<br>
In additional, please share with us vdsm log from your host (SPM) and engine's log<br>
</div>
</blockquote>
<div><br>
</div>
Yeaow, that was yesterday so those logs are long archived and would take a while to search through and find something that I´m not really sure what I should be looking for. But I can tell you what I did:</div>
<div><br>
</div>
<div>1. Created new Desktop VM, with thin hard drive</div>
<div>2. Created a snapshot after mucking around a bit</div>
<div>3. Removed hard drive (needed to start over fresh)</div>
<div>4. Snapshot was still present so that´s when I tried to delete it, and was stopped by said error message.</div>
<div><br>
</div>
<div>I understand that the sanity-checking fails, since the hard drive is no longer present, hence the validation failure. But maybe it could be neat if it could reply something like &quot;You know, I can´t find the hard drive that goes with the snapshot you want
 to delete. Could that be because you´ve already deleted it?&quot; and check &quot;Yes, I have.&quot; and then &quot;OK&quot;. How does that sound?</div>
<div><br>
</div>
<div>/Karli</div>
<div><br>
<blockquote type="cite">
<div><br>
Regards,<br>
&nbsp;&nbsp;Igor<br>
<br>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Med Vänliga Hälsningar<br>
</blockquote>
<blockquote type="cite">-------------------------------------------------------------------------------<br>
</blockquote>
<blockquote type="cite">Karli Sjöberg<br>
</blockquote>
<blockquote type="cite">Swedish University of Agricultural Sciences<br>
</blockquote>
<blockquote type="cite">Box 7079 (Visiting Address Kronåsvägen 8)<br>
</blockquote>
<blockquote type="cite">S-750 07 Uppsala, Sweden<br>
</blockquote>
<blockquote type="cite">Phone: &#43;46-(0)18-67 15 66<br>
</blockquote>
<blockquote type="cite"><a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Users mailing list<br>
</blockquote>
<blockquote type="cite"><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
</blockquote>
<blockquote type="cite"><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div><br class="Apple-interchange-newline">
<br>
</div>
<div>Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: &nbsp;&#43;46-(0)18-67 15 66</div>
<div><a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div>
</span></div>
<br>
</body>
</html>