From 76a77f1c924b60b70148dc85ffa815aec9459ac7 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 18 Nov 2020 10:43:57 -0500 Subject: [PATCH] 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' Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1898856 Signed-off-by: Dimitri Savineau (cherry picked from commit e150df789edb966549ba2a8f2415a844ce612d46) --- roles/ceph-facts/tasks/facts.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/ceph-facts/tasks/facts.yml b/roles/ceph-facts/tasks/facts.yml index 764983c1c..fd96cf04a 100644 --- a/roles/ceph-facts/tasks/facts.yml +++ b/roles/ceph-facts/tasks/facts.yml @@ -312,7 +312,6 @@ - name: get default crush rule value from running monitor ceph configuration block: - <<: *read-osd-pool-default-crush-rule - run_once: true delegate_to: "{{ running_mon }}" - *set-osd-pool-default-crush-rule-fact when: -- 2.39.5