waiting for creation of Linux Virtual Machine

Harsha 0 Reputation points
2024-04-16T09:34:40.4333333+00:00

│ Error: waiting for creation of Linux Virtual Machine: (Name "XXX" / Resource Group "XXXX-dev-000"): Code="OverconstrainedAllocationRequest" Message="Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:\n - Networking Constraints (such as Accelerated Networking or IPv6)\n - VM Size\n - Proximity Placement Group\n" │ │ with module.XXX.azurerm_linux_virtual_machine.vm, │ on .terraform\modules\vm_ledacmxb113\main.tf line 1, in resource "azurerm_linux_virtual_machine" "vm": │ 1: resource "azurerm_linux_virtual_machine" "vm" {<!-- -->

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,144 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 24,206 Reputation points Microsoft Employee
    2024-04-16T13:56:13.3566667+00:00

    Hello Harsha

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    It looks like there was an error while creating the Linux virtual machine. The error message indicates that the VM allocation failed because the constraints applied were too restrictive. The constraints that were applied include networking constraints, VM size, and proximity placement group.

    To resolve this issue, you can try removing some of the constraints and try again. For example, you can try creating the VM without the proximity placement group or with a different VM size. You can also check if there are any networking constraints that are causing the issue and try removing them.

    Hope this helps.

    0 comments No comments