Change in ovirt-hosted-engine-setup[master]: iscsi: checking image size against VG free space

sbonazzo at redhat.com sbonazzo at redhat.com
Fri Nov 14 08:23:13 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: iscsi: checking image size against VG free space
......................................................................


iscsi: checking image size against VG free space

On block devices we are preallocating the disk image so we need to check
if we have enough free space before starting.

We need to validate the image size before creating the VG so we cannot simply
check the VG free space but we need a rough estimate of its overhead

Change-Id: I17f861a053f6ac38983967ffb07ecca9ff9b8de1
Bug-Url: https://bugzilla.redhat.com/1142710
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
---
M src/ovirt_hosted_engine_setup/constants.py
M src/plugins/ovirt-hosted-engine-setup/storage/iscsi.py
M src/plugins/ovirt-hosted-engine-setup/storage/storage.py
M src/plugins/ovirt-hosted-engine-setup/vm/image.py
4 files changed, 74 insertions(+), 1 deletion(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I17f861a053f6ac38983967ffb07ecca9ff9b8de1
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list