]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
task: mon_clock_skew_check: missing 'str'.format() key crashed the test
authorJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 18 Jul 2013 14:58:23 +0000 (15:58 +0100)
committerSage Weil <sage@inktank.com>
Sat, 20 Jul 2013 04:54:28 +0000 (21:54 -0700)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
teuthology/task/mon_clock_skew_check.py

index 634eaa2a182c81d779af29fd534150fa24540bd4..1fb9cecac77b555de053ed37056dc5cc1c37e7a4 100644 (file)
@@ -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)