]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-facts: fix read osd pool default crush fact v4.0.40
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 18 Nov 2020 15:43:57 +0000 (10:43 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 18 Nov 2020 22:01:14 +0000 (17:01 -0500)
commit76a77f1c924b60b70148dc85ffa815aec9459ac7
tree441eb516295f3ea87dea869f9a11bd184e625691
parentfcf260b65b0a55c0090e3b1efcd4e71833f06251
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 <dsavinea@redhat.com>
(cherry picked from commit e150df789edb966549ba2a8f2415a844ce612d46)
roles/ceph-facts/tasks/facts.yml