Bug 1821135 - [ceph-ansible] add-mon.yml fails with error monitor_addresses is undefined
Summary: [ceph-ansible] add-mon.yml fails with error monitor_addresses is undefined
Keywords:
Status: CLOSED DUPLICATE of bug 1819052
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 4.1
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-06 07:07 UTC by Ameena Suhani S H
Modified: 2020-04-07 05:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-06 13:30:37 UTC
Embargoed:


Attachments (Terms of Use)
group_var, inventory and add-mon ansible logs (1.16 MB, text/plain)
2020-04-06 07:07 UTC, Ameena Suhani S H
no flags Details
add-osd.yml logs (128.55 KB, text/plain)
2020-04-06 08:03 UTC, Ameena Suhani S H
no flags Details

Description Ameena Suhani S H 2020-04-06 07:07:54 UTC
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.

Comment 1 Ameena Suhani S H 2020-04-06 08:03:28 UTC
Created attachment 1676514 [details]
add-osd.yml logs

The same error as in [1] with add-osd.yml.

Comment 2 Guillaume Abrioux 2020-04-06 13:30:37 UTC

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


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