]> 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 10:51:05 +0000 (10:51 +0000)
commitc96af4bac9670ec8247edd4e6b0b0e4b5c6bbd07
tree9669755c8a1533dc5b8bf9822726364f96e106c5
parentf5d8701ed8edb9fe1f36edc02648652911ca566c
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>
(cherry picked from commit 10538e9a23c60c4e634226aafe0456680c5ccc6d)
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-defaults/defaults/main.yml