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

Rpk security user list ignore brokers option/env var #21306

Open
maingoh opened this issue Jul 9, 2024 · 2 comments
Open

Rpk security user list ignore brokers option/env var #21306

maingoh opened this issue Jul 9, 2024 · 2 comments
Labels
area/rpk kind/bug Something isn't working

Comments

@maingoh
Copy link

maingoh commented Jul 9, 2024

Version & Environment

Redpanda version: (use rpk version):

Version:     v24.1.3
Git ref:     1cae54a38e
Build date:  2024-05-23T21:37:19Z
OS/Arch:     linux/amd64
Go version:  go1.22.2

What went wrong?

I can't manage to create a user on our fmc using rpk security user create --tls-enabled with the env vars:

REDPANDA_SASL_PASSWORD=my_password
REDPANDA_SASL_MECHANISM=SCRAM-SHA-X
REDPANDA_SASL_USERNAME=my_user
REDPANDA_BROKERS=foo.fmc.prd.cloud.redpanda.com:9092

Or even by adding the --brokers option. It always try to reach a localhost cluster: unable to list users: Get "http://127.0.0.1:9644/api/v1/security/users": dial tcp 127.0.0.1:9644: connect: connection refused
It works well when listing the topics for example using rpk topic list --tls-enabled

What should have happened instead?

It should create the user on the distant fmc instead of a localhost cluster

JIRA Link: CORE-5545

@maingoh maingoh added the kind/bug Something isn't working label Jul 9, 2024
Copy link

This issue hasn't seen activity in 3 months. If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

@github-actions github-actions bot added the stale label Oct 14, 2024
@maingoh
Copy link
Author

maingoh commented Oct 14, 2024

--

@github-actions github-actions bot removed the stale label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants