[Bugs] [Bug 1389168] 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

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 14 05:35:59 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1389168

Byreddy <bsrirama at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #8 from Byreddy <bsrirama at redhat.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=WYz8L7X2mm&a=cc_unsubscribe


More information about the Bugs mailing list