Bug 1389168
Summary: | glusterd: Display proper error message and fail the command if S32gluster_enable_shared_storage.sh hook script is not present during gluster volume set all cluster.enable-shared-storage <enable/disable> command | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Bipin Kunal <bkunal> |
Component: | glusterd | Assignee: | Avra Sengupta <asengupt> |
Status: | CLOSED ERRATA | QA Contact: | Byreddy <bsrirama> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | amukherj, asengupt, bugs, jflory, rhinduja, rhs-bugs, storage-qa-internal, vbellur |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | RHGS 3.2.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.8.4-4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1377448 | Environment: | |
Last Closed: | 2017-03-23 06:15:21 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: | 1377448 | ||
Bug Blocks: | 1351528, 1388348, 1389197 |
Description
Bipin Kunal
2016-10-27 05:52:27 UTC
Patch merged in master Avra - please backport the patch to downstream now. master url: http://review.gluster.org/#/c/15718/ release 3.8 url: http://review.gluster.org/#/c/15741/ rhgs 3.2.0 url: https://code.engineering.redhat.com/gerrit/#/c/89246/ Verified this bug using the build - glusterfs-3.8.4-5 CLI failed with proper error message When tried to enable shared storage when hoot script not present: ~]# gluster volume set all cluster.enable-shared-storage enable volume set: failed: The hook-script (/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh) required for this operation is not present. Please install the hook-script and retry CLI failed with proper error message When tried to disable shared storage when hoot scrip not present in the location: ]# gluster volume set all cluster.enable-shared-storage disable Disabling cluster.enable-shared-storage will delete the shared storage volume(gluster_shared_storage), which is used by snapshot scheduler, geo-replication and NFS-Ganesha. Do you still want to continue? (y/n) y volume set: failed: The hook-script (/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh) required for this operation is not present. Please install the hook-script and retry With these details moving this bug to verified state. 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://rhn.redhat.com/errata/RHSA-2017-0486.html |