Bug 1452001

Summary: [gdeploy+nfs ganesha] Unable to add node and delete node to nfs ganesha cluster, if gdeploy command is executed from the node where nfs-ganesha pacakages are not installed.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Arthy Loganathan <aloganat>
Component: gdeployAssignee: Sachidananda Urs <surs>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, bmohanra, rhinduja, rhs-bugs, smohan, srmukher, storage-qa-internal, surs
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, ‘script’ module was used which would result in gdeploy failure if NFS-Ganesha packages are not installed in the local system. From this release onward, ‘shell’ module will be used which runs gdeploy without having the packages installed on the local system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:49:50 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: 1417151    

Description Arthy Loganathan 2017-05-18 06:55:48 UTC
Description of problem:
Unable to add node and delete node to nfs ganesha cluster, if gdeploy command is executed from the node where nfs-ganesha pacakages are not installed. 

Version-Release number of selected component (if applicable):
gdeploy-2.0.2-9.el7rhgs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a gdploy conf file for adding and deleting node from nfs-ganesha cluster.
2. Run the conf file from the node where nfs-ganesha pacakages are not installed.


Actual results:
Failed with following error.

TASK [Adds a node to the cluster] **********************************************
failed: [dhcp46-115.lab.eng.blr.redhat.com] (item={u'host': u'dhcp46-240.lab.eng.blr.redhat.com', u'vip': u'10.70.44.97'}) => {"failed": true, "item": {"host": "dhcp46-240.lab.eng.blr.redhat.com", "vip": "10.70.44.97"}, "msg": "Unable to find '/usr/libexec/ganesha/ganesha-ha.sh' in expected paths."}


Expected results:
Add node and delete node should work as expected.

Comment 2 Sachidananda Urs 2017-05-18 07:33:33 UTC
Commit: https://github.com/gluster/gdeploy/commit/60cf04b211f fixes the issue.

Comment 6 Manisha Saini 2017-06-15 14:04:14 UTC
Verified this bug on 

# rpm -qa | grep gdeploy
gdeploy-2.0.2-10.el7rhgs.noarch

As the issue is no more observed,hence moving this bug to verified state.

Comment 10 errata-xmlrpc 2017-09-21 04:49:50 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-2017:2777