<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I was just wondering, did anyone ever find the root cause of this issue?</div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Mine still seems to be doing the same thing, is it a permission issue or a bug?</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 12:28 PM, Dan Ferris <span dir="ltr"><<a href="mailto:dferris@prometheusresearch.com" target="_blank">dferris@prometheusresearch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was off today, so I just saw this. I will try it out tomorrow.<br>
<br>
Thanks!<br>
<br>
Dan<div class="im"><br>
<br>
On 9/25/2013 8:53 PM, Andrew Lau wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
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></div>
Append the extra ID eg. <diskhref="/api/disks/lk342-<u></u>dfsdf...<div class="im"><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/<u></u>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-<u></u>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>
URL above <a href="https://ovirtengine/disks/disk-id" target="_blank">https://ovirtengine/disks/<u></u>disk-id</a> send a DELETE using HTTP/CURL<br>
<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>
<<a href="mailto:dferris@prometheusresearch.com" target="_blank">dferris@prometheusresearch.<u></u>com</a><br></div>
<mailto:<a href="mailto:dferris@prometheusresearch.com" target="_blank">dferris@<u></u>prometheusresearch.com</a>>>wrote:<div class="im"><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></div>
______________________________<u></u>___________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>><br>
<br>
<br>
</blockquote><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>