Dan Kenigsberg has submitted this change and it was merged.

Change subject: blockVolume: prepare volumes for shrinkToOptimalSize
......................................................................


blockVolume: prepare volumes for shrinkToOptimalSize

The qemu-img check command needs the entire volume chain in order to
be able to open the image.
Up until now shrinkToOptimalSize worked only for base volumes, in the
other cases it was failing with:

 QImgError: ecode=1, stdout=[], stderr=[
   "Could not open '(image path)': No such file or directory"]

Change-Id: Ic9fceee28932da6895829c7e7efadb735c1ec060
Signed-off-by: Federico Simoncelli <fsimo...@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/28009
Reviewed-by: Kevin Wolf <kwolf%redhat....@gtempaccount.com>
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
---
M vdsm/storage/blockVolume.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Federico Simoncelli: Verified
  Dan Kenigsberg: Looks good to me, approved
  Kevin Wolf: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9fceee28932da6895829c7e7efadb735c1ec060
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Kevin Wolf <kwolf%redhat....@gtempaccount.com>
Gerrit-Reviewer: Yeela Kaplan <ykap...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to