Ceph-ansible playbook failing because ceph_release is returning "dummy" value

Solution Verified - Updated -

Issue

  • ceph-ansible playbook is failing with the following message
TASK [ceph-fetch-keys : set_fact bootstrap_rbd_keyring] **************************************************************************
task path: /home/ceph-ansible/roles/ceph-fetch-keys/tasks/main.yml:17
fatal: [storage-test.redhat.com]: FAILED! => {
    "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 '/home/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

  • ceph-ansible-3.0.39-1.el7cp.src.rpm - and below
  • Red Hat Ceph Storage 3.x
  • Red Hat Ceph Storage 2.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.