[CEPH] Enable rack level failure domains

- uplift ceph charts

- This is to enable rack level failure domains as we are running on
host based failure domains

- updating the site to have one override which will create custom domain
names since current logic uses hostnames to get domain names.

- this lab running on single rack so using site override to create custom failure
domain names.

Change-Id: I2b92055e77dac6eba4fe59694c5291046149a6c4
This commit is contained in:
Chinasubbareddy Mallavarapu 2019-07-12 11:33:11 -05:00 committed by chinasubbareddy mallavarapu
parent 8d0b847a03
commit 81b5c0c482
2 changed files with 32 additions and 0 deletions

View File

@ -24,6 +24,7 @@ data:
node_selector_value: enabled node_selector_value: enabled
conf: conf:
storage: storage:
failure_domain: "rack"
# NEWSITE-CHANGEME: The OSD count and configuration here should not need # NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment. # to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list. # Otherwise you may need to add or subtract disks to this list.
@ -54,4 +55,19 @@ data:
journal: journal:
type: block-logical type: block-logical
location: /dev/sdc2 location: /dev/sdc2
overrides:
ceph_osd:
hosts:
- name: cab23-r720-14
conf:
storage:
failure_domain_name: "cab23_rack_1"
- name: cab23-r720-17
conf:
storage:
failure_domain_name: "cab23_rack_2"
- name: cab23-r720-19
conf:
storage:
failure_domain_name: "cab23_rack_3"
... ...

View File

@ -20,6 +20,7 @@ data:
values: values:
conf: conf:
storage: storage:
failure_domain: "rack"
# NEWSITE-CHANGEME: The OSD count and configuration here should not need # NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment. # to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list. # Otherwise you may need to add or subtract disks to this list.
@ -74,4 +75,19 @@ data:
journal: journal:
type: block-logical type: block-logical
location: /dev/sdc4 location: /dev/sdc4
overrides:
ceph_osd:
hosts:
- name: cab23-r720-11
conf:
storage:
failure_domain_name: "cab23_rack_1"
- name: cab23-r720-12
conf:
storage:
failure_domain_name: "cab23_rack_2"
- name: cab23-r720-13
conf:
storage:
failure_domain_name: "cab23_rack_3"
... ...