Bug 1636962 - Cluster's health is ok but installation output throws error
Summary: Cluster's health is ok but installation output throws error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 3.2
Assignee: Sébastien Han
QA Contact: Yogesh Mane
URL:
Whiteboard:
: 1638183 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-08 11:19 UTC by Yogesh Mane
Modified: 2019-01-03 19:02 UTC (History)
8 users (show)

Fixed In Version: RHEL: ceph-ansible-3.2.0-0.1.beta5.el7cp Ubuntu: ceph-ansible_3.2.0~beta5-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-03 19:02:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 3202 0 None closed site: use ceph-default to show cluster state 2020-12-14 04:35:09 UTC
Red Hat Product Errata RHBA-2019:0020 0 None None None 2019-01-03 19:02:15 UTC

Description Yogesh Mane 2018-10-08 11:19:20 UTC
Description of problem:
fatal: [magna092]: 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"}

This error comes in output of installation cluster command(ansible-playbook site.yml).No other error nodes states changed failed status are all zero.After checking the status output comes Health_OK


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


How reproducible:
2/2

Steps to Reproduce:
1.I didnt Enable repo rhel-7-server-ansible-2.6-rpms
2.executed site.yml
3.Error came Ansible must 2.6
4.I enabled repo rhel-7-server-ansible-2.6-rpms
5.installed ansible(version 2.4)
6.then updated ansible(to 2.6)
7.installed ceph-ansible
8.created var/log/ansible directory
8.executed site.yml
9.Then this error came


Actual results:
fatal: [magna092]: 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"}



Expected results:No error


Additional info:

Comment 3 Sébastien Han 2018-10-12 15:24:27 UTC
Present in https://github.com/ceph/ceph-ansible/releases/tag/v3.2.0beta5

Comment 4 Vasishta 2018-10-15 11:35:56 UTC
*** Bug 1638183 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2019-01-03 19:02:01 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-2019:0020


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