Sergey Gotliv has uploaded a new change for review. Change subject: Fix parentVolumeRollback function ......................................................................
Fix parentVolumeRollback function Parent volume should be prepared before teardown during recovery process. Change-Id: I11948aacad21008ffbb4cb23013bf363e60bdb9b Bug-Url: https://bugzilla.redhat.com/982004 Signed-off-by: Sergey Gotliv <sgot...@redhat.com> --- M vdsm/storage/volume.py 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/05/18205/1 diff --git a/vdsm/storage/volume.py b/vdsm/storage/volume.py index 10b3363..b9e4adc 100644 --- a/vdsm/storage/volume.py +++ b/vdsm/storage/volume.py @@ -333,6 +333,7 @@ if pvolUUID != BLANK_UUID and pimgUUID != BLANK_UUID: pvol = sdCache.produce(sdUUID).produceVolume(pimgUUID, pvolUUID) + pvol.prepare() if not pvol.isShared() and not pvol.recheckIfLeaf(): pvol.setLeaf() pvol.teardown(sdUUID, pvolUUID) -- To view, visit http://gerrit.ovirt.org/18205 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I11948aacad21008ffbb4cb23013bf363e60bdb9b Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Sergey Gotliv <sgot...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches