From 5a36d3dbe5e561346744560da60448b9447520f9 Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Sat, 24 Sep 2022 19:07:36 +0200 Subject: [PATCH] ceph-config: always set _osd_memory_target this should be set when rolling_update is true as well, otherwise, it will reset to default on the upgrade Signed-off-by: Seena Fallah (cherry picked from commit ac4dfa7526eccdf05b8019ee761538d9b5b0642b) --- roles/ceph-config/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/ceph-config/tasks/main.yml b/roles/ceph-config/tasks/main.yml index edc138593..796a80f23 100644 --- a/roles/ceph-config/tasks/main.yml +++ b/roles/ceph-config/tasks/main.yml @@ -98,6 +98,9 @@ when: - devices | default([]) | length > 0 +- name: set osd related config facts + when: inventory_hostname in groups.get(osd_group_name, []) + block: - name: set_fact osd_memory_target, override from ceph_conf_overrides set_fact: osd_memory_target: "{{ item }}"