]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
syslog: ignore 'task blocked' warnings
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 9 Dec 2011 01:17:47 +0000 (17:17 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 9 Dec 2011 01:17:47 +0000 (17:17 -0800)
These will happen under heavy load (usually on the osd).

teuthology/task/internal.py

index 62709a1d8a70e104dcea5925d2b8e1d248edd187..a9f882311d296420d64a89cfc6d4347ef6c94184 100644 (file)
@@ -364,6 +364,8 @@ kern.* -/tmp/cephtest/archive/syslog/kern.log;RSYSLOG_FileFormat
                     'BUG|INFO|DEADLOCK',
                     run.Raw('/tmp/cephtest/archive/syslog/*.log'),
                     run.Raw('|'),
+                    'grep', '-v', 'task .* blocked for more than .* seconds',
+                    run.Raw('|'),
                     'head', '-n', '1',
                     ],
                 stdout=StringIO(),