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>
---
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/59241
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: master
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>