Why does deleting a VM in RHEV fail with the error "Failed to DeleteImageGroupVDS, error = not enough arguments for format string" ?
Issue
- Trying to delete a vm in RHEV fails with either of the below error in rhevm.log.
2012-12-07 16:40:39,633 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-11-thread-49) Error code GeneralException and error message IRSGenericException: IRSErrorException: Failed to DeleteImageGroupVDS, error = not enough arguments for format string
OR
ERROR [org.ovirt.engine.core.bll.RemoveImageCommand] (http-0.0.0.0-8443-3) 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=f0d1c9c9-3cf4-49a5-ab8b-7e387a4bb23e, domain=5b501f3c-2853-4c2c-8d4e-0b3753adebce'
- vdsm.log has below messages.
Thread-204275::WARNING::2012-12-07 21:23:56,571::blockSD::925::Storage.StorageDomain::(rmDCVolLinks) Can't unlink /rhev/data-center/mnt/blockSD/0869a721-55c4-4639-aa60-05da4eea3aac/images/95c918df-d063-48dc-86af-3466b2197287/da7c6289-3e9e-46fb-931a-c1dcd056332b. [Errno 2] No such file or directory: '/rhev/data-center/mnt/blockSD/0869a721-55c4-4639-aa60-05da4eea3aac/images/95c918df-d063-48dc-86af-3466b2197287/da7c6289-3e9e-46fb-931a-c1dcd056332b'
Thread-204275::DEBUG::2012-12-07 21:23:56,572::blockSD::928::Storage.StorageDomain::(rmDCVolLinks) removed: []
Thread-204275::ERROR::2012-12-07 21:23:56,572::task::853::TaskManager.Task::(_setError) Task=`2b0b7280-0ac4-410c-ab79-d38767f1eee1`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 861, in _run
File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
File "/usr/share/vdsm/storage/hsm.py", line 1349, in deleteImage
File "/usr/share/vdsm/storage/blockSD.py", line 946, in deleteImage
File "/usr/share/vdsm/storage/blockSD.py", line 937, in rmDCImgDir
File "/usr/lib64/python2.6/logging/__init__.py", line 1068, in warning
File "/usr/lib64/python2.6/logging/__init__.py", line 1173, in _log
File "/usr/lib64/python2.6/logging/__init__.py", line 1183, in handle
File "/usr/lib64/python2.6/logging/__init__.py", line 1220, in callHandlers
File "/usr/lib64/python2.6/logging/__init__.py", line 679, in handle
File "/usr/lib64/python2.6/logging/handlers.py", line 776, in emit
File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format
File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format
File "/usr/lib64/python2.6/logging/__init__.py", line 306, in getMessage
TypeError: not enough arguments for format string
Thread-890260::ERROR::2012-12-17 21:32:47,264::task::853::TaskManager.Task::(_setError) Task=`37027b5f-774c-4565-985e-f77ef4876614`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 861, in _run
File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
File "/usr/share/vdsm/storage/hsm.py", line 1324, in deleteImage
ImageDoesNotExistInSD: Image does not exist in domain: 'image=95c918df-d063-48dc-86af-3466b2197287, domain=0869a721-55c4-4639-aa60-05da4eea3aac' <=======
Environment
- Red Hat Enterprise Virtualization 3.0
- Red Hat Enterprise Virtualization 3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
