Bug 1497895
| Summary: | [ceph-ansible] [ceph-container] : filesystems pool generation failing - osd_pool_default_pg_num is undefined | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> | ||||
| Component: | Ceph-Ansible | Assignee: | Guillaume Abrioux <gabrioux> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.0 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, nthomas, sankarshan, shan | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHEL: ceph-ansible-3.0.0-0.1.rc17 Ubuntu: ceph-ansible-3.0.0~rc17-2redhat1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-12-05 23:46:00 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: |
|
||||||
fixed upstream in PR https://github.com/ceph/ceph-ansible/pull/1976 waiting for the CI to be merged in master and tag a new release. will be in rc16 Working fine, moving to VERIFIED state. (ceph-ansible-3.0.0-0.1.rc19.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 1333481 [details] File contains ansible-playbook log and various yml files Description of problem: Containerized ceph cluster initialization is failing in task ceph-mon : create filesystem pools saying the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'osd_pool_default_pg_num' is undefined Version-Release number of selected component (if applicable): ceph-ansible-3.0.0-0.1.rc14.el7cp.noarch How reproducible: Always Steps to Reproduce: 1. Configure ceph-ansible to initialize a containerized cluster 2. Run corresponding yml file Actual results: fatal: [magna051]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'osd_pool_default_pg_num' is undefined\n\nThe error appears to have been in '/home/ubuntu/ceph-ansible_C_M/roles/ceph-mon/tasks/create_mds_filesystems.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# since those check are performed by the ceph-common role\n- name: create filesystem pools\n ^ here\n"} Expected results: ceph-ansible must configure cluster without any failure