From: Neha Ojha Date: Fri, 21 Dec 2018 22:50:41 +0000 (-0800) Subject: qa/suites/upgrade/*-x/stress-split: set pglog_hardlimit flag X-Git-Tag: v14.1.0~447^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c0da26505fa48ce18170af4b5f7446705f405998;p=ceph.git qa/suites/upgrade/*-x/stress-split: set pglog_hardlimit flag Signed-off-by: Neha Ojha --- 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 02ba5c1bba8..ea3884d9f6d 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 6e2fc54509e..578d84d3d85 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 02ba5c1bba8..ea3884d9f6d 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 6e2fc54509e..578d84d3d85 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"