ceph-ansible/roles/ceph-mon/tasks
Eduard Egorov 7d7080df6c crush: create rack type buckets and build crush tree according to {{ osd_crush_location }}.
Currently, we can define crush location for each host but only crush roots and crush rules are created. This commit automates other routines for a complete solution:
  1) Creates rack type crush buckets defined in {{ ceph_crush_rack }} of each osd host. If it's not defined by user then a rack named 'default_rack_{{ ceph_crush_root  }}' would be added and used in next steps.
  2) Move rack type crush buckets defined in {{ ceph_crush_rack }} into crush roots defined in {{ ceph_crush_root }} of each osd host.
  3) Move hosts defined in {{ ceph_crush_rack }} into crush roots defined in {{ ceph_crush_root }} of each osd host.

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
2018-01-11 17:42:18 +01:00
..
docker container: trigger handlers on systemd file change 2018-01-10 16:46:42 +01:00
calamari.yml mon: upgrade calamari when running rolling_update playbook 2017-04-24 11:05:13 +02:00
ceph_keys.yml mon: use crush rules for non-container too 2018-01-10 15:21:36 +01:00
check_mandatory_vars.yml all: backward compatibility between stable-2.2 and 3.0 2017-10-20 11:54:10 +02:00
create_mds_filesystems.yml Remove jinja2 delimiters from `when` keys 2017-10-12 11:27:42 -05:00
crush_rules.yml crush: create rack type buckets and build crush tree according to {{ osd_crush_location }}. 2018-01-11 17:42:18 +01:00
deploy_monitors.yml Use check_mode instead of always_run 2017-10-25 09:53:34 -05:00
main.yml mon: use crush rules for non-container too 2018-01-10 15:21:36 +01:00
openstack_config.yml Make openstack_keys param support no acls list 2017-11-16 11:29:59 -05:00
secure_cluster.yml Use check_mode instead of always_run 2017-10-25 09:53:34 -05:00
set_osd_pool_default_pg_num.yml Refact code for set_osd_pool_default_* 2017-10-04 15:40:10 +02:00
start_monitor.yml Allow ceph service systemd overrides to be specified 2017-08-16 17:57:06 +01:00