Skip to content

Commit 54f3420

Browse files
Merge pull request #10271 from ryanberg-aquent/CI-8479
AB#8479: ACI - Update to an existing TSG - Container group deployment remains in Waiting state
2 parents 8b5a78d + 7183534 commit 54f3420

1 file changed

Lines changed: 21 additions & 7 deletions

File tree

support/azure/azure-container-instances/configuration-setup/container-group-deployment-waiting-state.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,43 @@ ms.custom: sap:Configuration and Setup
1212
---
1313
# Container group deployment remains in Waiting state
1414

15-
This article discusses how to resolve a scenario in Microsoft Azure Container Instances in which a container group is unresponsive and doesn't exit the "Waiting" state.
15+
This article discusses possible causes and how to resolve an unresponsive deployment which doesn't exit the Waiting state.
1616

1717
## Symptoms
1818

19-
When you try to deploy an image through a virtual network onto a private container instance, the deployment times out after 30 minutes and fails. Additionally, the container group deployment state is shown as **Waiting** in the Azure portal.
19+
When you try to deploy a container group, the deployment times out after 30 minutes and fails. Additionally, the container state is shown as **Waiting**.
2020

2121
## Cause
2222

23-
Your firewall blocks access to port 19390. When container groups are deployed in virtual networks, port 19390 is required to connect to Container Instances from the Azure portal.
23+
The Waiting state indicates there's a condition preventing deployment setup or container start. The most likely root causes include:
24+
25+
- The container main process won't start or crashes.
26+
- The container is using reserved ports.
27+
- The container group has an Azure file share volume and it's failing to mount.
28+
- There's subnet IP exhaustion (like bring your own virtual network (BYOVNET)).
29+
- There are capacity issues.
2430

2531
## Solution
2632

27-
Expand the Classless Inter-Domain Routing (CIDR) address range of the subnet by specifying a network mask of `/24` or smaller.
33+
Possible solutions include:
2834

29-
Make sure to check the [reserved ports for ACI service functionality](/azure/container-instances/container-instances-faq#does-the-aci-service-reserve-ports-for-service-functionality-) and [other limitations](/azure/container-instances/container-instances-virtual-network-concepts#other-limitations).
35+
- Check that the container runs fine locally. A local machine with Docker can be used to do this.
36+
- Inspect possible errors on the **Container Events** tab starting with the main container process.
37+
- Make sure no reserved ports are being used in the container definition. For more information, see [Does the ACI service reserve ports for service functionality?](/azure/container-instances/container-instances-faq#does-the-aci-service-reserve-ports-for-service-functionality-).
38+
- Check that there's connectivity to the Azure file share and that the key is correct or valid. If deployment is on BYOVNET, check that DNS resolution is working for the Azure file share fully qualified domain name (FQDN).
39+
- Check Azure file share volume [limitations](/azure/container-instances/container-instances-volume-azure-files#limitations) for Azure Container Instances (ACI). Using a private endpoint to connect to an Azure file share hasn't been tested and might not be reliable. Instead, use a subnet service endpoint for private connectivity as recommended in documentation.
40+
- Change the subnet network mask. ACI keeps its own IP mapping internally and at ARM level all IPs always show as available. Depending on the frequency of deployments or restarts, subnet IP exhaustion errors can happen because internal mapping isn't updated in time. To avoid this issue, we recommend using a subnet network mask of `/24` or greater.
41+
- Attempt the deployment with less resource requests or in another region to confirm possible capacity issues.
3042

3143
> [!NOTE]
32-
> We don't recommend using small subnets to work around unsupported scenarios (such as simulating a fixed IP address for a private container instance by restricting DHCP to only a few IPs).
44+
> We don't recommend using subnets smaller than `/24` to work around unsupported scenarios (like simulating a fixed IP address by restricting the Dynamic Host Configuration Protocol (DHCP) to only a few IPs) as this can cause failed deployments or failed start operations due to subnet full errors.
3345
34-
## More information
46+
## Resources
3547

3648
- [Tutorial: Deploy a multi-container group using a Resource Manager template](/azure/container-instances/container-instances-multi-container-group)
3749

3850
- [Azure Container Instances states](/azure/container-instances/container-state)
3951

4052
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
53+
54+
[!INCLUDE [Third-party contact disclaimer](~/includes/third-party-contact-disclaimer.md)]

0 commit comments

Comments
 (0)