Live Merge failed with "No such drive" error
Issue
-
Live Merge (snapshot deletion) failed.
-
Engine logs show
No such driveerror;
2017-04-25 19:58:22,279 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand] (pool-5-thread-9) [8fcc56c] Command 'MergeVDSCommand(HostName = host-A, MergeVDSCommandParameters:{runAsync='true', hostId='443b1820-c719-44c9-87ee-a1e522206545', vmId='44445423-359f-473d-a778-7e17faddbfac', storagePoolId='00000002-0002-0002-0002-000000000113', storageDomainId='02a218cc-de64-4911-8d98-4128f6937c02', imageGroupId='f7b0fef4-d0fb-4d03-a6d8-6fe7497c3aee', imageId='07a1bb18-e6de-43d7-9238-273e8a9a10b2', baseImageId='61d55957-76f2-419c-b475-500ce528597d', topImageId='07a1bb18-e6de-43d7-9238-273e8a9a10b2', bandwidth='0'})' execution failed: VDSGenericException: VDSErrorException: Failed to MergeVDS, error = No such drive: '{'domainID': u'02a218cc-de64-4911-8d98-4128f6937c02', 'imageID': u'e6582210-11d1-4ddd-b9d2-d4af9a608ee2', 'volumeID': u'd4d873c9-34ce-4fe8-bfe1-cacc9b947747', 'poolID': u'00000002-0002-0002-0002-000000000113'}', code = -32603
- vdsm logs on the host on which the VM was running show
LookupError,No such driveerror;
jsonrpc.Executor/2::ERROR::2017-04-25 19:58:21,489::__init__::550::jsonrpc.JsonRpcServer::(_handle_request) Internal server error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 545, in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 195, in _dynamicMethod
result = fn(*methodArgs)
File "/usr/share/vdsm/API.py", line 810, in merge
return v.merge(drive, baseVolUUID, topVolUUID, bandwidth, jobUUID)
File "/usr/share/vdsm/virt/vm.py", line 4706, in merge
self.updateVmJobs()
File "/usr/share/vdsm/virt/vm.py", line 4506, in updateVmJobs
self._vmJobs = self.queryBlockJobs()
File "/usr/share/vdsm/virt/vm.py", line 4535, in queryBlockJobs
drive = self._findDriveByUUIDs(storedJob['disk'])
File "/usr/share/vdsm/virt/vm.py", line 3248, in _findDriveByUUIDs
raise LookupError("No such drive: '%s'" % drive)
LookupError: No such drive: '{'domainID': u'02a218cc-de64-4911-8d98-4128f6937c02', 'imageID': u'e6582210-11d1-4ddd-b9d2-d4af9a608ee2', 'volumeID': u'd4d873c9-34ce-4fe8-bfe1-cacc9b947747', 'poolID': u'00000002-0002-0002-0002-000000000113'}'
Environment
- Red Hat Virtualization (RHV) 4.0.7
- Red Hat Virtualization hypervisor (RHVH) 4.0-7.1
- vdsm-4.18.24-3.el7
- libvirt-2.0.0-10.el7_3.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.