Sandro Bonazzola has submitted this change and it was merged.
Change subject: Fix size calculation when zeroing VDSM volumes
......................................................................
Fix size calculation when zeroing VDSM volumes
Instead of os.stat().st_size, which works only on regular files,
open the file and seek to the end.
Change-Id: Ibfba9c165983e6b36dacdff844960827bbe57995
Bug-Url:
https://bugzilla.redhat.com/1346341
Signed-off-by: Yedidyah Bar David <didi(a)redhat.com>
(cherry picked from commit b8b85afa1dcbf3810eaee4acdb0b97a45187403a)
---
M ovirt_hosted_engine_ha/lib/storage_backends.py
1 file changed, 7 insertions(+), 2 deletions(-)
Approvals:
Sandro Bonazzola: Looks good to me, approved
Simone Tiraboschi: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
Yedidyah Bar David: Verified
--
To view, visit
https://gerrit.ovirt.org/60269
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibfba9c165983e6b36dacdff844960827bbe57995
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: v2.0.z
Gerrit-Owner: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(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: gerrit-hooks <automation(a)ovirt.org>