Skip to content

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

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Compute - VMMgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions