Browse Source

[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
changes/98/670598/10
Chinasubbareddy Mallavarapu 2 years ago
committed by chinasubbareddy mallavarapu
parent
commit
81b5c0c482
2 changed files with 32 additions and 0 deletions
  1. +16
    -0
      site/seaworthy/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml
  2. +16
    -0
      site/seaworthy/software/charts/ucp/ceph/ceph-osd.yaml

+ 16
- 0
site/seaworthy/software/charts/osh/openstack-tenant-ceph/ceph-osd.yaml View File

@ -24,6 +24,7 @@ data:
node_selector_value: enabled
conf:
storage:
failure_domain: "rack"
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
@ -54,4 +55,19 @@ data:
journal:
type: block-logical
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"
...

+ 16
- 0
site/seaworthy/software/charts/ucp/ceph/ceph-osd.yaml View File

@ -20,6 +20,7 @@ data:
values:
conf:
storage:
failure_domain: "rack"
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
@ -74,4 +75,19 @@ data:
journal:
type: block-logical
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"
...

Loading…
Cancel
Save