customize-failure-domain only works when enabled both in ceph-mon and ceph-osd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Triaged
|
Low
|
Unassigned | ||
Ceph OSD Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
The customize-
Suggested fixes:
* Remove the configuration option available from either ceph-mon or ceph-osd to avoid confusion.
* Fix the docs and explain what it is actually doing underneath so people don't get caught out.
Below is some info from a reproduction:
3x juju availility zones
3x ceph-mon
3x ceph-osd with 2x HDD each
# Enabled in ceph-mon
Bundle: https:/
Crush map: https:/
Result: Missing the correct buckets (default being the rack type) for each juju AZ.
# Enabled in ceph-osd
Bundle: https:/
Crush map: https:/
Result: Correct buckets for each juju AZ, however it has the wrong failure domain for the ruleset, i.e. "step chooseleaf firstn 0 type host" instead of "step chooseleaf firstn 0 type rack". See also https:/
# Enabled in both ceph-mon and ceph-osd
Bundle: https:/
Crush map: https:/
Result: Correct crush map with rack buckets for each juju AZ and correct failure domain in ruleset.
# Versions
juju 2.1.2
maas 2.1.3
ceph-mon rev. 20
ceph-osd rev. 255
description: | updated |
Changed in charm-ceph-mon: | |
status: | New → Triaged |
Changed in charm-ceph-osd: | |
status: | New → Triaged |
Changed in charm-ceph-mon: | |
importance: | Undecided → Low |
Changed in charm-ceph-osd: | |
importance: | Undecided → Low |
tags: | added: docs |