]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/internal/syslog: blacklist log from ceph-create-keys 1084/head
authorKefu Chai <kchai@redhat.com>
Thu, 22 Jun 2017 05:28:49 +0000 (13:28 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 22 Jun 2017 05:31:14 +0000 (13:31 +0800)
the log format of ceph-create-keys is "$level:$name:$message"

Fixes: http://tracker.ceph.com/issues/20171
Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/task/internal/syslog.py

index 27abc8fe49de06fe9191e834c1ae14c33057ca23..eb1540ec1b59db8a9b49f9b6487fee47dc8251ba 100644 (file)
@@ -128,6 +128,8 @@ def syslog(ctx, config):
                     run.Raw('|'),
                     'grep', '-v', 'ceph-create-keys: INFO',
                     run.Raw('|'),
+                    'grep', '-v', 'INFO:ceph-create-keys',
+                    run.Raw('|'),
                     'head', '-n', '1',
                 ],
                 stdout=StringIO(),