mirror of https://github.com/ceph/ceph-ansible.git
a52ed43093
Running the last portion (insert new default and add new default crush tasks) of crush_rules.yml only on the last monitor is wrong since ceph CLI calls usually end up on the master having the quorum, which is by default the one with the lower IP. So if we run the command and end up on another mon the creation will happen on the default crush rule because the particular mon hasn't been updated. To fix this we remove the |last on the include and use run_once: true on certain tasks, then we let the final two tasks run on all the monitors. Signed-off-by: Sébastien Han <seb@redhat.com> |
||
---|---|---|
.. | ||
ceph-agent | ||
ceph-client | ||
ceph-common | ||
ceph-common-coreos | ||
ceph-config | ||
ceph-defaults | ||
ceph-docker-common | ||
ceph-fetch-keys | ||
ceph-iscsi-gw | ||
ceph-mds | ||
ceph-mgr | ||
ceph-mon | ||
ceph-nfs | ||
ceph-osd | ||
ceph-rbd-mirror | ||
ceph-restapi | ||
ceph-rgw | ||
ceph.ceph-common | ||
ceph.ceph-docker-common |