From: Joao Eduardo Luis Date: Thu, 18 Jul 2013 14:58:23 +0000 (+0100) Subject: task: mon_clock_skew_check: missing 'str'.format() key crashed the test X-Git-Tag: 1.1.0~2065 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7ca59dfae11f9157e223697b5fa77fe025b1fb09;p=teuthology.git task: mon_clock_skew_check: missing 'str'.format() key crashed the test Signed-off-by: Joao Eduardo Luis --- diff --git a/teuthology/task/mon_clock_skew_check.py b/teuthology/task/mon_clock_skew_check.py index 634eaa2a18..1fb9cecac7 100644 --- a/teuthology/task/mon_clock_skew_check.py +++ b/teuthology/task/mon_clock_skew_check.py @@ -147,7 +147,7 @@ class ClockSkewCheck: if abs(mon_skew) > self.max_skew: assert mon_health == 'HEALTH_WARN', \ 'mon.{id} health is \'{health}\' but skew {s} > max {ms}'.format( - id=mon_id,s=abs(mon_skew),ms=self.max_skew) + id=mon_id,health=mon_health,s=abs(mon_skew),ms=self.max_skew) log_str = 'mon.{id} with skew {s} > max {ms}'.format( id=mon_id,s=abs(mon_skew),ms=self.max_skew)