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

[BUG] [Virtual machine] Error occurred with Arm64-based VMs has little error message returned when trying to assess patches on the VM #31144

Open
ChenxiJiang333 opened this issue Oct 22, 2024 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Compute - VM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@ChenxiJiang333
Copy link
Member

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachine.json#L1827

API Spec version

2024-07-01

Describe the bug

Operation VirtualMachines_AssessPatches failed when the VM's architecture is Arm64, and the error message returned by REST API was not enough to describe the issue.

{

  "startTime": "2024-10-22T06:44:16.3486511+00:00",

  "endTime": "2024-10-22T06:44:34.6455815+00:00",

  "status": "Failed",

  "error": {

    "code": "VMGuestPatchInternalError",

    "message": "An internal execution error occurred. Please retry later."

  },

  "name": "xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

}

Yet from kusto query, we can get more detailed exception message:
Image

Expected behavior

We can get more detailed exception message from REST API like it shows in the kusto.

Actual behavior

REST API only returns message: An internal execution error occurred. Please retry later.

Reproduction Steps

  1. Create an Arm64-based VM resource.
  2. Call API: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/assess-patches?view=rest-compute-2024-07-01&tabs=HTTP

Environment

No response

@ChenxiJiang333 ChenxiJiang333 added bug This issue requires a change to an existing behavior in the product in order to be resolved. Compute - VM customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention Mgmt This issue is related to a management-plane library. labels Oct 22, 2024
@ChenxiJiang333 ChenxiJiang333 added the Service Attention Workflow: This issue is responsible by Azure service team. label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Compute - VM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants