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 1931763

Summary: [gss][ceph-ansible][RFE] shrink-mon.yml playbook is not updating ceph.conf
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED NOTABUG QA Contact: Ameena Suhani S H <amsyedha>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1CC: aschoen, ceph-eng-bugs, gabrioux, gmeno, nthomas, vereddy, ykaul
Target Milestone: ---Keywords: FutureFeature
Target Release: 4.2z3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1978653 (view as bug list) Environment:
Last Closed: 2021-07-02 12:14:21 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:
Bug Depends On:    
Bug Blocks: 1978653    

Description Geo Jose 2021-02-23 06:53:50 UTC
Description of problem:
 The ansible playbook shrink-mon.yml playbook is not updating ceph.conf

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

Steps to Reproduce:
1. Install RHCS 4 cluster collocate mon+osds
2. Remove one monitor node using shrink-mon.yml
$ ansible-playbook infrastructure-playbooks/shrink-mon.yml -e mon_to_kill=$node -i hosts

3. The monitor will successfully remove from the cluster. But the ceph.conf file won't update automatically.

Actual results:
 The contents of the ceph.conf file remains the same as the old configuration.

Expected results:
 The ceph.conf file shouldn't contain the details of the removed monitor node.