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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content