From 8aea6adb4a36c137e33b3a8b99e728738266f0f0 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 22 Jul 2020 10:57:13 +0200 Subject: [PATCH] ceph-ansible: split shrink_osd scenario This is for testing in two ways: 1/ shrinking OSDs one by one 2/ shrinking multiple OSDs with a single call of the playbook Related ceph-ansible PR: ceph/ceph-ansible#5569 Signed-off-by: Guillaume Abrioux --- ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml | 3 ++- scripts/build_utils.sh | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml b/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml index fdd9f7e1..81117f3c 100644 --- a/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml +++ b/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml @@ -96,7 +96,8 @@ - rgw_multisite - shrink_mon - shrink_mgr - - shrink_osd + - shrink_osd_multiple + - shrink_osd_single - shrink_osd_legacy - shrink_rgw - shrink_mds diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 7105e426..e9f8b869 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -909,6 +909,12 @@ case $SCENARIO in cephadm) TOX_INI_FILE=tox-cephadm.ini ;; + shrink_osd_single) + TOX_INI_FILE=tox-shrink_osd.ini + ;; + shrink_osd_multiple) + TOX_INI_FILE=tox-shrink_osd.ini + ;; *) TOX_INI_FILE=tox.ini ;; -- 2.39.5