Bug 1638183 - [ceph-ansible] : 'cluster' is undefined while initializing cluster
Summary: [ceph-ansible] : 'cluster' is undefined while initializing cluster
Keywords:
Status: CLOSED DUPLICATE of bug 1636962
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 3.2
Assignee: Sébastien Han
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-11 03:35 UTC by Vasishta
Modified: 2018-10-15 11:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-15 11:35:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 3202 0 None None None 2018-10-11 03:35:31 UTC

Description Vasishta 2018-10-11 03:35:32 UTC
Description of problem:
While running playbook site.yml, task "get ceph status from the first monitor" failing saying 'cluster' is not defined

Version-Release number of selected component (if applicable):
ceph-ansible-3.2.0-0.1.beta3.el7cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. Configure ceph-ansible to initialize a cluster and run playbook

Actual results:
fatal: [magna007]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'cluster' is undefined\n\nThe error appears to have been in '/usr/share/ceph-ansible/site.yml': line 410, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: get ceph status from the first monitor\n      ^ here\n"
}


Additional info:
**************

Observed that github.com/ceph/ceph-ansible/pull/3202 is intended to resolve this issue which has been merged to master branch.

Comment 3 Vasishta 2018-10-11 03:55:58 UTC
Tried fixes in PR 3202 with ceph-ansible-3.2.0-0.1.beta3, working fine.

Comment 4 Vasishta 2018-10-15 11:35:56 UTC

*** This bug has been marked as a duplicate of bug 1636962 ***


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