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: skip node unpublish on GC'd or down nodes #13301

Merged
merged 1 commit into from
Jun 9, 2022

Commits on Jun 8, 2022

  1. CSI: skip node unpublish on GC'd or down nodes

    If the node has been GC'd or is down, we can't send it a node
    unpublish. The CSI spec requires that we don't send the controller
    unpublish before the node unpublish, but in the case where a node is
    gone we can't know the final fate of the node unpublish step.
    
    The `csi_hook` on the client will unpublish if the allocation has
    stopped and if the host is terminated there's no mount for the volume
    anyways. So we'll now assume that the node has unpublished at its
    end. If it hasn't, any controller unpublish will potentially hang or
    error and need to be retried.
    tgross committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9de444e View commit details
    Browse the repository at this point in the history