From 4e41878082469f77d265b39e045e22fa15edca0c Mon Sep 17 00:00:00 2001 From: xiaoxi_chen Date: Mon, 11 Mar 2013 11:06:21 +0800 Subject: [PATCH] update error log arguements in filter scheduler There's one log issue in filter scheduler fell off radar in previous fix, this change closes the gap. Fixes: bug #1130867 Change-Id: I78def31bd9ff4349cd1332cb96ef6311ce9eac20 --- cinder/scheduler/filter_scheduler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/scheduler/filter_scheduler.py b/cinder/scheduler/filter_scheduler.py index 24feebb4c..71caf16dc 100644 --- a/cinder/scheduler/filter_scheduler.py +++ b/cinder/scheduler/filter_scheduler.py @@ -128,9 +128,9 @@ class FilterScheduler(driver.Scheduler): return # no previously attempted hosts, skip last_host = hosts[-1] - msg = _("Error from last vol-service: %(last_host)s : " - "%(exc)s") % locals() - LOG.error(msg, volume_id=volume_id) + msg = _("Error scheduling %(volume_id)s from last vol-service: " + "%(last_host)s : %(exc)s") % locals() + LOG.error(msg) def _populate_retry(self, filter_properties, properties): """Populate filter properties with history of retries for this -- 2.45.2