[Engine-devel] How to DELETE Disk in Illegal state

------=_Part_413267_1226530455.1382793337629 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi all, I have encounter a problem that can not remove disk in Illegal state,almost all method I can do on Web UI. I ask for help is is possible to remove it on backend database,and what the psql command will perform this? another question is if the illegal state disk was removed from backend database by psql command whether disk space will be recycle by system? Here is related error message on engine.log 2013-10-26 18:03:47,826 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-30) [6e9ad129] Command DeleteImageGroupVDS execution failed. Exception: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=b518e267-fba3-4222-964a-488de5a7360f, domain=63322733-a0cd-4648-9a48-d851c219e61e' 2013-10-26 18:03:47,828 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] (pool-3-thread-30) [6e9ad129] FINISH, DeleteImageGroupVDSCommand, log id: 5cde6484 2013-10-26 18:03:47,828 ERROR [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-30) [6e9ad129] Command org.ovirt.engine.core.bll.RemoveImageCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=b518e267-fba3-4222-964a-488de5a7360f, domain=63322733-a0cd-4648-9a48-d851c219e61e' 2013-10-26 18:03:47,834 INFO [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-30) [6e9ad129] Command [id=9ffffbc3-4d5d-497d-a6f3-efca7362ef15]: Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.businessentities.Image; snapshot: EntityStatusSnapshot [id=90eb85d4-8d88-4691-8453-585554dff5ac, status=ILLEGAL]. oVirt engine:3.2.1-1.41.el6.noarch.rpm vdsm:4.10.3-0.36.23.el6.noarch.rpm ------=_Part_413267_1226530455.1382793337629 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>Hi all,<br>I have encounter a problem that can not remove disk in Illegal state,almost all method I can do on Web UI.</div><div>I ask for help is is possible to remove it on backend database,and what the psql command will perform this?<br>another question is if the illegal state disk was removed from backend database by psql command whether disk space will be recycle by system?</div><div> </div><div>Here is related error message on engine.log<br>2013-10-26 18:03:47,826 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-30) [6e9ad129] Command DeleteImageGroupVDS execution failed. Exception: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=b518e267-fba3-4222-964a-488de5a7360f, domain=63322733-a0cd-4648-9a48-d851c219e61e'<br>2013-10-26 18:03:47,828 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand] (pool-3-thread-30) [6e9ad129] FINISH, DeleteImageGroupVDSCommand, log id: 5cde6484<br>2013-10-26 18:03:47,828 ERROR [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-30) [6e9ad129] Command org.ovirt.engine.core.bll.RemoveImageCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Image does not exist in domain: 'image=b518e267-fba3-4222-964a-488de5a7360f, domain=63322733-a0cd-4648-9a48-d851c219e61e'<br>2013-10-26 18:03:47,834 INFO [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-30) [6e9ad129] Command [id=9ffffbc3-4d5d-497d-a6f3-efca7362ef15]: Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.businessentities.Image; snapshot: EntityStatusSnapshot [id=90eb85d4-8d88-4691-8453-585554dff5ac, status=ILLEGAL].</div><div> </div><div>oVirt engine:3.2.1-1.41.el6.noarch.rpm<br>vdsm:4.10.3-0.36.23.el6.noarch.rpm</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_413267_1226530455.1382793337629--
participants (1)
-
Edgar