Kiril Nesenko 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.
(cherry picked from commit 9d2aae87f00a699391f9290edf15e0b0cb7ce6d4)
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
Kiril Nesenko: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/13743
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id9742144ed5f28399908d2dde116d34d86b3f119
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-image-uploader
Gerrit-Branch: ovirt-image-uploader-3.2
Gerrit-Owner: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Keith Robertson <kroberts(a)redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>