Bug 1792916 - [ceph-ansible] : day 2 operations are failing in task set_fact _current_monitor_address saying '_monitor_addresses is undefined'
Summary: [ceph-ansible] : day 2 operations are failing in task set_fact _current_monit...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
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-01-20 11:48 UTC by RUDRA PRATAP
Modified: 2020-01-28 07:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-27 14:43:55 UTC
Embargoed:


Attachments (Terms of Use)
log file of the rolling_update.yml (2.04 MB, text/plain)
2020-01-20 11:48 UTC, RUDRA PRATAP
no flags Details

Description RUDRA PRATAP 2020-01-20 11:48:13 UTC
Created attachment 1653927 [details]
log file of the rolling_update.yml

Description of problem: Rolling update failed at a particular task. In all.yml -- monitor_interface: eno1  -- public_network: 10.8.128.0/21 is already added but still failing. Attached the log below.


Version-Release number of selected component (if applicable):

[root@magna083 ~]# ceph -v
ceph version 14.2.4-102.el8cp (3f809968f38060f61ea8183a727fb020b1b5c353) nautilus (stable)

[root@magna083 ~]# ansible --version
ansible 2.8.7
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.6/site-packages/ansible
  executable location = /bin/ansible
  python version = 3.6.8 (default, Oct 11 2019, 15:04:54) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]


[root@magna083 ~]# rpm -qa|grep ansible
ansible-2.8.7-1.el8ae.noarch
ceph-ansible-4.0.10-1.el8cp.noarch

How reproducible:

sudo ansible-playbook infrastructure-playbooks/rolling_update.yml -vvvv


Actual results:
must pass.

Expected results:
failing at -- TASK [ceph-facts : set_fact _current_monitor_address] 

Additional info:

Comment 2 Vasishta 2020-01-22 08:56:03 UTC
Tried using shrink-mon from ceph-ansible-4.0.10-1.el7cp.noarch
failed with similar issue as mentioned in summary and logs


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