cp-ansible icon indicating copy to clipboard operation
cp-ansible copied to clipboard

controller start fails when scram protocol enabled

Open piif opened this issue 1 year ago • 1 comments

Describe the issue With sasl_protocol = scram , kafka controller doesn't start, with error java.lang.IllegalArgumentException: Could not find a 'KafkaServer' or 'controller.KafkaServer' entry in the JAAS configuration. System property 'java.security.auth.login.config' is not set

To Reproduce Steps to reproduce the behaviour :

  • declare brokers nodes + controller nodes
  • set sasl_protocol: scram

Expected behaviour A clear and concise description of what you expected to happen : controller nodes starts

Environment (please complete the following information):

  • OS: Ubuntu
  • CP-Ansible Branch: 7.5.1-post
  • Ansible Version 2.15.2

piif avatar Oct 31 '23 15:10 piif

https://stackoverflow.com/questions/74398912/need-kafka-kraft-sasl-plaintext exposes similar problem and provides a solution.

piif avatar Oct 31 '23 15:10 piif