----- Original Message -----
From: "Nathanaël Blanchet" <blanchet(a)abes.fr>
To: "Daniel Erez" <derez(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Tuesday, October 15, 2013 1:08:25 PM
Subject: Re: [Users] deleting a disk that doesn't exist into the storage domain but
referenced into webadmin
Finally, I removed the "illegal state" disks in the table base_disks
and the disks disapperad from the disks tabs. But those disks still
appear int the torage tab and the sub storage disks, they are empty lines.
How can I remove this lines into the DB?
The remaining leftovers are probably in images table.
Use DeleteImage stored procedure to remove the images records.
Le 14/10/2013 21:19, Daniel Erez a écrit :
>
> ----- Original Message -----
>> From: "Nathanaël Blanchet" <blanchet(a)abes.fr>
>> To: users(a)ovirt.org
>> Sent: Saturday, October 12, 2013 1:44:00 AM
>> Subject: [Users] deleting a disk that doesn't exist into the storage
>> domain but referenced into webadmin
>>
>> Hello,
>>
>> On ovirt 3.2 el6 I created a disk attached to a vm but I can't remove it
>> anymore. When I look to the log I have this message :
>> 2013-10-11 23:43:23,086 ERROR
>> [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-47)
>> [4da21e03] Command DeleteImageGroupVDS execution failed. Exception:
>> IrsOperationFailedNoFailoverException: IRSGenericException:
>> IRSErrorException: Image does not exist in domain:
>> 'image=763f6930-16b6-4afc-a39e-4fab148e15cf,
>> domain=5ef8572c-0ab5-4491-994a-e4c30230a525
>> So it is referenced into the database but doesn't exist on the storage
>> domain. I want to erase it from the webadmin, and I try to find the
>> reference of thios disk in the pg database so I can delete it but I
>> haven't
>> found it. How can I do this?
>> ps : it appears in the webadmin as a floating disk but I can't attach it
>> to
>> any vm.
> What is the status of the disk (is it marked as Illegal)?
> You might hit the disk removal issue addressed by [1]
> which has been integrated to ovirt 3.3.
> You can find the disk by correlating the 'ID' column in disks
> main-tab with 'image_group' column in images db table.
> However, removing the disk manually should be left as last resort.
> Can you please attach the full vdsm/engine logs?
>
> [1]
>
http://gerrit.ovirt.org/#/c/19161/4
>
>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle exploitation et maintenance
>> Département des systèmes d'information
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr a
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users
>>
--
Nathanaël Blanchet
Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr