Change in vdsm[master]: blockSD: fix log message in zeroImgVolumes
ishaby at redhat.com
ishaby at redhat.com
Wed May 4 08:59:53 UTC 2016
Idan Shaby has uploaded a new change for review.
Change subject: blockSD: fix log message in zeroImgVolumes
......................................................................
blockSD: fix log message in zeroImgVolumes
When logging a debug message regarding a volume that has been zeroed, we
always use the same volume id (the last one that was passed to
_zeroVolume), instead of the correct one.
This patch logs the correct volume.
Change-Id: I3bfc838c5a1a4c37ace9a2f88249527f282b1299
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M vdsm/storage/blockSD.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/57000/1
diff --git a/vdsm/storage/blockSD.py b/vdsm/storage/blockSD.py
index 3c7c290..6817b45 100644
--- a/vdsm/storage/blockSD.py
+++ b/vdsm/storage/blockSD.py
@@ -267,7 +267,7 @@
proc.returncode, proc.stderr.read(1000))
else:
log.debug("%s/%s was zeroed and will be deleted",
- sdUUID, volUUID)
+ sdUUID, vol)
toDelete.append(vol)
if toDelete:
try:
--
To view, visit https://gerrit.ovirt.org/57000
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bfc838c5a1a4c37ace9a2f88249527f282b1299
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
More information about the vdsm-patches
mailing list