[ceph-ansible][RHCS 2] take-over-existing-cluster.yml playbook fails with ""The conditional check 'ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous' failed. .."
Issue
Running take-over-existing-cluster.yml playbook with RHCS 2.5 fails with following error:
TASK [ceph-fetch-keys : set_fact bootstrap_rbd_keyring] **************************************************************************************************************************************************************************************
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
fatal: [mons-1]: FAILED! => {"failed": true, "msg": "The conditional check 'ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous' failed. The error was: error while evaluating conditional (ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous): 'dict object' has no attribute 'dummy'\n\nThe error appears to have been in '/usr/share/ceph-ansible/roles/ceph-fetch-keys/tasks/main.yml': line 17, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: set_fact bootstrap_rbd_keyring\n ^ here\n"}
Environment
Red Hat Ceph Storage 2.5
ceph-ansible-3.0.25-1.el7cp.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.