-
Notifications
You must be signed in to change notification settings - Fork 332
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
[1.1] Cherry pick: Retry provisioning of volumes after transient error #320
Conversation
The provisioner should retry CreateVolume call after a transient error (such as timeout), because the CSI driver may be creating a volume in the background. Therefore ProvisionerExt interface need to be implemented. ProvisionExt() returns: - Finished, if it can be 100% sure that the driver is not creating a volume - NoChange, if something (temporarily?) failed before reaching the CSI driver, for example when Kubernetes API server is not reachable. - InBackground, if error returned by the driver (or gRPC) is transient.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jsafrane: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Looks like we need to update release tools for 1.1 branch like #315 |
Isn't the release-1.1 branch unmaintained now because we don't need that version of the external-provisioner for anything? At least that's what I thought and therefore I hadn't created a csi-release-tools PR for that branch. According to https://kubernetes-csi.github.io/docs/external-provisioner.html we currently need release-1.0 (for Kubernetes 1.13), release-1.2 (for 1.14) and release-1.3 (for 1.15). |
Sorry for the noise |
@jsafrane: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Just for the reference, there is no |
This is cherry-pick of #312 into 1.1
The provisioner should retry CreateVolume call after a transient error
(such as timeout), because the CSI driver may be creating a volume in the
background.
Therefore ProvisionerExt interface need to be implemented. ProvisionExt()
returns:
driver, for example when Kubernetes API server is not reachable.