Comments (4)
Hey,
Thanks for this issue. I think it is related to python-zk/kazoo#587 which I need to look into.
from ansible-kafka-admin.
Hey @justCatchingRye,
Can you please provide more information your ZK configuration? I am trying to reproduce the issue.
Thank you.
from ansible-kafka-admin.
Hey @StephenSorriaux,
Many thanks for following-up on this. You prompted me to take a closer look at our zookeeper setup and I've found that the issue I was seeing was actually mis-configuration on my side.
We are using AWS MSK (Managed Streaming for Kafka) and I've realised that although our connections to brokers are using TLS, our connections to zookeeper aren't. This is a bit of a surprise, but I realised that when we talk to zookeeper directly we don't actually provide a certificate for the connection. Furthermore, we are connecting to port 2181 and it appears this is the plaintext port.
So, I've resolved the issue in the playbook by removing these lines:
zookeeper_ssl_check_hostname: "{{ssl_check_hostname}}"
zookeeper_ssl_certfile: "{{ssl_certfile}}"
zookeeper_ssl_keyfile: "{{ssl_keyfile}}"
In my problem description I said that creating topics worked, then updates failed. So, this makes sense if I had the zookeeper connection setup using vars that it shouldn't have had, as zookeeper is used in cases where a topic already exists (e.g. an update action). It all makes sense now :)
Thank you very much looking into this and apologies for any time wasted looking into it.
from ansible-kafka-admin.
Thanks a lot for the heads up @justCatchingRye, I am glad to see everything is fine now.
from ansible-kafka-admin.
Related Issues (20)
- [Module] Add `kafka_users` module
- [Module] Unable to use ssl one way with zookeeper
- Output variable name difference for lib kafka_info is not optimal HOT 2
- UnboundLocalError: local variable 'manager' referenced before assignment while using SSL HOT 1
- Get unspecified Error Message on module kafka_info for topics HOT 3
- Unnecessary requirement for acl_operation in module kafka_acls HOT 1
- Unable to get Topic Information when connecting to a Cluster using SSL HOT 20
- spelling: Seomthing -> Something
- Question: How to add ACLs with transactional-ids? HOT 5
- kafka_topic: invalid check_mode behaviour when updating an existing topic HOT 2
- Enhancement: allow to define common configurations from env vars HOT 1
- Could not find imported module support code for kafka_users: Looked for ansible.module_utils.kafka_scram HOT 1
- kafka_user: Multiple mechanisms for password during user creation HOT 1
- Ansible-galaxy is not updated HOT 1
- Add publishing to Ansible Galaxy as collection HOT 4
- Missing asset in release 0.18.1 HOT 3
- Add quotas management for KRaft-based clusters HOT 2
- Consumer group ACL creation issue on 0.19.0 HOT 1
- outdated example HOT 1
- Add mTLS SSL support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-kafka-admin.