Installing an iSCSI gateway for Red Hat Ceph Storage using Ansible fails with a compatibility check for RHEL version.
Issue
- Installing an iSCSI gateway for RHCS on RHEL7.4 using Ansible fails a compatibility check.
# ansible-playbook ceph-iscsi-gw.yml
PLAY [ceph-iscsi-gw] ***********************************************************
TASK [setup] *******************************************************************
ok: [target2]
ok: [target1]
TASK [ceph-iscsi-gw : OS Compatibility Check (RHEL 7.3)] ***********************
fatal: [target1]: FAILED! => {
"assertion": "ansible_distribution_version == '7.3'",
"changed": false,
"evaluated_to": false,
"failed": true
}
fatal: [target2]: FAILED! => {
"assertion": "ansible_distribution_version == '7.3'",
"changed": false,
"evaluated_to": false,
"failed": true
}
to retry, use: --limit @/usr/share/ceph-ansible/ceph-iscsi-gw.retry
PLAY RECAP *********************************************************************
target1 : ok=1 changed=0 unreachable=0 failed=1
target2 : ok=1 changed=0 unreachable=0 failed=1
Environment
-
Red Hat Ceph Storage 2.x
-
Red Hat Enterprise Linux 7.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
