Bug 1544917 - Colonizer should abort on any ansible play failures
Summary: Colonizer should abort on any ansible play failures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-colonizer
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.1 Async
Assignee: Dustin Black
QA Contact: Nag Pavan Chilakam
URL:
Whiteboard:
Depends On:
Blocks: 1542835
TreeView+ depends on / blocked
 
Reported: 2018-02-13 18:20 UTC by Dustin Black
Modified: 2018-04-05 07:28 UTC (History)
5 users (show)

Fixed In Version: gluster-colonizer-1.0.3-1.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-12 12:06:14 UTC
Embargoed:


Attachments (Terms of Use)
validation screenshot of playbookerror when run on new node with already existing nas setup available on network (158.19 KB, image/png)
2018-03-01 16:18 UTC, Nag Pavan Chilakam
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0477 0 normal SHIPPED_LIVE RHEA: new package: gluster-colonizer 2018-03-12 18:12:47 UTC

Description Dustin Black 2018-02-13 18:20:40 UTC
Description of problem:
The gluster-colonizer currently continues to process plays for other hosts once a play for one host fails.

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


How reproducible:
Consistently


Steps to Reproduce:
1. Run colonizer to deploy 4 nodes
2. Re-run colonizer to deploy 6 nodes, 4 of the same
3. System config difference leads to play failure for 2 nodes, but other nodes continue attempting to deploy.

Actual results:
gluster-colonizer deployment fails with split configuration -- nodes in significantly different states


Expected results:
gluster-colonizer fails at first play failure, leaving nodes in close consistency at failure



Additional info:

Comment 2 Dustin Black 2018-02-14 16:50:14 UTC
Added any_errors_fatal: True to playbooks in upstream merge commit ff881a517a9100747c311c37862bad2eadf30378

https://github.com/gluster/gluster-colonizer/commit/ff881a517a9100747c311c37862bad2eadf30378

Comment 4 Nag Pavan Chilakam 2018-03-01 16:17:40 UTC
verification on 1.0.3.1 colonizer
===========================
ran the same test as in description
ran below too:
1) had setup a arbiter nas setup on 4 node successfully
2) brought 1 extra fresh node online 
3) now from one of the existing nas setup, reran a new nas setup, ->failed as expected
4) now reran step#4 from a fresh node, it did discover the existing nodes where setup passed in step#1, but later failed with ansible playbook errors. see screenshot-> worked as expected

hence moving to verified

Comment 5 Nag Pavan Chilakam 2018-03-01 16:18:36 UTC
Created attachment 1402587 [details]
validation screenshot of playbookerror when run on new node with already existing nas setup available on network

Comment 8 errata-xmlrpc 2018-03-12 12:06:14 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/RHEA-2018:0477


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