mirror of https://github.com/ceph/ceph-ansible.git
tests: add multimds coverage
This commit makes the all_daemons scenario deploying 3 mds in order to cover the multimds case. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4637/head
parent
c4fc8cc878
commit
25b98b2ce3
|
@ -588,6 +588,15 @@
|
|||
name: ceph-mds@{{ hostvars[item]['ansible_hostname'] }}
|
||||
state: stopped
|
||||
enabled: no
|
||||
delegate_to: "{{ item }}"
|
||||
with_items: "{{ groups['standby_mdss'] }}"
|
||||
when: groups['standby_mdss'] | default([]) | length > 0
|
||||
|
||||
# dedicated task for masking systemd unit
|
||||
# somehow, having a single task doesn't work in containerized context
|
||||
- name: mask systemd units for standby ceph mds
|
||||
systemd:
|
||||
name: ceph-mds@{{ hostvars[item]['ansible_hostname'] }}
|
||||
masked: yes
|
||||
delegate_to: "{{ item }}"
|
||||
with_items: "{{ groups['standby_mdss'] }}"
|
||||
|
|
|
@ -39,4 +39,5 @@ openstack_pools:
|
|||
- "{{ openstack_cinder_pool }}"
|
||||
docker_pull_timeout: 600s
|
||||
handler_health_mon_check_delay: 10
|
||||
handler_health_osd_check_delay: 10
|
||||
handler_health_osd_check_delay: 10
|
||||
mds_max_mds: 3
|
|
@ -12,6 +12,8 @@ osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
|||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
|
|
@ -12,6 +12,8 @@ osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
|||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
|
|
@ -6,7 +6,7 @@ docker: True
|
|||
# DEFINE THE NUMBER OF VMS TO RUN
|
||||
mon_vms: 3
|
||||
osd_vms: 2
|
||||
mds_vms: 1
|
||||
mds_vms: 3
|
||||
rgw_vms: 1
|
||||
nfs_vms: 1
|
||||
grafana_server_vms: 0
|
||||
|
|
|
@ -33,3 +33,4 @@ openstack_pools:
|
|||
- "{{ openstack_cinder_pool }}"
|
||||
handler_health_mon_check_delay: 10
|
||||
handler_health_osd_check_delay: 10
|
||||
mds_max_mds: 3
|
||||
|
|
|
@ -12,6 +12,8 @@ osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
|||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
|
|
@ -14,6 +14,8 @@ osd0
|
|||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
|
|
@ -12,6 +12,8 @@ osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
|||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
|
|
@ -6,7 +6,7 @@ docker: false
|
|||
# DEFINE THE NUMBER OF VMS TO RUN
|
||||
mon_vms: 3
|
||||
osd_vms: 2
|
||||
mds_vms: 1
|
||||
mds_vms: 3
|
||||
rgw_vms: 1
|
||||
nfs_vms: 1
|
||||
grafana_server_vms: 0
|
||||
|
|
Loading…
Reference in New Issue