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: prevent segfault by checking ready-clusters #17553

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

r-vasquez
Copy link
Contributor

@r-vasquez r-vasquez commented Apr 2, 2024

If the cluster state is != ready, the cloud
response wont contain the kafkaAPI field, resulting in a segfault.

Now, we will limit the profile creation to only
clusters that are "ready".

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

Bug Fixes

  • rpk: prevent a segfault when creating a profile from a cloud that is not in ready state.

If the cluster state is != ready, the cloud
response wont contain the kafkaAPI field, resulting
in a segfault.

Now, we will limit the profile creation to only
clusters that are "ready".
@vbotbuildovich
Copy link
Collaborator

@r-vasquez r-vasquez merged commit 15bd2e8 into redpanda-data:dev Apr 3, 2024
23 of 24 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants