Fail to deploy 3rd VM in VMSS

Mateusz Domański 20 Reputation points
2024-05-14T21:29:47.9266667+00:00

Hello!

I have a VMSS with auto-scale policy to deploy new VM when average CPU is over 80% for 5 minutes

Initial and Minimum instance count is 1 maximum is 3

It deploys second machine with no issues but no matter how many times I tried it gives an error when trying to deploy 3rd one. Attaching error below

Error code: ResourceOperationFailure

Message: The resource operation completed with terminal provisioning state 'Failed'.

Also on the ALL VMSS screen I see information that this VMSS has 3 instances but when going into INSTANCES tab I only see two

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,120 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.
417 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-05-15T05:35:06.85+00:00

    Hello Mateusz Domański,

    Welcome to microsoft Q&A, thankyou for posting your query here.

    Check if there is sufficient IP address space available in the subnet associated with your VMSS.If the subnet is running out of available IP addresses, the third VM would not be able to provision correctly.

    Check if the configuration of your VMSS regarding fault domains and update domains could be affecting the provisioning.

    Verify that the health probes are responding correctly. If a probe fails consistently, it might prevent scale-out operations.

    Hope this helps you.

    0 comments No comments

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.