Bug 1788644

Summary: [RFE] [ceph-ansible] : fail site-docker.yml and site.yml if there are no mgr in inventory
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: low Docs Contact:
Priority: low    
Version: 3.3CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, dsavinea, gabrioux, gmeno, nthomas, rmandyam, tchandra, tserlin, ykaul
Target Milestone: z4Keywords: FutureFeature
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.2.40-1.el7cp Ubuntu: ceph-ansible_3.2.40-2redhat1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-06 08:27:06 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:

Description Vasishta 2020-01-07 16:57:02 UTC
Description of problem:
rolling update fails if user misses to add mgrs to inventory before initiating playbook (valid scenario - upgrade from 2.x to 3.x) [1] 
This can be implemented to site.yml or site-docker.yml to alert the user if he misses out adding at least 1 mgr to the inventory

Version-Release number of selected component (if applicable):
ceph-ansible-3.2.38-1.el7cp.noarch

[1] https://github.com/ceph/ceph-ansible/blob/stable-3.2/infrastructure-playbooks/rolling_update.yml#L39-L43

Comment 12 errata-xmlrpc 2020-04-06 08:27:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1320