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
Copy file name to clipboardExpand all lines: support/azure/azure-container-instances/configuration-setup/container-group-deployment-waiting-state.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,29 +12,43 @@ ms.custom: sap:Configuration and Setup
12
12
---
13
13
# Container group deployment remains in Waiting state
14
14
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.
16
16
17
17
## Symptoms
18
18
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**.
20
20
21
21
## Cause
22
22
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.
24
30
25
31
## Solution
26
32
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:
28
34
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.
30
42
31
43
> [!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.
33
45
34
-
## More information
46
+
## Resources
35
47
36
48
-[Tutorial: Deploy a multi-container group using a Resource Manager template](/azure/container-instances/container-instances-multi-container-group)
0 commit comments