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.
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 ***