]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
tell user which machines you locked
authorSage Weil <sage@newdream.net>
Mon, 11 Jul 2011 21:39:21 +0000 (14:39 -0700)
committerSage Weil <sage@newdream.net>
Mon, 11 Jul 2011 21:39:21 +0000 (14:39 -0700)
teuthology/task/internal.py

index 337cf8075be6553b408a7f4a49a19b638f05e4a0..32b5d0fdb63ecf9d5cc8e63d87cc462f85180028 100644 (file)
@@ -53,6 +53,7 @@ def lock_machines(ctx, config):
         newly_locked = lock.lock_many(ctx, config, ctx.owner)
         if len(newly_locked) == config:
             ctx.config['targets'] = newly_locked
+            log.info('\n  '.join(['Locked targets:', ] + newly_locked))
             break
         elif not ctx.block:
             assert 0, 'not enough machines are available'