Bug 1507907
| Summary: | [ceph-ansible] - osd_auto_discovery set to true is getting ignored | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> | ||||
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.0 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | 3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHEL: ceph-ansible-3.0.8-1.el7cp Ubuntu: ceph-ansible_3.0.8-2redhat1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-12-05 23:49:35 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Fix will be in 3.0.8 https://github.com/ceph/ceph-ansible/releases/tag/v3.0.8 Ken, can we get a new package? Thanks. Working fine with ceph-ansible-3.0.8-1.el7cp.noarch. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387 |
Created attachment 1345876 [details] File contains contents of inventory file, conf files, ansible-playbook log Description of problem: osd_auto_discovery set to tru is getting ignored and playbook is failing saying "'devices' is undefined" while running th task ceph-defaults : resolve device link(s) Version-Release number of selected component (if applicable): ceph-ansible-3.0.7-1.el7cp.noarch How reproducible: Always Steps to Reproduce: 1. Configure ceph-ansible to get a cluster up 2. Set osd_auto_discovery to true. 3. Run ansible-playbook. Actual results: FAILED! => {"failed": true, "msg": "'devices' is undefined"} Expected results: Setting osd_auto_discovery flag to true must be recognized while running ansible-playbook Additional info: Attachment contains example scenario details where containerized scenario was tried and the flag osd_auto_discovery was set in inventory file. But this issue is being observed in non-containerized scenario also and even when flag was initialized in osds.yml also