<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Could someone post me their disk permissions? </div><div class="gmail_default"><font face="tahoma, sans-serif">-rw-rw----. 1 vdsm kvm 3070820352 Sep 25 09:53 b36e838a-15d4-4058-84d4-bfe19988bcbc</font><br>
</div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">My engine.log doesn't report anything and nor does my audit.log. I need to destroy about 10+ VMs and not really keen on doing the whole disk deletion and db removal process manually.</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Cheers.</font></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 14, 2013 at 6:19 PM, Liron Aravot <span dir="ltr"><<a href="mailto:laravot@redhat.com" target="_blank">laravot@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
<br>
----- Original Message -----<br>
> From: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>><br>
> To: "Dan Ferris" <<a href="mailto:dferris@prometheusresearch.com">dferris@prometheusresearch.com</a>><br>
> Cc: <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
</div><div class="im">> Sent: Monday, October 14, 2013 4:53:51 AM<br>
> Subject: Re: [Users] Disk state - Illegal?<br>
><br>
</div><div class="im">> I was just wondering, did anyone ever find the root cause of this issue?<br>
<br>
</div>Hi,<br>
Disk will be in illegal status in case that ovirt failed to initiate the delete task for it,<br>
as the engine can't tell what's the exact disk state at this stage (on what phase the delete operation has failed) - the disk status is shown is illegal.<br>
Therefore there might be many possible reasons, each issue that will fail the creation of the delete task would cause the disk to remain in that status (along permissions issues)<br>
The disk deletion won't succeed till those issues would be resolved.<br>
<div><div class="h5"><br>
><br>
> Mine still seems to be doing the same thing, is it a permission issue or a<br>
> bug?<br>
><br>
><br>
> On Fri, Sep 27, 2013 at 12:28 PM, Dan Ferris < <a href="mailto:dferris@prometheusresearch.com">dferris@prometheusresearch.com</a><br>
> > wrote:<br>
><br>
><br>
> I was off today, so I just saw this. I will try it out tomorrow.<br>
><br>
> Thanks!<br>
><br>
> Dan<br>
><br>
><br>
> On 9/25/2013 8:53 PM, Andrew Lau wrote:<br>
><br>
><br>
><br>
> I noticed that too, I wasn't sure if it was a bug or just how I had<br>
> setup my NFS share..<br>
><br>
> There were three steps I did to remove the disk images, I'm sure there's<br>
> a 100% easier solution..:<br>
><br>
> I found the easiest way (graphically) was go to your<br>
> <a href="https://ovirtengine/api/disks" target="_blank">https://ovirtengine/api/disks</a> and so a search for the illegal disk.<br>
> Append the extra ID eg. <diskhref="/api/disks/lk342- dfsdf...<br>
><br>
> into your URL this'll give you your image ID.<br>
><br>
> Go to your storage share:<br>
> cd /data/storage-id/master/vms/ storage-id<br>
> grep -ir 'vmname' *<br>
> You'll find the image-id reference here too.<br>
><br>
> Then the image you will want to remove is in the<br>
> /data/storage-id/images/image- id<br>
> I assume you could safely remove this whole folder if you wanted to<br>
> delete the disk.<br>
><br>
> To remove the illegal state I did it through the API so again with the<br>
</div></div>> URL above <a href="https://ovirtengine/disks/" target="_blank">https://ovirtengine/disks/</a> disk-id send a DELETE using HTTP/CURL<br>
<div class="im">><br>
> Again, this was a poor mans solution but it worked for me.<br>
><br>
> On Thu, Sep 26, 2013 at 4:04 AM, Dan Ferris<br>
> < dferris@prometheusresearch. com<br>
</div>> <mailto: dferris@ <a href="http://prometheusresearch.com" target="_blank">prometheusresearch.com</a> >>wrote:<br>
<div class=""><div class="h5">><br>
><br>
> Hi,<br>
><br>
> I have another hopefully simple question.<br>
><br>
> One VM that I am trying to remove says that it's disk state is<br>
> "illegal" and when I try to remove the disk it says that it failed<br>
> to initiate the removing of the disk.<br>
><br>
> Is there an easy way to get rid of these illegal disk images?<br>
><br>
> Dan<br>
> ______________________________ ___________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto: <a href="mailto:Users@ovirt.org">Users@ovirt.org</a> ><br>
> <a href="http://lists.ovirt.org/__" target="_blank">http://lists.ovirt.org/__</a> mailman/listinfo/users<br>
> < <a href="http://lists.ovirt.org/" target="_blank">http://lists.ovirt.org/</a> mailman/listinfo/users ><br>
><br>
><br>
> ______________________________ _________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/" target="_blank">http://lists.ovirt.org/</a> mailman/listinfo/users<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br></div></div>