Change in vdsm[master]: Fix logging in LiveMergeCleanupThread

alitke at redhat.com alitke at redhat.com
Mon Jun 29 13:34:17 UTC 2015


Adam Litke has uploaded a new change for review.

Change subject: Fix logging in LiveMergeCleanupThread
......................................................................

Fix logging in LiveMergeCleanupThread

The log object is located in the vm object, not in the
LiveMergeCleanupThread.  Correct this logging statement which may have
never been reached before.

Change-Id: Ic6b58298ba083ca4fb4a01684b3278b0fcf57577
Signed-off-by: Adam Litke <alitke at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/01/43001/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 4977d28..7604a45 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -4960,9 +4960,10 @@
                 self.vm.log.info("The XML update has been completed")
                 break
             else:
-                self.log.error("Bad volume chain found for drive %s. Previous "
-                               "chain: %s, Expected chain: %s, Actual chain: "
-                               "%s", alias, origVols, expectedVols, curVols)
+                self.vm.log.error("Bad volume chain found for drive %s. "
+                                  "Previous chain: %s, Expected chain: %s, "
+                                  "Actual chain: %s", alias, origVols,
+                                  expectedVols, curVols)
                 raise RuntimeError("Bad volume chain found")
 
 


-- 
To view, visit https://gerrit.ovirt.org/43001
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6b58298ba083ca4fb4a01684b3278b0fcf57577
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <alitke at redhat.com>


More information about the vdsm-patches mailing list