]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-osd: add device class to crush rules
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 31 Oct 2019 20:24:12 +0000 (16:24 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 Jan 2020 15:54:01 +0000 (16:54 +0100)
commitaf57597df64c4414de22dd68ff0920398649d788
treee707a55abb5a8758361e78fdbd69f1b8db80c484
parent0ac43d83f478e5d45e00682a52c03d3384306cf4
ceph-osd: add device class to crush rules

This adds device class support to crush rules when using the class key
in the rule dict via the create-replicated sub command.
If the class key isn't specified then we use the create-simple sub
command for backward compatibility.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1636508
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ef2cb99f739ade80e285d83050ac01184aafc753)
group_vars/mons.yml.sample
roles/ceph-mon/defaults/main.yml
roles/ceph-osd/tasks/crush_rules.yml
tests/functional/all_daemons/container/group_vars/mons
tests/functional/all_daemons/group_vars/mons