Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kazoo python client Unable to create node after ACL is passed while creating client #596

Open
anish97IND opened this issue Mar 20, 2020 · 0 comments

Comments

@anish97IND
Copy link

I am facing issue with kazoo while implementing lock with default_acl. When I initialize client and try to create node, it shows, NoAuthError. I m sharing the code below.

credentials=make_digest_acl_credential('distribution','password') zk= KazooClient(hosts='192xxxx:2181,192.xxxxx:2181,192xxxxx:2181', default_acl=(make_acl('digest', credentials, all=True),)) zk.start() zk.add_auth('digest',credentials) zk.create("/testNode/locking",makepath=True) # i get error here while creating

As lock function of Kazoo client also creates an ephemeral node, hence, that also doesn't work...

Please help me out in this ....thanks in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant