[Users] Unable to delete a snapshot

Maor Lipchuk mlipchuk at redhat.com
Tue Jan 7 03:09:11 UTC 2014


Hi Nicolas,
I think that the initial problem started at 10:06 when VDSM tried to
clear records of the ancestor volume
c50561d9-c3ba-4366-b2bc-49bbfaa4cd23 (see [1])

Looking at bugzilla, it could be related to
https://bugzilla.redhat.com/1029069
(based on the exception described at
https://bugzilla.redhat.com/show_bug.cgi?id=1029069#c1)

The issue there was fixed after an upgrade to 3.3.1 (as Sander mentioned
it before in the mailing list)

Could you give it a try and check if that works for you?

Also it will be great if you could open a bug on that with the full
VDSM, engine logs and the list of lvs.

Regards,
Maor



[1]
236b3c5a-452a-4614-801a-c30cefbce87e::ERROR::2014-01-06
10:06:14,407::task::850::TaskManager.Task::(_setError)
Task=`236b3c5a-452a-4614-801a-c30cefbce87e`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 857, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/task.py", line 318, in run
    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/share/vdsm/storage/sp.py", line 1937, in mergeSnapshots
    sdUUID, vmUUID, imgUUID, ancestor, successor, postZero)
  File "/usr/share/vdsm/storage/image.py", line 1162, in merge
    srcVol.shrinkToOptimalSize()
  File "/usr/share/vdsm/storage/blockVolume.py", line 315, in
shrinkToOptimalSize
    volParams = self.getVolumeParams()
  File "/usr/share/vdsm/storage/volume.py", line 1008, in getVolumeParams
    volParams['imgUUID'] = self.getImage()
  File "/usr/share/vdsm/storage/blockVolume.py", line 494, in getImage
    return self.getVolumeTag(TAG_PREFIX_IMAGE)
  File "/usr/share/vdsm/storage/blockVolume.py", line 464, in getVolumeTag
    return _getVolumeTag(self.sdUUID, self.volUUID, tagPrefix)
  File "/usr/share/vdsm/storage/blockVolume.py", line 662, in _getVolumeTag
    tags = lvm.getLV(sdUUID, volUUID).tags
  File "/usr/share/vdsm/storage/lvm.py", line 851, in getLV
    raise se.LogicalVolumeDoesNotExistError("%s/%s" % (vgName, lvName))
LogicalVolumeDoesNotExistError: Logical volume does not exist:
('11a077c7-658b-49bb-8596-a785109c24c9/_remove_me_aVmPgweS_c50561d9-c3ba-4366-b2bc-49bbfaa4cd23',)


On 01/06/2014 04:39 PM, Meital Bourvine wrote:
> I got the attachment.
> 
> This is the relevant error:
> 6caec3bc-fc66-42be-a642-7733fc033103::ERROR::2014-01-06 10:13:21,068::task::850::TaskManager.Task::(_setError) Task=`6caec3bc-fc66-42be-a642-7733fc033103`::Unexpected error
> Traceback (most recent call last):
>   File "/usr/share/vdsm/storage/task.py", line 857, in _run
>     return fn(*args, **kargs)
>   File "/usr/share/vdsm/storage/task.py", line 318, in run
>     return self.cmd(*self.argslist, **self.argsdict)
>   File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper
>     return f(self, *args, **kwargs)
>   File "/usr/share/vdsm/storage/sp.py", line 1937, in mergeSnapshots
>     sdUUID, vmUUID, imgUUID, ancestor, successor, postZero)
>   File "/usr/share/vdsm/storage/image.py", line 1101, in merge
>     dstVol = vols[ancestor]
> KeyError: '506085b6-40e0-4176-a4df-9102857f51f2'
> 
> I don't know why it happens, so you'll have to wait for someone else to answer.
> 
> ----- Original Message -----
>> From: "Nicolas Ecarnot" <nicolas at ecarnot.net>
>> To: "users" <users at ovirt.org>
>> Sent: Monday, January 6, 2014 4:22:57 PM
>> Subject: Re: [Users] Unable to delete a snapshot
>>
>> Le 06/01/2014 12:51, Nicolas Ecarnot a écrit :
>>>> Also, Please attach the whole vdsm.log, it's hard to read it this way
>>>> (lines are broken)
>>>
>>> See attachment.
>>
>> Actually, I don't know if this mailing list allows attachments ?
>>
>> --
>> Nicolas Ecarnot
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 




More information about the Users mailing list