-
Notifications
You must be signed in to change notification settings - Fork 2k
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: add unpublish RPC #8572
csi: add unpublish RPC #8572
Conversation
08cd243
to
3f9d65e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lgtm!
@@ -448,9 +450,10 @@ func (v *CSIVolume) controllerPublishVolume(req *structs.CSIVolumeClaimRequest, | |||
// Nomad's ID for the node) | |||
targetCSIInfo, ok := targetNode.CSINodePlugins[plug.ID] | |||
if !ok { | |||
return fmt.Errorf("Failed to find NodeInfo for node: %s", targetNode.ID) | |||
return fmt.Errorf("failed to find storage provider info for client %q, node plugin %q is not running or has not fingerprinted on this client", targetNode.ID, plug.ID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
This changeset is plumbing for a `nomad volume detach` command that will be reused by the volumewatcher claim GC as well.
3f9d65e
to
b86c25a
Compare
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. |
Part of a fix for #8080, #8100, #8232 as summarized in #8232 (comment). Will help mitigate #8285, #8145, #8057. (2 of 4 PRs)
This changeset is plumbing for a
nomad volume detach
command that will be reused by the volumewatcher claim GC as well.