-----Original Message-----
From: Vojtech Juranek <vjuranek(a)redhat.com>
Sent: Tuesday, March 23, 2021 3:34 AM
To: devel(a)ovirt.org
Subject: [External] : [ovirt-devel] Re: Snapshot Deletion Issue
On Tuesday, 23 March 2021 04:25:25 CET Shubha Kulkarni wrote:
Hello,
I am investigating an issue with deleting snapshot in oVirt 4.3.10.
Basically the delete snapshot operation fails and I am seeing
following error in VDSM(vdsm-4.30.46) log -
======================================================================
======
=================================================================
2021-03-17
21:38:01,346-0400 INFO (jsonrpc/1) [virt.vm]
(vmId='4b04639c-386e-463c-8a8a-dfd3bc46d306') Starting merge with
jobUUID=u'e6206d9f-6899-40b7-857a-3be3dd42d77d', original
chain=ac065664-ad6c-4ad6-aea2-9558df71d41d <
210900dd-ff19-4a00-8706-926cb192b0db <
273fc001-1c18-4234-b2b6-f0485e5d13ef
< e1e10354-ae43-456f-9341-1bb81c5bf960 <
7985a853-4d47-428b-bb5b-b34a38cc57e0 (top), disk='sda', base='sda[2]',
top='sda[1]', bandwidth=0, flags=8 (vm:5954) 2021-03-17
21:38:01,354-0400 ERROR (jsonrpc/1) [virt.vm]
(vmId='4b04639c-386e-463c-8a8a-dfd3bc46d306')
Live merge failed (job: e6206d9f-6899-40b7-857a-3be3dd42d77d)
(vm:5960) Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 5958,
in merge bandwidth, flags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line
100, in f ret = attr(*args, **kwargs)
File
"/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py",
line 131, in wrapper ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py",
line 94, in wrapper return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 719, in
blockCommit if ret == -1: raise libvirtError ('virDomainBlockCommit()
failed', dom=self) libvirtError: internal error: qemu block name
'json:{"backing": {"backing": {"backing":
{"driver": "raw", "file":
{"driver": "file", "filename":
"/rhev/data-center/mnt/nash-nfs7:_nfs_shubha__ovirt__2_data/8bce5be7-a
ede-4
743-b3fd-1c199880892f/images/eb3cb8f2-9544-472f-946b-646eab9c621f/ac06
5664-a d6c-4ad6-aea2-9558df71d41d"}}, "driver": "qcow2",
"file":
{"driver": "file",
"filename":
"/rhev/data-center/mnt/nash-nfs7:_nfs_shubha__ovirt__2_data/8bce5be7-a
ede-4
743-b3fd-1c199880892f/images/eb3cb8f2-9544-472f-946b-646eab9c621f/2109
00dd-f f19-4a00-8706-926cb192b0db"}}, "driver": "qcow2",
"file":
{"driver": "file",
"filename":
"/rhev/data-center/mnt/nash-nfs7:_nfs_shubha__ovirt__2_data/8bce5be7-a
ede-4
743-b3fd-1c199880892f/images/eb3cb8f2-9544-472f-946b-646eab9c621f/273f
c001-1 c18-4234-b2b6-f0485e5d13ef"}}, "driver": "qcow2",
"file":
{"driver": "file",
"filename":
"/rhev/data-center/mnt/nash-nfs7:_nfs_shubha__ovirt__2_data/8bce5be7-a
ede-4
743-b3fd-1c199880892f/images/eb3cb8f2-9544-472f-946b-646eab9c621f/e1e1
0354-a e43-456f-9341-1bb81c5bf960"}}' doesn 2021-03-17
21:38:01,368-0400 INFO
(jsonrpc/1) [api.virt] FINISH merge return={'status': {'message':
'Merge failed', 'code': 52}}
======================================================================
=====
=================================================================
I found out that there is an issue logged here
https://bugzilla.redhat.com/show_bug.cgi?id=1785939. However I am not
able to see how it was fixed
=> Thanks for the quick response! It will be great if you can please point me to the
libvirt/qemu bug id/commits for this issue?
and whether it was merged in oVirt. Where can I find the relevant
commit (in vdsm and/or libvirt)?
Thanks