| Summary: | Ganesha: Need to add cleanup steps for ganesha cluster if it goes to an inconsistent state while doing the setup. | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | surabhi <sbhaloth> |
| Component: | doc-Administration_Guide | Assignee: | Bhavana <bmohanra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | surabhi <sbhaloth> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.2 | CC: | asriram, jthottan, kkeithle, rcyriac, rhinduja, rhs-bugs, rwheeler, sankarshan, sbhaloth, skoduri, storage-doc, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-24 10:23:32 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1351553 | ||
|
Description
surabhi
2016-11-28 10:18:25 UTC
Hi Surabhi, Just checking if this bug is similar/same issue to the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=1399148 if its not, then pls do share the steps/kbase article so that I can add them to the admin guide. Thnaks This is not related to BZ https://bugzilla.redhat.com/show_bug.cgi?id=1399148 This is to be added to troubleshooting section if there is a problem setting up ganesha cluster and leads to an inconsistent state we need to add the steps to clean up and do the setup again. The steps for cleanup is needed. Hi Soumya, As discussed, can you please share the cleanup steps. The cleanup steps goes as follows - In case if the nfs-ganesha HA cluster setup fails, to restore back the machines to original state, please do the following on every node forming the cluster - * /use/libexec/ganesha.sh --teardown /var/run/gluster/shared_storage/nfs-ganesha * /use/libexec/ganesha.sh --cleanup /var/run/gluster/shared_storage/nfs-ganesha * systemctl stop nfs-ganesha Request Kaleb and Jiffin to review and comment on any additional steps needed. I am not sure whether it is worth mention about correct glusterd option "nfs-ganesha" in "/var/lib/glusterd/options". So that we can make the state of volume to be same in the cluster.
Secondly may be we also need to remove the contents inside shared_storage ("/var/run/gluster/shared_storage/nfs-ganesha")
Soumya's steps in Comment 6 are correct. I have nothing to add. The steps provided in comment 6 is added as one of the Troubleshooting scenarios in the NFS Ganesha section as: "Cleanup required when nfs-ganesha HA cluster setup fails" http://ccs-jenkins.gsslab.brq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.2-Administration_Guide-branch-master/lastSuccessfulBuild/artifact/tmp/en-US/html-single/index.html#sect-NFS_Ganesha The steps for cleanup looks good. Marking the BZ verified. RHGS 3.2.0 GA completed on 23 March 2017 |