Yeela Kaplan has posted comments on this change.

Change subject: volume: Log the correct error when creating a volume fails
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/33301/1/vdsm/storage/volume.py
File vdsm/storage/volume.py:

Line 435:                                      srcVolUUID, volPath)
Line 436:             except (se.VolumeAlreadyExists, 
se.CannotCreateLogicalVolume) as e:
Line 437:                 cls.log.error("Failed to create volume %s: %s", 
volPath, e)
Line 438:                 vars.task.popRecovery()
Line 439:                 raise e
if you are already touching this code, then it will be a good to use only 
'raise' so that we don't mess up with the original stack trace
Line 440:             # When the volume format is raw what the guest sees is 
the apparent
Line 441:             # size of the file/device therefore if the requested size 
doesn't
Line 442:             # match the apparent size (eg: physical extent 
granularity in LVM)
Line 443:             # we need to update the size value so that the metadata 
reflects


-- 
To view, visit http://gerrit.ovirt.org/33301
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I603b055658950dae5ccc3806b8b7a9e53762c5ef
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: Yoav Kleinberger <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to