mhausenblas / burry.sh

Cloud Native Infrastructure BackUp & RecoveRY
Apache License 2.0
260 stars 38 forks source link

ZK authentication #27

Open adecarolis opened 5 years ago

adecarolis commented 5 years ago

Hello, I'm not sure if this is a missing feature or if I'm doing something wrong however I'm trying to backup some nodes which have ACL's enabled. I have the necessary credentials but can't understand how/where to use them:

root@f2d067caa672:/go# burry -e docker.for.mac.localhost:2181 -t local
INFO[0000] Selected operation: BACKUP                    func=main
2019/03/25 19:36:48 Connected to 192.168.65.2:2181
2019/03/25 19:36:49 Authenticated: id=72312109170556965, timeout=4000
2019/03/25 19:36:49 Re-submitting `0` credentials after reconnect
INFO[0000] Rewriting root                                func=store
ERRO[0000] zk: not authenticated                         func=visitZK
ERRO[0000] zk: not authenticated                         func=visitZK
ERRO[0000] zk: not authenticated                         func=visitZK
INFO[0000] Operation successfully completed. The snapshot ID is: 1553542608  func=main
root@f2d067caa672:/go#

Is this possible with burry? Thanks

mhausenblas commented 5 years ago

Thanks for raising this issue. Not sure what you mean by 'is this possible', though.

adecarolis commented 5 years ago

I meant to ask if it was possible backing up clusters with ACL's enabled

mhausenblas commented 5 years ago

Oh, sorry, didn't catch that from the initial point, thanks for clarifying. So, there's no explicit support for this currently and I don't plan to work on it either, but as usual, PRs are welcome.

giulianisanches commented 5 years ago

I found the 2 issues below, but don't know (yet) how they are releated to this one:

https://github.com/linkedin/Burrow/issues/347 https://github.com/linkedin/Burrow/pull/438

Just want to reference them here as i'm having a similar issue. The difference is that i only get one error message and the backup continues.