Bug 765231 (GLUSTER-3499) - volume set fails to remove ip-address from allow list when you reject the same.
Summary: volume set fails to remove ip-address from allow list when you reject the same.
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-3499
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: kaushik
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-31 10:10 UTC by Vijaykumar
Modified: 2011-09-19 08:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Vijaykumar 2011-08-31 10:10:28 UTC
root@openstack2:~# gluster volume set vol nfs.rpc-auth-allow 192.168.1.91
Set volume successful
root@openstack2:~# gluster volume set vol nfs.rpc-auth-reject 192.168.1.91
Set volume successful
root@openstack2:~# gluster volume info vol
 
Volume Name: vol
Type: Distribute
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: openstack2:/home/gluster/bricks/vol/v1
Options Reconfigured:
nfs.rpc-auth-reject: 192.168.1.91
nfs.rpc-auth-allow: 192.168.1.91
features.quota-timeout: 12

Comment 1 kaushik 2011-09-19 05:41:50 UTC
The volume set of one option(auth.allow in this case) should not depend on the value of other options. If there are any conflicts with the meaning of the options, there should be a precedence of which option would preside over the other. In this case the desired behavior of brick servers(or nfs-server) is to accept the client connection only if it does not match any of reject predicates and has a match in one of the accept predicates.


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