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

Using rpk container should show errors from container startup #13023

Closed
voutilad opened this issue Aug 25, 2023 · 0 comments · Fixed by #17780
Closed

Using rpk container should show errors from container startup #13023

voutilad opened this issue Aug 25, 2023 · 0 comments · Fixed by #17780
Labels
area/rpk kind/enhance New feature or request

Comments

@voutilad
Copy link
Contributor

voutilad commented Aug 25, 2023

Who is this for and what problem do they have today?

For users of rpk container commands, specifically rpk container start, they're purposely choosing to not interface directly with Docker. If there's a problem starting Redpanda, users will often just see an error like:

Error: unable to dial: dial tcp 127.0.0.1:41719: connect: connection refused

What are the success criteria?

User should receive a more descriptive message about why Redpanda is not running instead of just that rpk cannot connect to the admin/kafka api ports.

Why is solving this problem impactful?

It surfaces the root cause of the failure and not a consequence (i.e. lack of network connection to the cluster). The actual error can be shared with others (support, community Slack, etc.) and cut down on time wasted troubleshooting.

Additional notes

JIRA Link: CORE-1417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/enhance New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant