]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite: set each run description to combination of facet names
authorSage Weil <sage@newdream.net>
Tue, 28 Jun 2011 21:44:52 +0000 (14:44 -0700)
committerSage Weil <sage@newdream.net>
Wed, 29 Jun 2011 19:09:38 +0000 (12:09 -0700)
teuthology/suite.py
teuthology/task/ceph.py

index 691e235781f18d7af24b746e17f4ed0c5446546d..3f7ded19ae4c242626b2e37a613dcb4fde7b5600 100644 (file)
@@ -79,10 +79,10 @@ useful for specifying actual machines to run on.
         for f in facets
         )
     for configs in itertools.product(*facet_configs):
-        log.info(
-            'Running teuthology with facets %s',
-            ' '.join('{facet}:{name}'.format(facet=facet, name=name)
+        description=' '.join('{facet}:{name}'.format(facet=facet, name=name)
                      for facet, name, path in configs)
+        log.info(
+            'Running teuthology with facets %s', description
             )
         arg = [
             os.path.join(os.path.dirname(sys.argv[0]), 'teuthology'),
@@ -98,6 +98,8 @@ useful for specifying actual machines to run on.
             time.sleep(1)
         arg.append('--archive={path}'.format(path=archive))
 
+        arg.append('--description=\'{desc}\''.format(desc=description))
+
         arg.append('--')
 
         arg.extend(path for facet, name, path in configs)
index d0c864497d31e21b71ff6473c90ff96b93f67bfe..5a8aed71a89f871cf21ff44c06f3d045f21a58b4 100644 (file)
@@ -552,6 +552,7 @@ def mds(ctx, config):
                     '-f',
                     '-i', id_,
                     '-c', '/tmp/cephtest/ceph.conf',
+#                    '--debug-mds','20',
                     ],
                 logger=log.getChild('mds.{id}'.format(id=id_)),
                 stdin=run.PIPE,