Skip to content

Included Redpanda Console can't connect to Redpanda with activated SASL #1123

@gabschne

Description

@gabschne

When trying to deploy a Redpanda cluster using the operator and with SASL activated, the included Redpanda console can't connect to the Redpanda cluster:

{"level":"info","ts":"2025-10-01T18:38:14.081Z","msg":"connecting to Kafka seed brokers, trying to fetch cluster metadata"}         
{"level":"error","ts":"2025-10-01T18:38:14.084Z","logger":"kafka_client","msg":"unable to initialize sasl","broker":"seed_0","err":"SASL authentication failed: security: Invalid credentials: SASL_AUTHENTICATION_FAILED: SASL Authentication failed."}                
{"level":"warn","ts":"2025-10-01T18:38:14.084Z","msg":"Failed to test Kafka connection, going to retry in 1s","remaining_retries":5}

Redpanda pod:

redpanda INFO  2025-10-01 18:38:14,083 [shard 0:kafk] security - scram_authenticator.cc:96 - Authentication failed: stored and clien
t submitted credentials do not match 

Pod template (minikube setup):

apiVersion: cluster.redpanda.com/v1alpha2
kind: Redpanda
metadata:
  namespace: redpanda
  name: redpanda
spec:
  clusterSpec:
    image:
      # Tried with chart default version and newest tag 
      tag: "v25.2.7"
    tuning:
        tune_aio_events: false
    console:
      enabled: true
    tls:
      enabled: true
    auth:
      sasl:
        enabled: true
        secretRef: redpanda-superusers
        users: []
        # Have to specify the bootstrap user name, because the cluster fails to start otherwise. Might be another issue.
        bootstrapUser:
          name: bootstrap
    logging:
      usageStats:
        enabled: false
    statefulset:
      initContainerImage:
        repository: alpine
        tag: latest
      replicas: 3
      initContainers:
        setDataDirOwnership:
          enabled: true

We were able to reproduce this issue on multiple Machines and different Setups (Minikube and vanilla K8s).

Operator (chart) version: v25.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions