Bug 962286
Summary: | nfs: default value displayed in help always null | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> | |
Component: | glusterd | Assignee: | rjoseph | |
Status: | CLOSED ERRATA | QA Contact: | Saurabh <saujain> | |
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 2.1 | CC: | amarts, mzywusko, rhs-bugs, spradhan, vagarwal, vbellur | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.4.0.12rhs-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 967445 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-23 22:39:45 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: | ||||
Bug Blocks: | 967445 |
Description
Saurabh
2013-05-13 05:59:49 UTC
Rajesh, it would be good exercise for you to fix the 'default' value string for all these options (look at nfs.c - xlators/nfs/server/src/). Default value as "no" does seem to be conventional, it should either True/False or On/Off Option: nfs.enable-ino32 Default Value: no Description: For nfs clients or apps that do not support 64-bit inode numbers, use this option to make NFS return 32-bit inode numbers instead. Disabled by default, so NFS returns 64-bit inode numbers. The default values for the below options is "blank" Option: nfs.export-dir Default Value: Description: By default, all subvolumes of nfs are exported as individual exports. There are cases where a subdirectory or subdirectories in the volume need to be exported separately. This option can also be used in conjunction with nfs3.export-volumes option to restrict exports only to the subdirectories specified through this option. Must be an absolute path. Default value as "no" does not seem to be conventional, it should either True/False or On/Off Option: nfs.enable-ino32 Default Value: no Description: For nfs clients or apps that do not support 64-bit inode numbers, use this option to make NFS return 32-bit inode numbers instead. Disabled by default, so NFS returns 64-bit inode numbers. The default values for the below options is "blank" Option: nfs.export-dir Default Value: Description: By default, all subvolumes of nfs are exported as individual exports. There are cases where a subdirectory or subdirectories in the volume need to be exported separately. This option can also be used in conjunction with nfs3.export-volumes option to restrict exports only to the subdirectories specified through this option. Must be an absolute path. As per gluster code following values of boolean is supported 1/0 on/off yes/no true/false enable/disable Do we have any documented convention for the help message which I can refer? As I said in my previous comment all the above mentioned values are supported therefore I used the one which makes more sense.
> The default values for the below options is "blank"
This is intentional. export-dir should provide an absolute path. Therefore it does not make any sense to have some default value. By default it is blank, i.e. no export-dir is provided.
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. http://rhn.redhat.com/errata/RHBA-2013-1262.html 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. http://rhn.redhat.com/errata/RHBA-2013-1262.html |