From: Kefu Chai Date: Thu, 22 Jun 2017 05:28:49 +0000 (+0800) Subject: task/internal/syslog: blacklist log from ceph-create-keys X-Git-Tag: 1.1.0~415^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94cf9e2703dc851874102fffb2bef36a0b12a5d4;p=teuthology.git task/internal/syslog: blacklist log from ceph-create-keys the log format of ceph-create-keys is "$level:$name:$message" Fixes: http://tracker.ceph.com/issues/20171 Signed-off-by: Kefu Chai --- diff --git a/teuthology/task/internal/syslog.py b/teuthology/task/internal/syslog.py index 27abc8fe4..eb1540ec1 100644 --- a/teuthology/task/internal/syslog.py +++ b/teuthology/task/internal/syslog.py @@ -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(),