Not able to resize vmss, are there possible work arrounds or what would be the way to fix the azure 500 response.

Brian Alkema 20 Reputation points
2023-08-29T13:37:05.2033333+00:00

We are trying to manually update the size of our VMSS. What is suggested online is going to the VMSS page and resize on the size page. What currently happens is that when the resize button is pressed we get a 500 internal server error from azure. We are not able to find a workaround for this VMSS scaling issue.

The error code we get is "InternalOperationError" with json content as:

"properties": {
        "statusCode": "InternalServerError",
        "serviceRequestId": null,
        "statusMessage": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "responseBody": "{\"error\":{\"code\":\"InternalOperationError\",\"message\":\"An internal error occurred in the operation.\"}}",
        "eventCategory": "Administrative",
        "entity": "-------------",
        "message": "Microsoft.Compute/virtualMachineScaleSets/write",
        "hierarchy": "---------------------"
    }

Does anyone have the same problem and if so, what is their workaround?

Thanks in advance.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,789 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
444 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,366 Reputation points Microsoft Employee Moderator
    2023-08-29T22:12:20.41+00:00

    Hello Brian Alkema,

    Are you still facing the error ? In the detailed logs there will be a correlationID - can you please pass on that ID?

    Can you retry resize operation using az cli , if it fails it will give detailed information of why it is failing?

    az vmss update --name vmssname --resource-group rgname --vm-sku skuname

    Is this VMSS part of Azure Kubernetes Service ? If yes - kindly don't perform any operations from VMSS end .

    Regards,

    Shiva.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.