-
Notifications
You must be signed in to change notification settings - Fork 42.1k
fix azure disk attach/detach failed forever issue #71377
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
fix azure disk attach/detach failed forever issue #71377
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@feiskyer can you mark this PR as important, thanks. |
|
/priority critical-urgent Marked as v1.13 milestone since this is a critical urgent bug fix. |
feiskyer
left a comment
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.
/lgtm
|
/test pull-kubernetes-integration |
1 similar comment
|
/test pull-kubernetes-integration |
…1377-upstream-release-1.10 Automated cherry pick of #71377: should return error when attach/detach failed
…1377-upstream-release-1.12 Automated cherry pick of #71377: should return error when attach/detach failed
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix azure disk attach/detach failed forever issue
#70568 removes the retry operation of azure disk attach/detach, while it introduces a bug which could make azure disk attach/detach failed forever issue if first attach/detach failed
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #71344
Special notes for your reviewer:
In original code,
AttachandDetachfunction will always return nil no matter that attach/detach operation failed or not. It's a not-easy-to-find bug in code review...Release note:
/sig azure
/assign @feiskyer
@brendandburns @khenidak
cc @antoineco