Bug 1492675
| Summary: | [ceph-ansible] - value of fetch_directory in rhcs.yml 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: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.0 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan, seb | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHEL: ceph-ansible-3.0.0-0.1.rc9.el7cp Ubuntu: ceph-ansible_3.0.0~rc9-2redhat1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-12-05 23:44:17 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: |
|
||||||
You have to copy, rhcs.yml to all.yml. @Ken, when can we expect this to be ON_QA Note, as of https://github.com/ceph/ceph-ansible/pull/1900 (landed in 3.0.0rc9), there is no more need to copy rhcs.yml to all.yml, because the contents are identical downstream. It can be observed that all.yml is present in group_vars identical to rhcs.yml as Ken has mentioned in Comment 4. Moving to VERIFIED state. 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 1327386 [details] File contains contents ansible-playbook log Description of problem: When running ansible-playbook, irrespective of value initialized for fetch_directory, 'fetch/' is assumed as path for fetch_directoy. While using root user as ansible user, a folder named 'fetch' is getting created in /usr/share/ceph-ansible, playbook is failing for non-root users if non-root user doesn't have permissions to write in /usr/share/ceph-ansible directory. Version-Release number of selected component (if applicable): ceph-ansible-3.0.0-0.1.rc8.1.el7cp.noarch How reproducible: Always Steps to Reproduce: 1. Configure ceph-ansible to get a cluster up. 2. Run ansible-playbook site.yml Actual results: Value of fetch_directory in rhcs.yml getting ignored. Expected results: Value initialized for fetch_directory in rhcs.yml must be considered. Additional info: Value initialized in rhcs.yml - $ cat group_vars/rhcs.yml | egrep -v ^# | grep -v ^$ |grep -n fetch 3:fetch_directory: ~/ceph-ansible-keys ansible log snippet (please refer file for complete log)- "msg": "There was an issue creating fetch as requested: [Errno 13] Permission denied: 'fetch'", "path": "fetch/", "state": "absent"