]> git-server-git.apps.pok.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>
Wed, 12 Oct 2022 08:49:27 +0000 (10:49 +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>
(cherry picked from commit ac4dfa7526eccdf05b8019ee761538d9b5b0642b)

roles/ceph-config/tasks/main.yml

index 24171d28a3b28ef1044192a689a3c7759dfcb4a1..b9861195da8472c0431ad21bd69b9d05323d495c 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 }}"