]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
show host -> roles mapping on startup
authorSage Weil <sage@newdream.net>
Sat, 14 Jan 2012 05:56:37 +0000 (21:56 -0800)
committerSage Weil <sage@newdream.net>
Mon, 16 Jan 2012 06:52:58 +0000 (22:52 -0800)
Less guessing when manually inspecting an in-progress or hung run.

teuthology/task/internal.py

index 60241f9f097741e07fa60bc6592a0f99a9672dea..071d8e6f6f8a130968835aaaa78d53fd572d52df 100644 (file)
@@ -135,6 +135,7 @@ def connect(ctx, config):
             assert all(isinstance(role, str) for role in roles), \
                 "Roles in config must be strings: %r" % roles
             ctx.cluster.add(rem, roles)
+            log.info('roles: %s - %s' % (rem, roles))
     else:
         for rem in remotes:
             ctx.cluster.add(rem, rem.name)