]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
placeholder: whitelist MDS_ALL_DOWN, MDS_UP_LESS_THAN_MAX by default 1168/head
authorKefu Chai <kchai@redhat.com>
Sat, 21 Apr 2018 15:47:23 +0000 (23:47 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 22 Apr 2018 08:38:03 +0000 (16:38 +0800)
because, in ceph/qa/tasks/ceph.py, we start mon, mgr, osd, and then mds.
there is a time window where there is no mds around, but mgr is checking
mdsmap for MDS_ALL_DOWN errors. there is no way to disable this check in
this time window. so we just whitelist MDS_ALL_DOWN here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/suite/placeholder.py

index 2749afb500d25e57aef6c606195015793b70f969..1942100c43d47acafb9632ce0be4be69b046d92d 100644 (file)
@@ -70,7 +70,10 @@ dict_templ = {
                     'debug osd': 25
                 }
             },
-            'log-whitelist': ['slow request', '\(SLOW_OPS\)'],
+            'log-whitelist': ['slow request',
+                              '\(MDS_ALL_DOWN\)',
+                              '\(MDS_UP_LESS_THAN_MAX\)',
+                              '\(SLOW_OPS\)'],
             'sha1': Placeholder('ceph_hash'),
         },
         'ceph-deploy': {