From ef194813993bce0a4aefa06e146298050a332200 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 13 Jan 2021 07:54:09 -0800 Subject: [PATCH] qa: add delays only for osd/mds The delays were applied everywhere and needlessly interfere with test commands sent to mons from the ceph admin command. Furthermore, the delays would not affect the kernel client. Now the delays are performed by the MDS on clients. Signed-off-by: Patrick Donnelly --- .../fs/thrash/multifs/msgr-failures/osd-mds-delay.yaml | 10 ++++++++-- .../thrash/workloads/msgr-failures/osd-mds-delay.yaml | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/qa/suites/fs/thrash/multifs/msgr-failures/osd-mds-delay.yaml b/qa/suites/fs/thrash/multifs/msgr-failures/osd-mds-delay.yaml index b4ca87f51271..17cbc5b9005a 100644 --- a/qa/suites/fs/thrash/multifs/msgr-failures/osd-mds-delay.yaml +++ b/qa/suites/fs/thrash/multifs/msgr-failures/osd-mds-delay.yaml @@ -1,9 +1,15 @@ overrides: ceph: conf: - global: + osd: ms inject socket failures: 2500 - ms inject delay type: osd mds + ms inject delay type: client mds + ms inject delay probability: .005 + ms inject delay max: 1 + mon client directed command retry: 5 + mds: + ms inject socket failures: 2500 + ms inject delay type: client mds osd ms inject delay probability: .005 ms inject delay max: 1 mon client directed command retry: 5 diff --git a/qa/suites/fs/thrash/workloads/msgr-failures/osd-mds-delay.yaml b/qa/suites/fs/thrash/workloads/msgr-failures/osd-mds-delay.yaml index b4ca87f51271..17cbc5b9005a 100644 --- a/qa/suites/fs/thrash/workloads/msgr-failures/osd-mds-delay.yaml +++ b/qa/suites/fs/thrash/workloads/msgr-failures/osd-mds-delay.yaml @@ -1,9 +1,15 @@ overrides: ceph: conf: - global: + osd: ms inject socket failures: 2500 - ms inject delay type: osd mds + ms inject delay type: client mds + ms inject delay probability: .005 + ms inject delay max: 1 + mon client directed command retry: 5 + mds: + ms inject socket failures: 2500 + ms inject delay type: client mds osd ms inject delay probability: .005 ms inject delay max: 1 mon client directed command retry: 5 -- 2.47.3