Bug 1636425

Summary: Order of brick placement on the host is not preserved as defined in the playbook
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: gluster-ansibleAssignee: Sachidananda Urs <surs>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: rcyriac, rhs-bugs, sabose, sankarshan, sasundar
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.z Batch Update 1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gluster-ansible-roles-1.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1636427 (view as bug list) Environment:
Last Closed: 2018-10-31 08:42:30 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: 1636427    
Attachments:
Description Flags
Playbook used for gluster deployment none

Description SATHEESARAN 2018-10-05 11:09:05 UTC
Description of problem:
-----------------------
Order of brick placement on the hosts is not preserved as defined in the playbook

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
gluster-ansible-role-1.0

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Create a playbook to create volume with bricks on listed host

Actual results:
---------------
Bricks are created with the host names sorted

Expected results:
-----------------
Bricks should be created in the same order as defined the playbook

Comment 1 SATHEESARAN 2018-10-05 13:34:37 UTC
Created attachment 1490851 [details]
Playbook used for gluster deployment

Comment 2 Sachidananda Urs 2018-10-05 15:51:38 UTC
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1636427#c3

Comment 3 Sachidananda Urs 2018-10-10 06:19:31 UTC
@sas this enhancement to playbook[1] by Gobinda should fix this ordering issue and the readability of the playbook as well.


[1] https://github.com/gluster/gluster-ansible/commit/77dd66e

Comment 6 SATHEESARAN 2018-10-17 01:40:12 UTC
Tested with ovirt-ansible-roles-1.0.3

The volumes are created on the hosts as per the playbook definitions

Comment 8 errata-xmlrpc 2018-10-31 08:42:30 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-2018:3428