Commit aa302f48 authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Dimitri Savineau
Browse files

ceph-facts: fix read osd pool default crush fact

We don't need to use run_once on that task when having running monitors
otherwise the read task could be skip and the set task will fail.

The conditional check 'crush_rule_variable.rc == 0' failed. The error
was: error while evaluating conditional (crush_rule_variable.rc == 0):
'dict object' has no attribute 'rc'


Signed-off-by: default avatarDimitri Savineau <>
(cherry picked from commit e150df78)
parent 126230bb
......@@ -321,7 +321,6 @@
- name: get default crush rule value from running monitor ceph configuration
- <<: *read-osd-pool-default-crush-rule
run_once: true
delegate_to: "{{ running_mon }}"
- *set-osd-pool-default-crush-rule-fact
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment