Bug 782424

Summary: export-dir set option takes invalid boolean values.
Product: [Community] GlusterFS Reporter: Vijaykumar Koppad <vkoppad>
Component: cliAssignee: kaushik <kbudiger>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bbandari, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:48:43 UTC Type: ---
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:    
Bug Blocks: 817967    

Description Vijaykumar Koppad 2012-01-17 12:57:36 UTC
Description of problem:
root@vostro:~# gluster volume set doa export-dir sdfsg
Set volume successful
root@vostro:~# gluster volume info
 
Volume Name: doa
Type: Distributed-Replicate
Volume ID: feb7204a-9b61-4743-85cd-f60ab0d7aab1
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: vostro:/home/vijay/bricks/doa/d1
Brick2: vostro:/home/vijay/bricks/doa/d2
Brick3: vostro:/home/vijay/bricks/doa/d3
Brick4: vostro:/home/vijay/bricks/doa/d4
Options Reconfigured:
nfs.export-dir: sdfsg


This is happening in 3.3 branch

Comment 1 kaushik 2012-01-19 11:24:44 UTC
export-dir is not a boolean option to show it as an invalid boolean value, it is actually a path, however PATH validation is not correct in this case, this bug would be used to validate option export-dir as a valid PATH

Comment 2 Anand Avati 2012-02-07 17:48:33 UTC
CHANGE: http://review.gluster.com/2667 (nfs: export-dir option changed to type GF_OPTION_TYPE_PATH) merged in master by Vijay Bellur (vijay)

Comment 3 Vijaykumar Koppad 2012-05-21 13:07:46 UTC
Verified on 3.3.0qa42. Its working fine now