-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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: retry detach azure disk issue #78700
fix: retry detach azure disk issue #78700
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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fix gofmt issue
655dd8b
to
91f97d2
Compare
I deployed a build of |
I managed to reproduce and the backoff was not canceled this time 👍 However delays are still extremely long:
@andyzhangx is it worth opening a separate issue to discuss that? controller-manager logs:
|
@antoineco It looks like after retry detach back off(although it still failed with time out), the attach disk operation could proceed, no need to do manual vm update now, right? 15min is long, while currently I have no idea what's the reasonable num for such timeout value. |
Right, no need for a manual VMSS update. |
@antoineco after confirmation from azure compute team, the default 15min timeout value is short enough, we should not shorten that timeout value, if there is lots of such timeout issues, I think you may file an azure support ticket to find the root cause or mitigate, thanks. |
Will do, thank you for asking. |
/lgtm Added to v1.15 milestone since it's a critical bug fix. |
/priority critical-urgent |
…8700-upstream-release-1.14 Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
…8700-upstream-release-1.13 Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
…8700-upstream-release-1.12 Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
What type of PR is this?
/kind bug
What this PR does / why we need it:
When got <200, error> after detach disk operation, #78298 would retry detach disk, while it actually would not succeed since the "detaching" disk would not be in returned data disk list, this PR would try to only update vm if detach a non-existing disk.
Which issue(s) this PR fixes:
Fixes #78660
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
/kind bug
/priority important-soon
/sig azure
@antoineco could you try this patch if possible, thanks.