You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,14 +17,14 @@ ms.custom: sap:Received an Allocation Failure
17
17
18
18
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs
19
19
20
-
When you create a virtual machine (VM), start any stopped (deallocated) VMs, or resize a VM, Microsoft Azure allocates compute resources to your subscription. We are continually investing in additional infrastructure and features to make sure that we always have all VM types available to support customer demand. However, you may occasionally experience resource allocation failures because of unprecedented growth in demand for Azure services in specific regions. This problem can occur when you try to create, start, or resize VMs in a region while the VMs might display an error code and message like the following text:
20
+
When you create a virtual machine (VM), start any stopped (deallocated) VMs, or resize a VM, Microsoft Azure allocates compute resources to your subscription. We are continually investing in additional infrastructure and features to make sure that we always have all VM types available to support customer demand. However, you might occasionally experience resource allocation failures because of unprecedented growth in demand for Azure services in specific regions. This problem can occur when you try to create, start, or resize VMs in a region while the VMs might display an error code and message like the following text:
21
21
22
22
> **Error code**: AllocationFailed or ZonalAllocationFailed
23
23
>
24
24
> **Error message**: "Allocation failed. We do not have sufficient capacity for the requested VM size in this region. Read more about improving likelihood of allocation success at https:\//aka.ms/allocation-guidance"
25
25
>
26
26
27
-
Alternative recommendation: When you receive an alternative recommendation, it means that the VM size you requested is not currently available in the selected region or zone. To increase your chances of successfully allocating a virtual machine, you can select one of the alternative options. Simply apply the changes to your VM input selection or [resize](/azure/virtual-machines/sizes/resize-vm) the currently existing VM with the desired option and try to start or create the VM again
27
+
Alternative recommendation: When you receive an alternative recommendation, it means that the VM size you requested is not currently available in the selected region or zone. To increase your chances of successfully allocating a virtual machine, you can select one of the alternative options. Simply apply the changes to your VM input selection or [resize](/azure/virtual-machines/sizes/resize-vm) the currently existing VM with the desired option and try to start or create the VM again.
28
28
29
29
For example, try one of these alternative options to improve the chance of allocation success:
30
30
@@ -52,7 +52,7 @@ If you have a standalone VM in Azure, meaning it's not part of an availability s
52
52
53
53
### Workarounds
54
54
55
-
To work around this issue, use one of the following method:
55
+
To work around this issue, use one of the following methods:
56
56
57
57
- Retry the allocation
58
58
@@ -68,7 +68,7 @@ To work around this issue, use one of the following method:
68
68
## Resize a VM, add VMs, or start partially stopped (deallocated) VMs, to an existing availability set
69
69
70
70
> [!NOTE]
71
-
> A VM can only be added to an availability set during creation. To add an existing VM to an availability set, or change a VM's availability set, the VM must be deleted and recreated. For more information, see [Change the availability set for a VM by using Azure PowerShell](/azure/virtual-machines/windows/change-availability-set).
71
+
> A VM can only be added to an availability set during creation. To add an existing VM to an availability set, or change a VM's availability set, the VM must be deleted and re-created. For more information, see [Change the availability set for a VM by using Azure PowerShell](/azure/virtual-machines/windows/change-availability-set).
72
72
73
73
### Cause
74
74
@@ -84,7 +84,7 @@ To work around this issue, use one of the following methods:
84
84
85
85
- Consider resizing the VM to a different size that might have more availability in the region or zone. To ensure that the VM sizes are supported in your availability set, use [availability sets - List Available Sizes - REST API](/troubleshoot/azure/virtual-machines/windows/virtual-machines-availability-set-supportability).
86
86
87
-
- Stop (deallocate) all VMs in the same availability set, then start all applicable VMs in a batch to allow the allocation from all available clusters, rather than just the cluster where the availability set is currently allocated.
87
+
- Stop (deallocate) all VMs in the same availability set, and then start all applicable VMs in a batch to allow the allocation from all available clusters, rather than just the cluster where the availability set is currently allocated.
88
88
89
89
To stop all the VMs in the availability set, follow these steps:
90
90
@@ -138,9 +138,9 @@ To work around this issue, use one of the following methods:
138
138
139
139
- Change the region or zone
140
140
141
-
If the current region or zone is experiencing high demand, try deploying or migrating the VMs to a different region or availability zone where their might be more capacity. The region or zone can be changed with the following methods:
141
+
If the current region or zone is experiencing high demand, try deploying or migrating the VMs to a different region or availability zone where there might be more capacity. The region or zone can be changed with the following methods:
142
142
143
-
- Create a new VM, using a copy of the OS disk, in a different zone or without the zonal constraint. Removing the zonal constraint will expand the allocation options to the entire region, rather than limiting them to a single zone.
143
+
- Create a new VM, using a copy of the OS disk, in a different zone or without the zonal constraint. Removing the zonal constraint expands the allocation options to the entire region, rather than limiting them to a single zone.
144
144
145
145
For more information, see the following articles:
146
146
@@ -154,7 +154,7 @@ To work around this issue, use one of the following methods:
154
154
155
155
### Cause
156
156
157
-
When the Azure Compute platform can't allocate a VM to meet the required constraints specified in the request, overconstrained allocation failures occur. These failures typically happens when specific requirements can’t be met within the available resources. They are often indicated by errors like `OverconstrainedZonalAllocationRequest` or `OverconstrainedAllocationRequest`.
157
+
When the Azure Compute platform can't allocate a VM to meet the required constraints specified in the request, overconstrained allocation failures occur. These failures typically happen when specific requirements can’t be met within the available resources. They are often indicated by errors like `OverconstrainedZonalAllocationRequest` or `OverconstrainedAllocationRequest`.
158
158
159
159
These constraints usually (but not always) include the following items:
160
160
@@ -179,9 +179,9 @@ To work around this issue, use one of the following methods:
179
179
180
180
- Change the region or zone
181
181
182
-
If the current region or zone is experiencing high demand, try deploying or migrating the VMs to a different region or availability zone where their might be more capacity. The region or zone can be changed with the following methods:
182
+
If the current region or zone is experiencing high demand, try deploying or migrating the VMs to a different region or availability zone where there might be more capacity. The region or zone can be changed with the following methods:
183
183
184
-
- Create a new VM, using a copy of the OS disk, in a different zone or without the zonal constraint. Removing the zonal constraint will expand the allocation options to the entire region, rather than limiting them to a single zone.
184
+
- Create a new VM, using a copy of the OS disk, in a different zone or without the zonal constraint. Removing the zonal constraint expands the allocation options to the entire region, rather than limiting them to a single zone.
185
185
186
186
For more information, see the following articles:
187
187
@@ -190,26 +190,26 @@ To work around this issue, use one of the following methods:
190
190
191
191
- Migrate or create the VM in a different region. For more information, see [Move Azure VMs across regions](/azure/resource-mover/tutorial-move-region-virtual-machines).
192
192
193
-
- Adjust constraints that could limit the allocation: There might be sufficient availability for the VM SKU in the zone, however, the defined constraints might prevent allocation. To increase the likelihood of successful allocation, consider adjusting the constraints by:
193
+
- Adjust constraints that could limit the allocation: There might be sufficient availability for the VM SKU in the zone. However, the defined constraints might prevent allocation. To increase the likelihood of successful allocation, consider adjusting the constraints by:
194
194
- Disabling accelerated networking.
195
195
- Removing the VM from any proximity placement group.
196
-
-Remove any UltraSSD or PemiumSSDv2 disks.
196
+
-Removing any UltraSSD or PemiumSSDv2 disks.
197
197
198
198
## Allocation failures for VMs using proximity placement groups
199
199
200
200
Proximity Placement Groups ensure that resources are collocated within the same data center to reduce latency. However, the added deployment constraint can sometimes result in allocation failures. For more information and best practices, see [Proximity Placement Groups](/azure/virtual-machines/co-location).
201
201
202
202
### Cause
203
203
204
-
When you request to start or allocate the first VM in a proximity placement group, the data center is selected automatically. If the required VM size is unavailable in that data center, the request will fail. In scenarios with elastic workloads, where VM instances are added or removed dynamically, enforcing a proximity placement group constraint can lead to an allocation failure, indicating that the allocation request could not be completed.
204
+
When you request to start or allocate the first VM in a proximity placement group, the data center is selected automatically. If the required VM size is unavailable in that data center, the request fails. In scenarios with elastic workloads where VM instances are added or removed dynamically, enforcing a proximity placement group constraint can lead to an allocation failure, indicating that the allocation request could not be completed.
205
205
206
206
### Workaround
207
207
208
208
Deallocate all VMs in the proximity placement group and try changing the order in which you start your VMs. Starting your VMs with the most restrictive SKU first can increase the chances of successful allocations.
209
209
210
210
## Allocation failures for older VM sizes (Av1, Dv1, DSv1, D15v2, DS15v2, etc.)
211
211
212
-
As we expand Azure infrastructure, we deploy newer-generation hardware that's designed to support the latest virtual machine types. Some of the older series VMs do not run on our latest generation infrastructure. For this reason, customers may occasionally experience allocation failures for these legacy SKUs. To avoid this problem, we encourage customers who are using legacy series virtual machines to consider moving to the equivalent newer VMs per the following recommendations. These VMs are optimized for the latest hardware and will let you take advantage of better pricing and performance.
212
+
As we expand Azure infrastructure, we deploy newer-generation hardware that's designed to support the latest virtual machine types. Some of the older series VMs do not run on our latest generation infrastructure. For this reason, customers might occasionally experience allocation failures for these legacy SKUs. To avoid this problem, we encourage customers who are using legacy series virtual machines to consider moving to the equivalent newer VMs per the following recommendations. These VMs are optimized for the latest hardware and enable you to take advantage of better pricing and performance.
@@ -226,14 +226,14 @@ Reduce the number of instances of the requested VM size, and then retry the depl
226
226
227
227
### How allocation works
228
228
229
-
The servers in Azure datacenters are partitioned into clusters. Normally, an allocation request is attempted in multiple clusters, but it's possible that certain constraints (such as VM size, Ultra SSD, and proximity placement groups) from the allocation request force the Azure platform to attempt the request in only one cluster. Diagram 1 below illustrates the case of a normal allocation that is attempted in multiple clusters.
229
+
The servers in Azure datacenters are partitioned into clusters. Normally, an allocation request is attempted in multiple clusters, but it's possible that certain constraints (such as VM size, Ultra SSD, and proximity placement groups) from the allocation request force the Azure platform to attempt the request in only one cluster. The following Diagram 1 illustrates the case of a normal allocation that's attempted in multiple clusters.
:::image type="content" source="media/virtual-machines-common-allocation-failure/how-allocation-works.svg" alt-text="Screenshot of Diagram 1 showing allocation attempted in multiple clusters." lightbox="media/virtual-machines-common-allocation-failure/how-allocation-works.svg":::
232
232
233
233
### Why allocation failures happen
234
234
235
-
When an allocation has a high number of restrictions, there's a higher chance of failing to find free resources since the available resource pool is smaller. Furthermore, if your allocation request is restricted, such as when using proximity placement groups but the type of resource you requested isn’t supported by the set of clusters and nearby ones, your request will fail even if the cluster has free resources. The following Diagram 2 illustrates the case where an allocation fails because the candidate clusters associated with the proximity placement group don't have free resources. Diagram 3 illustrates the case where an allocation fails because the candidate clusters associated with the proximity placement group don’t support the requested VM size, even though the clusters have free resources.
235
+
When an allocation has a large number of restrictions, there's a higher chance of failing to find free resources since the available resource pool is smaller. Furthermore, if your allocation request is restricted, such as when using proximity placement groups but the type of resource you requested isn’t supported by the set of clusters and nearby ones, your request fails even if the cluster has free resources. The following Diagram 2 illustrates the case where an allocation fails because the candidate clusters associated with the proximity placement group don't have free resources. Diagram 3 illustrates the case where an allocation fails because the candidate clusters associated with the proximity placement group don’t support the requested VM size, even though the clusters have free resources.
236
236
237
-
:::image type="content" source="media/virtual-machines-common-allocation-failure/allocation-failures-ppg.svg" alt-text="Diagram 2 shows allocation failed with no free resource available and Diagram 3 shows allocation failed with size not supported." lightbox="media/virtual-machines-common-allocation-failure/allocation-failures-ppg.svg":::
237
+
:::image type="content" source="media/virtual-machines-common-allocation-failure/allocation-failures-ppg.svg" alt-text="Screenshot of Diagram 2 showing allocation failed with no free resource available and Diagram 3 showing allocation failed with size not supported." lightbox="media/virtual-machines-common-allocation-failure/allocation-failures-ppg.svg":::
238
238
239
239
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments