From a6315136daf6897cc46c05849677fc98a3b2c4f4 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Fri, 7 Nov 2025 13:35:36 +0100 Subject: [PATCH] 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 --- etc/kayobe/cephadm.yml | 7 ++++--- ...quid-disable-elastic-shared-blobs-2d9e059f3046182c.yaml | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/ceph-squid-disable-elastic-shared-blobs-2d9e059f3046182c.yaml diff --git a/etc/kayobe/cephadm.yml b/etc/kayobe/cephadm.yml index bd743e3e6c..4736f24b32 100644 --- a/etc/kayobe/cephadm.yml +++ b/etc/kayobe/cephadm.yml @@ -83,10 +83,11 @@ cephadm_cluster_network: "{{ storage_mgmt_net_name | net_cidr }}" # stackhpc.cephadm.commands for format. Pre commands run before the rest of the # post-deployment configuration, post commands run after the rest of the # post-deployment configuration. -cephadm_commands_pre: "{{ cephadm_commands_pre_default + cephadm_commands_pre_extra }}" -cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post_extra }}" +cephadm_commands_pre: "{{ (cephadm_commands_pre_default + cephadm_commands_pre_extra) | select | list }}" +cephadm_commands_post: "{{ (cephadm_commands_post_default + cephadm_commands_post_extra) | select | list }}" -cephadm_commands_pre_default: [] +cephadm_commands_pre_default: + - "{{ 'config set osd bluestore_elastic_shared_blobs 0' if cephadm_ceph_release == 'squid' else '' }}" cephadm_commands_pre_extra: [] cephadm_commands_post_default: "{{ ['mgr module enable prometheus'] if kolla_enable_prometheus_ceph_mgr_exporter | default(False) | bool else [] }}" diff --git a/releasenotes/notes/ceph-squid-disable-elastic-shared-blobs-2d9e059f3046182c.yaml b/releasenotes/notes/ceph-squid-disable-elastic-shared-blobs-2d9e059f3046182c.yaml new file mode 100644 index 0000000000..538f9b3bd0 --- /dev/null +++ b/releasenotes/notes/ceph-squid-disable-elastic-shared-blobs-2d9e059f3046182c.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + 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.