]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-facts: add get default crush rule from running monitor
authorSeena Fallah <seenafallah@gmail.com>
Sun, 27 Sep 2020 17:11:07 +0000 (20:41 +0330)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 29 Sep 2020 16:15:09 +0000 (12:15 -0400)
commit10fc2d1d929f53d779c06b5e7693f24a53501d72
treedae9517d73f11be63b03ae08e69f20e0825e6ad2
parent72c73ac2bcd8d5a68774bdbafc5be40abdd0fb75
ceph-facts: add get default crush rule from running monitor

In case of deploying new monitor node to an existing cluster,
osd_pool_default_crush_rule should be taken from running monitor because
ceph-osd role won't be run and the new monitor will have different
osd_pool_default_crush_role from other monitors.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit ff9f4d138f988d908b5f5583e0c1fcf5dd72e36d)
roles/ceph-facts/tasks/facts.yml