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: prevent in-use plugin GC from blocking volume GC #9141

Merged
merged 1 commit into from
Oct 21, 2020

Commits on Oct 21, 2020

  1. csi: prevent in-use plugin GC from blocking volume GC

    During CSI plugin GC, we don't return an error if the volume is in use,
    because this is not an error condition. If we were to return an error during a
    `nomad system gc`, we would not continue on to GC volumes.
    
    But check for the specific error message fails if the GC is performed on a
    worker rather than on the leader, due to RPC forwarding wrapping the error
    message. Use a less specific test so that we don't return an error.
    tgross committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    9a56cf5 View commit details
    Browse the repository at this point in the history