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

az vm repair create can fail due to policy restrictions #7907

Open
pagienge opened this issue Aug 23, 2024 · 5 comments
Open

az vm repair create can fail due to policy restrictions #7907

pagienge opened this issue Aug 23, 2024 · 5 comments
Assignees
Labels
Auto-Assign Auto assign by bot Compute extension/vm-repair feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@pagienge
Copy link

Describe the bug

It appears that the default repair VM config uses premium SSD disks, with no way to alter this. In scenarios where an organization has put restrictions on potentially costly infrastructure, such as premium ssd, 'az vm repair create' can fail in ways that cannot be mitigated.

Related command

az vm repair create -n rhel9an -g litterbox

Errors

Do not have the call trace / error as this was during SR troubleshooting, but it was clear that policy was restricting the creation of the VM.

Issue script & Debug output

not available

Expected behavior

Would have preferred the default repair VM config to be using the least costly disk available, perhaps with an option to create higher tier disks if desired, much like public IPs can be optional.

Environment Summary

{
"experimental": false,
"extensionType": "whl",
"name": "vm-repair",
"path": "/home/pagienge/.azure/cliextensions/vm-repair",
"preview": false,
"version": "1.0.8"
}

Additional context

Premium disks may be more useful for Windows nested Hyper-V scenarios, but for Linux there is no gain from premium disk in the repair VM.

We are also using 'az vm repair' with ALAR in 'fixit' buttons in the Azure portal, this is one failure mode that could be disruptive in these automated use-cases.

@pagienge pagienge added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Aug 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 23, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Aug 23, 2024

Thank you for opening this issue, we will look into it.

@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. Azure CLI Team The command of the issue is owned by Azure CLI team labels Aug 23, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan.

@TravisCragg-MSFT TravisCragg-MSFT added feature-request This issue requires a new behavior in the product in order be resolved. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 29, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan.

@TravisCragg-MSFT
Copy link
Member

@pagienge Thanks for the feedback! We are currently assessing this for our roadmap going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Compute extension/vm-repair feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants