-
Notifications
You must be signed in to change notification settings - Fork 604
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 fails to connect to an ipv6 admin-api address #23363
Comments
I have a similar issue by having ipv6 only
In this case I have:
It does not work either if I put a third listener with an ipv4 address like this:
However redpanda is working correctly, so I guess it is an rpk issue.
Hope it helps. |
I don't know if we support ipv6? cc: @twmb |
@piyushredpanda it does. |
Interesting data point, @sundbry. @mattschumpert and @twmb could perhaps then look into the rpk bits. cc: @r-vasquez too |
This fixes a bug where we were adding double brackets to IPV6 addresses. Fixes redpanda-data#23363 (cherry picked from commit 3607a3b)
This fixes a bug where we were adding double brackets to IPV6 addresses. Fixes redpanda-data#23363 (cherry picked from commit 3607a3b)
This fixes a bug where we were adding double brackets to IPV6 addresses. Fixes redpanda-data#23363 (cherry picked from commit 3607a3b)
This fixes a bug where we were adding double brackets to IPV6 addresses. Fixes redpanda-data#23363 (cherry picked from commit 3607a3b) Manually edited as the RpkNodeConfig does not have the SR struct in older versions.
I am running redpanda in an ipv6 only environment, and the admin-api is listening on a private ipv6 address. I attempted to use
rpc
to show the cluster health.Version & Environment
Redpanda version: (use
rpk version
):What went wrong?
redpanda@redpanda1:/$ rpk cluster health unable to initialize admin client: invalid host "[[fddb:1e1b:80b7:c98f:c0df:c5d3:8685:4141]]:9644" does not match "host", nor "host:port", nor "scheme://host:port"
What should have happened instead?
The IPv6 compatible host:port should take the form
[fddb:1e1b:80b7:c98f:c0df:c5d3:8685:4141]:9644
and rpk should print the cluster health.How to reproduce the issue?
redpanda.yaml
JIRA Link: CORE-7340
The text was updated successfully, but these errors were encountered: