Bug 782424 - export-dir set option takes invalid boolean values.
Summary: export-dir set option takes invalid boolean values.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: kaushik
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-01-17 12:57 UTC by Vijaykumar Koppad
Modified: 2014-08-25 00:49 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:48:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.