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

csi: avoid panic in CLI for failed node attachment cleanup #8525

Merged
merged 2 commits into from
Jul 24, 2020

Conversation

tgross
Copy link
Member

@tgross tgross commented Jul 23, 2020

Fixes #8510

If the node API returns an attached volume that doesn't belong to an alloc (because it's failed to clean up properly), nomad node status will panic when rendering the response. That's fixed in 2c9cad2.

Includes a minor update to remove empty CSI Volumes and Host Volumes tables from the verbose output. That's done in cb00630.

If the node API returns an attached volume that doesn't belong to an
alloc (because it's failed to clean up properly), `nomad node status`
will panic when rendering the response.
@tgross tgross marked this pull request as ready for review July 23, 2020 21:02
@tgross tgross requested a review from langmartin July 23, 2020 21:02
Copy link
Contributor

@langmartin langmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tgross tgross merged commit 21a4f60 into master Jul 24, 2020
@tgross tgross deleted the b-csi-node-status-panic branch July 24, 2020 12:17
@tgross tgross added this to the 0.12.2 milestone Jul 24, 2020
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSI: panic in CLI when rendering verbose node status with failed alloc
2 participants