]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd_memory_target: standardize unit and fix calculation
authorNeha Ojha <nojha@redhat.com>
Mon, 19 Nov 2018 06:50:02 +0000 (06:50 +0000)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 19 Nov 2018 09:54:33 +0000 (09:54 +0000)
commit10538e9a23c60c4e634226aafe0456680c5ccc6d
treedd23520852326e1031fd718c50ba9625a26ba7fd
parentd20e1960ff2a86d079f33a745b1cf176353cff27
osd_memory_target: standardize unit and fix calculation

* The default value of osd_memory_target used by ceph is 4294967296 bytes,
so use the same as ceph-ansible default.

* Convert ansible_memtotal_mb to bytes to calculate osd_memory_target

Signed-off-by: Neha Ojha <nojha@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-defaults/defaults/main.yml