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

Cluster meta data are created with wrong file permissions #1816

Open
Klaus-42-root opened this issue Oct 28, 2024 · 0 comments
Open

Cluster meta data are created with wrong file permissions #1816

Klaus-42-root opened this issue Oct 28, 2024 · 0 comments

Comments

@Klaus-42-root
Copy link

When I create a new Kafka cluster the ansible playbook fails the first two time it are executed.

And the cause are - the file permissions on the meta.properties are set to "root:root" and not "cp-kafka:confluent".
The permission are automatically corrected the next time you run the playbook.

The issue are in both kafka_controller and kafka_brokker - and therefore do it fails two times.

I believe the issue can be fixed by moving the task "Set Permisions on Data Dir Files" down after the "get_meta.properties" but have not teste it.

The workaround for the issue are to run the ansible play 3 times, but I do not like to write in own internal documentation that the user needs to try 3 times.

Tested on Redhat 8.10 and version 7.7.0

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