From 43996a8a7ef59ea388a63b6973b670c10d24f64b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 21 Apr 2018 23:47:23 +0800 Subject: [PATCH] placeholder: whitelist MDS_ALL_DOWN, MDS_UP_LESS_THAN_MAX by default 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 --- teuthology/suite/placeholder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/teuthology/suite/placeholder.py b/teuthology/suite/placeholder.py index 2749afb500..1942100c43 100644 --- a/teuthology/suite/placeholder.py +++ b/teuthology/suite/placeholder.py @@ -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': { -- 2.39.5