-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature Request: Provide ARM VM support for vm-repair extension #5826
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
route to CXP team |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv, @Vaibhav-Agar, @amjads1. Issue DetailsExtension name (the extension in question)vm-repair Description of issue (in as much detail as possible)In order to use the 'vm repair' extension to work with ARM based VMs the extension needs to create the right recovery VM. ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "BadRequest",\r\n "message": "Cannot create a VM of size 'Standard_D2pls_v5' because this VM size only supports a CPU Architecture of 'Arm64', but an image or disk with CPU Architecture 'x64' was given. Please check that the CPU Architecture of the image or disk is compatible with that of the VM size."\r\n }\r\n}"}]}}
|
Adding service team to look into this ask. @Drewm3, @avirishuv, @Vaibhav-Agar, @amjads1 Could you please look into this once you get a chance ? Thanks in advance. |
Moving this to myself to find the right current owner of the VM Repair tool. |
Updating to the tool owner |
What is the progress on this feature requests? ARM64 support is a feature which also benefits our self-service capabilities |
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. |
@malachma We are currently assessing this as a feature request and will post an update when we can. |
This issue was previously resolved and should be available in recent versions of Azure CLI. |
I'm not able to confirm that this is solved. You just have created a new issue by not testing this new feature correctly. Creating an ARM64 recover VM throws the following error for a 'Standard Security' enabled VM { |
Hi @malachma this is a known issue in underlying CLI, we will create a bug to resolve this. Azure/azure-cli#27975 |
@malachma , you can ping Haider for more info about testing the current fix for this issue. What is your repro? I tried to create a repair vm from an ARM64 vm and setting the repair vm explicitly to an arm64 image, but the repair vm was made successfully. Checking for existing resource groups with identical name within subscription... Copying OS disk of source VM... Your repair VM 'repair-vm64std_' has been created in the resource group 'repair-vm64std-XXXXX' with disk 'vm64std-DiskCopy-XXXXX' attached as data disk. Please use this VM to troubleshoot and repair. Once the repairs are complete use the command 'az vm repair restore -n vm64std -g XXXXX --verbose' to restore disk to the source VM. Note that the copied disk is created within the original resource group 'XXXXX'. |
Thanks Haider :-) |
Extension name (the extension in question)
vm-repair
Description of issue (in as much detail as possible)
In order to use the 'vm repair' extension to work with ARM based VMs the extension needs to create the right recovery VM.
At the moment ARM based VMS aren't supported. At creation time the following error is raised
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "BadRequest",\r\n "message": "Cannot create a VM of size 'Standard_D2pls_v5' because this VM size only supports a CPU Architecture of 'Arm64', but an image or disk with CPU Architecture 'x64' was given. Please check that the CPU Architecture of the image or disk is compatible with that of the VM size."\r\n }\r\n}"}]}}
The text was updated successfully, but these errors were encountered: