From 50afc3fbf388cdbac7c0ff5f982b3c4527a7f4e5 Mon Sep 17 00:00:00 2001 From: Greg Charot Date: Tue, 6 Feb 2018 19:20:17 +0100 Subject: [PATCH] We don't want to automatically move the rbd pool to the new default crush rule. This operation shall be performed by the cluster operator. --- roles/ceph-mon/tasks/crush_rules.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/ceph-mon/tasks/crush_rules.yml b/roles/ceph-mon/tasks/crush_rules.yml index 308851fc4..63dc99607 100644 --- a/roles/ceph-mon/tasks/crush_rules.yml +++ b/roles/ceph-mon/tasks/crush_rules.yml @@ -65,9 +65,3 @@ value: "{{ info_ceph_default_crush_rule_yaml.rule_id }}" when: info_ceph_default_crush_rule.results|length > 0 -- name: move rbd pool to new default root - command: "{{ docker_exec_cmd }} ceph --cluster {{ cluster }} osd pool set rbd crush_ruleset {{ info_ceph_default_crush_rule_yaml.rule_id }}" - changed_when: false - failed_when: false - run_once: true - when: info_ceph_default_crush_rule.results|length > 0