Skip to content

SASL Authentication Fail when listing topics #217

@rkubis

Description

@rkubis

When I tried to list topics of kafka (already provisioned and in ready state) using rhoas kafka topics list, I got SASL error:

$ rhoas kafka topics list
Topics:
Usage:
  rhoas kafka topics list [flags]

Flags:
  -o, --Output string   The output format as 'plain-text', 'json', or 'yaml' (default "plain-text")
  -h, --help            help for list
      --insecure        Enables insecure communication with the server. This disables verification of TLS certificates and host names.

Failed to perform list operation: [58] SASL Authentication Failed: SASL Authentication failed

This happened when I came back to console with rhoas after some time during the day, but this command worked many times before. I tried a few times to logout and login back without any success to list topics again. I was able to list, create, delete, describe kafkas in rhoas without any issue, only listing of topics did not worked with any kafka (mine or others). There was no change when I used --insecure, I just got another error.

I was able to list topics of kafkas again after switching version of rhoas from 0.9.2 to 0.2.0 and then back to 0.9.2. When I hit rhoas kafka topics list after this change for the first time, there was this output with information about service account:

$ rhoas kafka topics list
No Service credentials.
Creating service account for CLI
Topics:
Name: strimzi-canary (Replicas: 3)
Name: strimzi-canary (Replicas: 3)
Name: strimzi-canary (Replicas: 3)
Name: __consumer_offsets (Replicas: 3)
<...>

I am not able to reproduce this right now, I will investigate more during next days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions