summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
authorRyan Lane <rlane@wikimedia.org>2011-01-27 12:17:43 +0000
committerRyan Lane <rlane@wikimedia.org>2011-01-27 12:17:43 +0000
commitc02a587ea03fecde26f49bec52f8d96aa551979a (patch)
tree68e236b508d5019812bf7de65fc1a209d0df474f /nova/service.py
parentfc8f41e9c34c8d14d1c66ca03ce7098cc6b7f04d (diff)
parentcaca4a1320638b0d806f1854ba8233d941f50e86 (diff)
downloadnova-c02a587ea03fecde26f49bec52f8d96aa551979a.tar.gz
nova-c02a587ea03fecde26f49bec52f8d96aa551979a.tar.xz
nova-c02a587ea03fecde26f49bec52f8d96aa551979a.zip
Merge from trunk
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/service.py b/nova/service.py
index 2c30997f2..59648adf2 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -157,8 +157,9 @@ class Service(object):
report_interval = FLAGS.report_interval
if not periodic_interval:
periodic_interval = FLAGS.periodic_interval
- logging.audit(_("Starting %s node (version %s)"), topic,
- version.version_string_with_vcs())
+ vcs_string = version.version_string_with_vcs()
+ logging.audit(_("Starting %(topic)s node (version %(vcs_string)s)")
+ % locals())
service_obj = cls(host, binary, topic, manager,
report_interval, periodic_interval)