Bug 1211462 - nfs-ganesha: HA related cluster.conf is not deleted on all nodes of cluster after the teardown operation is executed.
Summary: nfs-ganesha: HA related cluster.conf is not deleted on all nodes of cluster a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: common-ha
Version: 3.7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-14 04:10 UTC by Saurabh
Modified: 2016-07-19 10:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 10:38:24 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2015-04-14 04:10:51 UTC
Description of problem:
ganesha.sh has a operation called teardown, this operation helps bring down the nfs-ganesha related HA based cluster.
As per the operation it is suppose to delete the cluter.conf from /etc/cluster/ dir.

Presently ganesha.sh --teardown just deletes the cluster.conf directory from the node where the script is executed not from all the nodes of the cluster in consideration.


Version-Release number of selected component (if applicable):
glusterfs-3.7dev-0.910.git17827de.el6.x86_64
nfs-ganesha-2.2-0.rc7.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. bring the nfs ganesha ha using "gluster features.ganesha enable"
2. once the cluster is up, try bring it down using the command
"ganesha.sh --teardown"

Comment 1 Meghana 2015-04-14 12:18:56 UTC
This causes some old cluster info to be present on those nodes. And a subsequent setup doesn't work the way it should. I am not sure as to who should clean this,
pacemaker or the script itself. Assigning it to Kaleb, who'd have more information.

Comment 2 Meghana 2015-04-23 06:23:13 UTC
Posted the changes for review,

http://review.gluster.org/#/c/10283/

Comment 3 Meghana 2015-05-05 06:12:34 UTC
Kaleb has posted changes as part of the following patch,

Master,
http://review.gluster.org/#/c/10234/

Release-3.7
http://review.gluster.org/#/c/10318/

and merged on both of them

Comment 6 Kaleb KEITHLEY 2016-07-19 10:38:24 UTC
fixed long ago, not sure how this didn't closed


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