Keith Robertson has submitted this change and it was merged.
Change subject: Added logging of insufficient local space
......................................................................
Added logging of insufficient local space
When checking for space availability for decompressing the ovf
file in a temporary directory, notify the user and log an error
if there isn't enough space.
Also fixed the return value of space_test_ovf when tarfile raises an
exception and made space_test_ovf a static method.
Change-Id: Id9742144ed5f28399908d2dde116d34d86b3f119
Signed-off-by: Sandro Bonazzola <sbonazzo(a)redhat.com>
---
M src/__main__.py
1 file changed, 16 insertions(+), 2 deletions(-)
Approvals:
Sandro Bonazzola: Verified
Alex Lourie: Looks good to me, but someone else must approve
Juan Hernandez: Looks good to me, but someone else must approve
Kiril Nesenko: Looks good to me, but someone else must approve
Keith Robertson: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12688
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id9742144ed5f28399908d2dde116d34d86b3f119
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-image-uploader
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Keith Robertson <kroberts(a)redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko(a)redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>