]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-config: always set _osd_memory_target
authorSeena Fallah <seenafallah@gmail.com>
Sat, 24 Sep 2022 17:07:36 +0000 (19:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 10 Oct 2022 08:58:47 +0000 (10:58 +0200)
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 <seenafallah@gmail.com>
roles/ceph-config/tasks/main.yml

index edc13859365e1a789265fc99dc516a46a7bb300d..796a80f2307167db6e98c19a2be825921a779dd7 100644 (file)
@@ -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 }}"