From c0da26505fa48ce18170af4b5f7446705f405998 Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Fri, 21 Dec 2018 14:50:41 -0800 Subject: [PATCH] qa/suites/upgrade/*-x/stress-split: set pglog_hardlimit flag Signed-off-by: Neha Ojha --- .../luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml | 5 +++++ .../upgrade/luminous-x/stress-split/5-finish-upgrade.yaml | 5 +++++ .../mimic-x/stress-split/2-partial-upgrade/firsthalf.yaml | 5 +++++ qa/suites/upgrade/mimic-x/stress-split/5-finish-upgrade.yaml | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/qa/suites/upgrade/luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml b/qa/suites/upgrade/luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml index 02ba5c1bba88..ea3884d9f6d6 100644 --- a/qa/suites/upgrade/luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml +++ b/qa/suites/upgrade/luminous-x/stress-split/2-partial-upgrade/firsthalf.yaml @@ -11,3 +11,8 @@ tasks: daemons: [mon.a,mon.b,mon.c,mgr.x,osd.0,osd.1,osd.2,osd.3] mon-health-to-clog: false - print: "**** done ceph.restart 1st half" +- exec: + osd.0: + - ceph osd set pglog_hardlimit && exit 1 || true + - ceph osd dump --format=json-pretty | grep "flags" +- print: "**** try to set pglog_hardlimit, should not succeed" diff --git a/qa/suites/upgrade/luminous-x/stress-split/5-finish-upgrade.yaml b/qa/suites/upgrade/luminous-x/stress-split/5-finish-upgrade.yaml index 6e2fc54509e5..578d84d3d850 100644 --- a/qa/suites/upgrade/luminous-x/stress-split/5-finish-upgrade.yaml +++ b/qa/suites/upgrade/luminous-x/stress-split/5-finish-upgrade.yaml @@ -6,4 +6,9 @@ tasks: daemons: [osd.4, osd.5, osd.6, osd.7] wait-for-healthy: false wait-for-osds-up: true +- exec: + osd.0: + - ceph osd set pglog_hardlimit + - ceph osd dump --format=json-pretty | grep "flags" +- print: "**** try to set pglog_hardlimit again, should succeed" diff --git a/qa/suites/upgrade/mimic-x/stress-split/2-partial-upgrade/firsthalf.yaml b/qa/suites/upgrade/mimic-x/stress-split/2-partial-upgrade/firsthalf.yaml index 02ba5c1bba88..ea3884d9f6d6 100644 --- a/qa/suites/upgrade/mimic-x/stress-split/2-partial-upgrade/firsthalf.yaml +++ b/qa/suites/upgrade/mimic-x/stress-split/2-partial-upgrade/firsthalf.yaml @@ -11,3 +11,8 @@ tasks: daemons: [mon.a,mon.b,mon.c,mgr.x,osd.0,osd.1,osd.2,osd.3] mon-health-to-clog: false - print: "**** done ceph.restart 1st half" +- exec: + osd.0: + - ceph osd set pglog_hardlimit && exit 1 || true + - ceph osd dump --format=json-pretty | grep "flags" +- print: "**** try to set pglog_hardlimit, should not succeed" diff --git a/qa/suites/upgrade/mimic-x/stress-split/5-finish-upgrade.yaml b/qa/suites/upgrade/mimic-x/stress-split/5-finish-upgrade.yaml index 6e2fc54509e5..578d84d3d850 100644 --- a/qa/suites/upgrade/mimic-x/stress-split/5-finish-upgrade.yaml +++ b/qa/suites/upgrade/mimic-x/stress-split/5-finish-upgrade.yaml @@ -6,4 +6,9 @@ tasks: daemons: [osd.4, osd.5, osd.6, osd.7] wait-for-healthy: false wait-for-osds-up: true +- exec: + osd.0: + - ceph osd set pglog_hardlimit + - ceph osd dump --format=json-pretty | grep "flags" +- print: "**** try to set pglog_hardlimit again, should succeed" -- 2.47.3