Bug 764330 (GLUSTER-2598)
Summary: | Volume access option suceeds with any string value | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Gaurav <ggangalw> |
Component: | nfs | Assignee: | Gaurav <ggangalw> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.3 | CC: | gluster-bugs, saurabh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | 3.3.0qa12 | Category: | --- |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gaurav
2011-03-28 09:39:29 UTC
PATCH: http://patches.gluster.com/patch/6613 in master (NFS : Volume access option accepts only valid values.) It's working only for read-only, read-write, but correct the suggestion string if the wrong option is provided, gluster> volume set dist2 nfs.volume-access read-bing option nfs3.dist-strip1.volume-access read-bing: 'read-bing' is not valid (possible options are read-only, read-write, ) presently the statement finishes with a comma space and then a bracket. Rather it should be full-stop and closing bracket without space. PATCH: http://patches.gluster.com/patch/6725 in master (CLI : Display possible options in proper format.) root@Centos-Gurav2 mnt]# [root@Centos-Gurav2 mnt]# /opt/glusterfs/3.3.0qa13/sbin/gluster volume set dist-rep nfs.volume-access read-bing option nfs3.dist-rep.volume-access read-bing: 'read-bing' is not valid (possible options are read-only, read-write.) Set volume unsuccessful [root@Centos-Gurav2 mnt]# /opt/glusterfs/3.3.0qa13/sbin/gluster volume set dist-rep nfs.volume-access read option nfs3.dist-rep.volume-access read: 'read' is not valid (possible options are read-only, read-write.) Set volume unsuccessful [root@Centos-Gurav2 mnt]# /opt/glusterfs/3.3.0qa13/sbin/gluster volume set dist-rep nfs.volume-access read- option nfs3.dist-rep.volume-access read-: 'read-' is not valid (possible options are read-only, read-write.) Set volume unsuccessful [root@Centos-Gurav2 mnt]# /opt/glusterfs/3.3.0qa13/sbin/gluster volume set dist-rep nfs.volume-access wread-only option nfs3.dist-rep.volume-access wread-only: 'wread-only' is not valid (possible options are read-only, read-write.) Set volume unsuccessful [root@Centos-Gurav2 mnt]# [root@Centos-Gurav2 mnt]# /opt/glusterfs/3.3.0qa13/sbin/gluster volume set dist-rep nfs.volume-access wread-write1 option nfs3.dist-rep.volume-access wread-write1: 'wread-write1' is not valid (possible options are read-only, read-write.) Set volume unsuccessful [root@Centos-Gurav2 mnt]# glusterfs -V glusterfs 3git built on Jul 5 2011 22:14:42 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License. |