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(a)redhat.com>
(cherry picked from commit 624186e372d4e80e36b60312b8b79c7a3fd2bc7d)
---
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: Looks good to me, approved
Simone Tiraboschi: Verified
--
To view, visit
http://gerrit.ovirt.org/35151
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I17f861a053f6ac38983967ffb07ecca9ff9b8de1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: ovirt-hosted-engine-setup-1.2
Gerrit-Owner: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server