Bug 1549043

Summary: Downstream specific path for gluster-colonizer playbook path
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ramakrishna Reddy Yekulla <rreddy>
Component: gluster-colonizerAssignee: Dustin Black <dblack>
Status: CLOSED ERRATA QA Contact: Nag Pavan Chilakam <nchilaka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: japplewh, nchilaka, rcyriac, rhs-bugs, rreddy
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.3.1 Async   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-colonizer-1.0.4-1.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-12 12:06:14 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: 1542835    
Attachments:
Description Flags
patch to be applied to the gluster-colonizer-1.0.4 upstream release none

Description Ramakrishna Reddy Yekulla 2018-02-26 10:11:12 UTC
Created attachment 1400804 [details]
patch to be applied to the gluster-colonizer-1.0.4 upstream release

Description of problem:

The existing path of the upstream colonizer is set to 
-playbook_path = g1_path + "ansible/"

it needs to change to the following path, 
+playbook_path = g1_path + "playbook/ansible/"


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

gluster-colonizer-1.0.3.el7rhgs

How reproducible:

Everytime

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

playbooK_path = +playbook_path = g1_path + "playbook/ansible/"


Additional info:

Comment 4 Nag Pavan Chilakam 2018-03-01 17:00:30 UTC
validation:
==========
installed latest packages and found the fix has been made



Before fix
[root@g1-2 ~]# rpm -qa|grep gluster-colo;cat /usr/bin/gluster-colonizer.py |grep ansible|grep path
gluster-colonizer-1.0.3-1.el7rhgs.noarch
playbook_path = g1_path + "ansible/"
    run_ansible_playbook(g1_path + 'oemid/' +
        run_ansible_playbook(playbook_path + "/g1-key-dist.yml")

after fix:

[root@g1-2 rhsone-1.0.4.1]# rpm -qa|grep gluster-colo;cat /usr/bin/gluster-colonizer.py |grep ansible|grep path
gluster-colonizer-1.0.4-1.el7rhgs.noarch
playbook_path = g1_path + "playbook/ansible/"
    run_ansible_playbook(g1_path + 'oemid/' +
        run_ansible_playbook(playbook_path + "/g1-key-dist.yml")
[root@g1-2 rhsone-1.0.4.1]#

Comment 7 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