<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Arial;color: #000000;font-size: 10pt;">Hi,
<div><br>
</div>
<div>we are on OVirt 4.0.4. As explained the situation is as follows:</div>
<div><br>
</div>
<div>- On Disk we have the base image and the delata qcow2 file</div>
<div>- Qemu runs only on the base image</div>
<div>- The snapshot in Qemu is tagged as illegal</div>
<div><br>
</div>
<div>So you say: "Just retry a live merge and everything will cleanup."</div>
<div>Did I get it right?</div>
<div><br>
</div>
<div>Markus</div>
<div><br>
</div>
<div>-----------------------------------------------<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<div><b style="font-size: small;">Von:</b><span style="font-size: small;"> Ala Hino [ahino@redhat.com]</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div id="divRpF429930" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>Gesendet:</b> Donnerstag, 6. Oktober 2016 11:21<br>
<b>An:</b> Markus Stockhausen<br>
<b>Cc:</b> Ovirt Users; Nir Soffer; Adam Litke<br>
<b>Betreff:</b> Re: [ovirt-users] Cleanup illegal snapshot<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Markus,
<div><br>
</div>
<div>What's the version that you are using?</div>
<div>In oVirt 3.6.6, illegal snapshots could be removed by retrying to live merge them again. Assuming the previous live merge of the snapshot successfully completed but the engine failed to get the result, the second live merge should do the necessary cleanups
at the engine side. See <a href="https://bugzilla.redhat.com/1323629" target="_blank">https://bugzilla.redhat.com/1323629</a></div>
<div><br>
</div>
<div>Hope this helps,</div>
<div>Ala</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 6, 2016 at 11:53 AM, Markus Stockhausen <span dir="ltr">
<<a href="mailto:stockhausen@collogia.de" target="_blank">stockhausen@collogia.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi Ala,<br>
<br>
> Von: Adam Litke [<a href="mailto:alitke@redhat.com" target="_blank">alitke@redhat.com</a>]<br>
> Gesendet: Freitag, 30. September 2016 15:54<br>
> An: Markus Stockhausen<br>
> Cc: Ovirt Users; Ala Hino; Nir Soffer<br>
> Betreff: Re: [ovirt-users] Cleanup illegal snapshot<br>
<span class="">><br>
> On 30/09/16 05:47 +0000, Markus Stockhausen wrote:<br>
> >Hi,<br>
> ><br>
> >if a OVirt snapshot is illegal we might have 2 situations.<br>
> ><br>
> >1) qemu is still using it - lsof shows qemu access to the base raw and the<br>
> >delta qcow2 file. -> E.g. a previous live merge failed. In the past we<br>
> >successfully solved that situation by setting the status of the delta image<br>
> >in the database to OK.<br>
> ><br>
> >2) qemu is no longer using it. lsof shows qemu access only to the the base<br>
> >raw file -> E.g. a previous live merge succeded in qemu but Ovirt did not<br>
> >recognize.<br>
> ><br>
> >How to clean up the 2nd situation?<br>
><br>
> It seems that you will have to first clean up the engine database to<br>
> remove references to the snapshot that no longer exists. Then you<br>
> will need to remove the unused qcow2 volume.<br>
><br>
> Unfortunately I cannot provide safe instructions for modifying the<br>
> database but maybe Ala Hino (added to CC:) will be able to help with<br>
> that.<br>
<br>
</span>Do you have some tip for me?<br>
<div class="HOEnZb">
<div class="h5"><br>
><br>
> One you have fixed the DB you should be able to delete the volume<br>
> using a vdsm verb on the SPM host:<br>
><br>
> # vdsClient -s 0 deleteVolume <sdUUID> <spUUID> <imgUUID> <volUUID><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<div id="ofmeet-extension-installed" style="display: none;"></div>
</div>
</div>
</body>
</html>