Could someone post me their disk permissions? -rw-rw----. 1 vdsm kvm 3070820352 Sep 25 09:53 b36e838a-15d4-4058-84d4-bfe19988bcbc
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. Cheers. On Mon, Oct 14, 2013 at 6:19 PM, Liron Aravot <lara...@redhat.com> wrote: > > > ----- Original Message ----- > > From: "Andrew Lau" <and...@andrewklau.com> > > To: "Dan Ferris" <dfer...@prometheusresearch.com> > > Cc: Users@ovirt.org > > Sent: Monday, October 14, 2013 4:53:51 AM > > Subject: Re: [Users] Disk state - Illegal? > > > > I was just wondering, did anyone ever find the root cause of this issue? > > Hi, > Disk will be in illegal status in case that ovirt failed to initiate the > delete task for it, > 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. > 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) > The disk deletion won't succeed till those issues would be resolved. > > > > > Mine still seems to be doing the same thing, is it a permission issue or > a > > bug? > > > > > > On Fri, Sep 27, 2013 at 12:28 PM, Dan Ferris < > dfer...@prometheusresearch.com > > > wrote: > > > > > > I was off today, so I just saw this. I will try it out tomorrow. > > > > Thanks! > > > > Dan > > > > > > On 9/25/2013 8:53 PM, Andrew Lau wrote: > > > > > > > > I noticed that too, I wasn't sure if it was a bug or just how I had > > setup my NFS share.. > > > > There were three steps I did to remove the disk images, I'm sure there's > > a 100% easier solution..: > > > > I found the easiest way (graphically) was go to your > > https://ovirtengine/api/disks and so a search for the illegal disk. > > Append the extra ID eg. <diskhref="/api/disks/lk342- dfsdf... > > > > into your URL this'll give you your image ID. > > > > Go to your storage share: > > cd /data/storage-id/master/vms/ storage-id > > grep -ir 'vmname' * > > You'll find the image-id reference here too. > > > > Then the image you will want to remove is in the > > /data/storage-id/images/image- id > > I assume you could safely remove this whole folder if you wanted to > > delete the disk. > > > > To remove the illegal state I did it through the API so again with the > > URL above https://ovirtengine/disks/ disk-id send a DELETE using > HTTP/CURL > > > > Again, this was a poor mans solution but it worked for me. > > > > On Thu, Sep 26, 2013 at 4:04 AM, Dan Ferris > > < dferris@prometheusresearch. com > > <mailto: dferris@ prometheusresearch.com >>wrote: > > > > > > Hi, > > > > I have another hopefully simple question. > > > > One VM that I am trying to remove says that it's disk state is > > "illegal" and when I try to remove the disk it says that it failed > > to initiate the removing of the disk. > > > > Is there an easy way to get rid of these illegal disk images? > > > > Dan > > ______________________________ ___________________ > > Users mailing list > > Users@ovirt.org <mailto: Users@ovirt.org > > > http://lists.ovirt.org/__ mailman/listinfo/users > > < http://lists.ovirt.org/ mailman/listinfo/users > > > > > > > ______________________________ _________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/ mailman/listinfo/users > > > > > > _______________________________________________ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users