-
Notifications
You must be signed in to change notification settings - Fork 42.1k
fix issue: vm sku restriction policy does not work in azure disk attach/detach #71941
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 issue: vm sku restriction policy does not work in azure disk attach/detach #71941
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
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
/priority important-soon
|
Should it be also cherry-picked to old releases? |
|
/retest |
…1941-upstream-release-1.13 Automated cherry pick of #71941: add VMSize info in attach/detach azure disk
…1941-upstream-release-1.11 Automated cherry pick of #71941: add VMSize info in attach/detach azure disk
…1941-upstream-release-1.12 Automated cherry pick of #71941: add VMSize info in attach/detach azure disk
What type of PR is this?
/kind bug
What this PR does / why we need it:
add VMSize info in attach/detach azure disk to fix issue
vm sku restriction policy does not work in azure disk attach/detachPls note that only VM Availability Set has this issue, vmss won’t have this issue.
Which issue(s) this PR fixes:
Fixes #71940
Special notes for your reviewer:
vm.HardwareProfilehas onlyVMSizeinfo, it should be included in the VM update operation, otherwise if user applies vm sku restriction policy, azure disk attach/detach will always fail since there is noVMSizeinfo in the operation.Does this PR introduce a user-facing change?:
Release note:
/sig azure
/assign @feiskyer