You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh Kumar Singh (JIRA)" <ji...@apache.org> on 2016/09/17 06:19:20 UTC

[jira] [Created] (ZOOKEEPER-2589) Not able to access znode if IP ACL is set on a znode when zookeeper started in ssl mode

Rakesh Kumar Singh created ZOOKEEPER-2589:
---------------------------------------------

             Summary: Not able to access znode if  IP ACL is set on a znode when zookeeper started in ssl mode
                 Key: ZOOKEEPER-2589
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2589
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.5.1
            Reporter: Rakesh Kumar Singh


Not able to access znode if  IP ACL is set on a znode when zookeeper started in ssl mode.

Steps to reproduce:-
1. Start zookeeper in SSL (standalone) mode
2. Create a znode
3. set ip ACL and connect the zkCli and try to access, it does not allow.

[zk: localhost:2181(CONNECTED) 3] setAcl /test ip:127.0.0.1:crdwa
[zk: localhost:2181(CONNECTED) 5] quit

>> start the zkCli with 127.0.0.1 and trying access the znode
[zk: 127.0.0.1:2181(CONNECTED) 0] get -s /test
Authentication is not valid : /test
[zk: 127.0.0.1:2181(CONNECTED) 1] getAcl /test
'ip,'127.0.0.1
: cdrwa
[zk: 127.0.0.1:2181(CONNECTED) 2] get /test
Authentication is not valid : /test




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)