Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1792916

Summary: [ceph-ansible] : day 2 operations are failing in task set_fact _current_monitor_address saying '_monitor_addresses is undefined'
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: RUDRA PRATAP <rpratap>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED NOTABUG QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: aschoen, ceph-eng-bugs, dsavinea, gmeno, nthomas, pasik, vashastr, ykaul
Target Milestone: rc   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-27 14:43:55 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:
Description Flags
log file of the rolling_update.yml none

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