]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
move crush rule creation from mon to osd role
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 31 Oct 2019 20:17:33 +0000 (16:17 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 Jan 2020 15:54:01 +0000 (16:54 +0100)
commit0ac43d83f478e5d45e00682a52c03d3384306cf4
treeb78a5e2b0e49d811f0a4854cfbf3e39f1aafbbde
parent255be99bc570ae0aeca0d80c1b1f43437de7d49c
move crush rule creation from mon to osd role

If we want to create crush rules with the create-replicated sub command
and device class then we need to have the OSD created before the crush
rules otherwise the device classes won't exist.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ed36a11eabbdbb040652991300cdfc93d51ed491)
roles/ceph-mon/tasks/crush_rules.yml [deleted file]
roles/ceph-mon/tasks/main.yml
roles/ceph-osd/tasks/crush_rules.yml [new file with mode: 0644]
roles/ceph-osd/tasks/main.yml