Bug 783110

Summary: nfs.rpc-auth-allow truncated to first field
Product: [Community] GlusterFS Reporter: Matthias Babisch <matthias.babisch>
Component: access-controlAssignee: Rajesh <rajesh>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.2.5CC: gluster-bugs, matthias.babisch, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Debian Squeeze with glusterfs_3.2.5-1_amd64.deb
Last Closed: 2012-03-16 06:25:52 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:

Description Matthias Babisch 2012-01-19 12:05:48 UTC
Description of problem:
When multiple Adresses or Wildcards are entered comma-separated into nfs.rpc-auth-allow, only the first field (before the first comma) seems to take effect. I noticed the problem when creating new Replicated Volumes.

Version-Release number of selected component (if applicable):
glusterfs_3.2.5-1_amd64.deb 

How reproducible:

Steps to Reproduce:
1.Create a Volume (only tested with Replicate). 
(my Example: 
gluster volume create iso-images replica 2 transport tcp \
machine1:/data/iso-images machine2:/data/iso-images
)
2. Set rpc-auth-allow
(
my Example: 
gluster volume set iso-images nfs.rpc-auth-allow "172.27.24.*,172.27.27.*"
)
3. Start the volume
  
Actual results:
Machines matching the first entry have access, while machines in the other ranges get access denied.

Expected results:
All listed Machines should be allowed access.

Additional info:

Comment 1 Rajesh 2012-01-31 06:37:59 UTC
changing version according to the debian package mentioned. please clarify if it is not 3.2.5

Comment 2 Rajesh 2012-03-16 06:25:52 UTC
http://review.gluster.com/#change,391

patch pending review

*** This bug has been marked as a duplicate of bug 764358 ***