Bug 1497895 - [ceph-ansible] [ceph-container] : filesystems pool generation failing - osd_pool_default_pg_num is undefined
Summary: [ceph-ansible] [ceph-container] : filesystems pool generation failing - osd_p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: 3.0
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-03 05:10 UTC by Vasishta
Modified: 2017-12-05 23:46 UTC (History)
8 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:46:00 UTC
Embargoed:


Attachments (Terms of Use)
File contains ansible-playbook log and various yml files (711.65 KB, text/plain)
2017-10-03 05:10 UTC, Vasishta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1976 0 None None None 2017-10-03 22:52:26 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Vasishta 2017-10-03 05:10:02 UTC
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

Comment 2 Guillaume Abrioux 2017-10-03 22:54:21 UTC
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.

Comment 3 Sébastien Han 2017-10-04 16:54:22 UTC
will be in rc16

Comment 6 Vasishta 2017-10-11 16:03:51 UTC
Working fine, moving to VERIFIED state. (ceph-ansible-3.0.0-0.1.rc19.el7cp.noarch)

Comment 9 errata-xmlrpc 2017-12-05 23:46:00 UTC
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


Note You need to log in before you can comment on or make changes to this bug.