From b9e397ebaf89815ea65c642cb96fa9f81f2695af Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 3 Mar 2020 19:01:27 +0100 Subject: [PATCH] tests: add more osd nodes in all_daemons scenario This commit adds more osd nodes in all_daemons scenario in order to test erasure pool creation. Signed-off-by: Guillaume Abrioux (cherry picked from commit 9f0c6df94fabdfcd177603dfa72aadbbb5c6539a) --- tests/functional/all_daemons/container/hosts | 5 ++++- tests/functional/all_daemons/container/vagrant_variables.yml | 2 +- tests/functional/all_daemons/hosts | 5 ++++- tests/functional/all_daemons/vagrant_variables.yml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/functional/all_daemons/container/hosts b/tests/functional/all_daemons/container/hosts index 06596f081..1fde8ef1b 100644 --- a/tests/functional/all_daemons/container/hosts +++ b/tests/functional/all_daemons/container/hosts @@ -9,6 +9,9 @@ mgr0 [osds] osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }" osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }" +osd2 osd_crush_location="{ 'root': 'default', 'host': 'osd2' }" +osd3 osd_crush_location="{ 'root': 'default', 'host': 'osd3' }" +osd4 osd_crush_location="{ 'root': 'default', 'host': 'osd4' }" [mdss] mds0 @@ -32,4 +35,4 @@ rbd-mirror0 iscsi-gw0 [grafana-server] -mon0 \ No newline at end of file +mon0 diff --git a/tests/functional/all_daemons/container/vagrant_variables.yml b/tests/functional/all_daemons/container/vagrant_variables.yml index c49adaf90..08ca70967 100644 --- a/tests/functional/all_daemons/container/vagrant_variables.yml +++ b/tests/functional/all_daemons/container/vagrant_variables.yml @@ -5,7 +5,7 @@ docker: True # DEFINE THE NUMBER OF VMS TO RUN mon_vms: 3 -osd_vms: 2 +osd_vms: 5 mds_vms: 3 rgw_vms: 1 nfs_vms: 1 diff --git a/tests/functional/all_daemons/hosts b/tests/functional/all_daemons/hosts index 20d04c5b8..841566eef 100644 --- a/tests/functional/all_daemons/hosts +++ b/tests/functional/all_daemons/hosts @@ -9,6 +9,9 @@ mgr0 [osds] osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }" osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }" +osd2 osd_crush_location="{ 'root': 'default', 'host': 'osd2' }" +osd3 osd_crush_location="{ 'root': 'default', 'host': 'osd3' }" +osd4 osd_crush_location="{ 'root': 'default', 'host': 'osd4' }" [mdss] mds0 @@ -32,4 +35,4 @@ rbd-mirror0 iscsi-gw0 [grafana-server] -mon0 \ No newline at end of file +mon0 diff --git a/tests/functional/all_daemons/vagrant_variables.yml b/tests/functional/all_daemons/vagrant_variables.yml index 0062ac71e..737e6c1c2 100644 --- a/tests/functional/all_daemons/vagrant_variables.yml +++ b/tests/functional/all_daemons/vagrant_variables.yml @@ -5,7 +5,7 @@ docker: false # DEFINE THE NUMBER OF VMS TO RUN mon_vms: 3 -osd_vms: 2 +osd_vms: 5 mds_vms: 3 rgw_vms: 1 nfs_vms: 1 -- 2.39.5