Change in ovirt-hosted-engine-setup[master]: Determine the necessary space from the sparse size of the image

stirabos at redhat.com stirabos at redhat.com
Thu Sep 15 09:52:35 UTC 2016


Simone Tiraboschi has submitted this change and it was merged.

Change subject: Determine the necessary space from the sparse size of the image
......................................................................


Determine the necessary space from the sparse size of the image

Instead of relying on the OVF metadata (which is the raw size),
use the sparse size to determine local storage requirements, so
we don't need 50Gb of space in /var/tmp for a ~3.5GB qcow before
we copy it over to shared storage.

Change-Id: I14bc33573a1b26e929cd96081a1083023d6b2a9c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1347340
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt_hosted_engine_setup/constants.py
M src/plugins/gr-he-common/vm/boot_disk.py
2 files changed, 14 insertions(+), 2 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Simone Tiraboschi: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Ryan Barry: Verified



-- 
To view, visit https://gerrit.ovirt.org/57904
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I14bc33573a1b26e929cd96081a1083023d6b2a9c
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yaniv Kaul <ykaul at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list