Skip to content

Commit 92015a3

Browse files
priteauAlex-Welsh
authored andcommitted
ceph: Disable bluestore_elastic_shared_blobs
Disable bluestore_elastic_shared_blobs when running Squid. OSDs created with this setting enabled can experience crashes when using erasure coding. OSDs created under Squid with bluestore_elastic_shared_blobs enabled will have to be recreated. [1] https://docs.clyso.com/blog/#squid-deployed-osds-are-crashing [2] https://tracker.ceph.com/issues/70390
1 parent e0d1d6d commit 92015a3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

etc/kayobe/cephadm.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ cephadm_cluster_network: "{{ storage_mgmt_net_name | net_cidr }}"
8383
# stackhpc.cephadm.commands for format. Pre commands run before the rest of the
8484
# post-deployment configuration, post commands run after the rest of the
8585
# post-deployment configuration.
86-
cephadm_commands_pre: "{{ cephadm_commands_pre_default + cephadm_commands_pre_extra }}"
87-
cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post_extra }}"
86+
cephadm_commands_pre: "{{ (cephadm_commands_pre_default + cephadm_commands_pre_extra) | select | list }}"
87+
cephadm_commands_post: "{{ (cephadm_commands_post_default + cephadm_commands_post_extra) | select | list }}"
8888

89-
cephadm_commands_pre_default: []
89+
cephadm_commands_pre_default:
90+
- "{{ 'config set osd bluestore_elastic_shared_blobs 0' if cephadm_ceph_release == 'squid' else '' }}"
9091
cephadm_commands_pre_extra: []
9192

9293
cephadm_commands_post_default: "{{ ['mgr module enable prometheus'] if kolla_enable_prometheus_ceph_mgr_exporter | default(False) | bool else [] }}"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Disable ``bluestore_elastic_shared_blobs`` when running Squid. OSDs created
5+
with this setting enabled can experience crashes when using erasure coding.
6+
OSDs created under Squid with ``bluestore_elastic_shared_blobs`` enabled
7+
will have to be recreated.

0 commit comments

Comments
 (0)