]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: support changing default rule even when osd_crush_location isn't defined
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 12 Mar 2020 11:14:01 +0000 (12:14 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 31 Mar 2020 21:04:03 +0000 (23:04 +0200)
commitd4ffe212259125855792449c1cd4dc64bfb03eb4
treef27c4bab81cd1f757c5bb16810e683e937d81bce
parent586c6e8afe1241307923126e1be59c3aff179065
osd: support changing default rule even when osd_crush_location isn't defined

Creating crush rules even with no crush hierarchy configuration is a
valid scenario so we shouldn't be bound to the first task result (which
configure crush hierarchy) to be able to add new crush rules.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1816989
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 5b0476385ccb00a9edb9092a183c18e2637afd5d)
roles/ceph-osd/tasks/crush_rules.yml