Bug 1414737
Summary: | [ceph-ansible]: Unable to set the group_name in group_vars/all.yml | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Storage Console | Reporter: | Tejas <tchandra> | ||||
Component: | ceph-ansible | Assignee: | Sébastien Han <shan> | ||||
Status: | CLOSED NOTABUG | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, nthomas, sankarshan, tchandra | ||||
Target Milestone: | --- | ||||||
Target Release: | 3 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-01-19 12:31:13 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: |
|
Tejas, if you change your group names you'll also need to modify site.yml to use those new group names. Would you please try changing site.yml as well to use your newly defined group names and see if that solves your issue? Andrew, Yes you are right, I had missed that. Its working fine. Thanks, Tejas |
Created attachment 1242428 [details] ansible playbook log Description of problem: I am trying to set my own group_names in group_vars/all.yml file: ########### # INSTALL # ########### mon_group_name: monitor <---- osd_group_name: osdnode <---- #rgw_group_name: rgws #mds_group_name: mdss #nfs_group_name: nfss #restapi_group_name: restapis #rbdmirror_group_name: rbdmirrors client_group_name: client #iscsi_group_name: iscsigws But these new names are not recognized by the playbook. Version-Release number of selected component (if applicable): ceph-ansible-2.1.3-1.el7scon.noarch ansible-2.2.1.0-1.el7.noarch How reproducible: Always Steps to Reproduce: 1. CHange the group_name in all.yml 2. Have the same name in ansible hosts file. 3. CReate a cluster Additional info: It is not recognizing the new names : ceph-ansible]# ansible-playbook site.yml -i /etc/ansible/test [DEPRECATION WARNING]: docker is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [mons,agents,osds,mdss,rgws,nfss,restapis,rbdmirrors,clients,iscsigws] **** Hosts file: ceph-ansible]# cat /etc/ansible/test [monitor] magna063 magna070 magna077 [osdnode] magna077 magna080 magna086 [client] magna087 [rgws] magna087