Bug 1821135
Summary: | [ceph-ansible] add-mon.yml fails with error monitor_addresses is undefined | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Ameena Suhani S H <amsyedha> | ||||||
Component: | Documentation | Assignee: | Guillaume Abrioux <gabrioux> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Vasishta <vashastr> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 4.1 | CC: | aschoen, ceph-eng-bugs, gmeno, kdreyer, nthomas, ykaul | ||||||
Target Milestone: | rc | ||||||||
Target Release: | 4.1 | ||||||||
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: | 2020-04-06 13:30:37 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: |
|
Created attachment 1676514 [details]
add-osd.yml logs
The same error as in [1] with add-osd.yml.
*** This bug has been marked as a duplicate of bug 1819052 *** |
Created attachment 1676499 [details] group_var, inventory and add-mon ansible logs Description of problem: Add-mon.yml fails on rhel8.1 with [1] TASK [ceph-facts : set_fact _current_monitor_address] **************************************************************************************************************************************************************************************** task path: /usr/share/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml:53 Monday 06 April 2020 06:25:48 +0000 (0:00:00.308) 0:00:34.096 ********** fatal: [magna013]: FAILED! => msg: '''_monitor_addresses'' is undefined' fatal: [magna015]: FAILED! => msg: '''_monitor_addresses'' is undefined' fatal: [magna016]: FAILED! => msg: '''_monitor_addresses'' is undefined' fatal: [magna121]: FAILED! => msg: '''_monitor_addresses'' is undefined' fatal: [magna050]: FAILED! => msg: '''_monitor_addresses'' is undefined' Version-Release number of selected component (if applicable): ceph version 14.2.8-30.el8cp ansible-2.8.10-1.el8ae.noarch ceph-ansible-4.0.17-1.el8.noarch How reproducible: 2/2 Steps to Reproduce: 1. Setup a cluster 2. Use " ansible-playbook infrastructure-playbooks/add-mon.yml" to add monitor hosts Actual results: Adding monitors failed with [1]. Expected results: The monitor hosts should be added successfully.