Container Instances stuck in "Waiting" state Production

Stephen.Hoey 25 Reputation points
2023-03-16T08:19:03.1633333+00:00

A number of our containers have restarted over night and are now in waiting state it seems they are not able to pull the images and restart this has not happened before and the containers would restart without a problem and pull the images. These are our production environments and this now affects our SLA.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
667 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Ammar-Abdelqader01 1,006 Reputation points Microsoft Employee
    2023-03-16T08:43:15.7266667+00:00

    hello @Stephen.Hoey

    Thanks for reaching out and I hope you are doing well.

    sorry to hear that the containers restarted and it's still in a waiting state.

    could you please Retrieve container logs and events, follow the steps from this link: https://video2.skills-academy.com/en-us/azure/container-instances/container-instances-get-logs

    in the meantime, to help resolve this issue, your container instances are stuck in the "waiting state" to stop those containers and then start the containers again and check if the issue resolved.

    check this link to stop and start containers or use the azure portal.

    waiting for your feedback,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well. Feel free to reply with any other questions or concerns.

    2 people found this answer helpful.

  2. Gaston Muijtjens 5 Reputation points
    2023-03-16T11:59:24.7666667+00:00

    We were having exactly the same issue this morning on three separate subscriptions simultaneously. It caused an outage for some of our customer apps in production. Logs were not accessible from the Portal (stuck on loading) and the Azure CLI command returned the following error:

    
    az container logs --resource-group <rg_name> --name <name>
    
    
    
    (InternalServerError) Encountered an internal server error. The tracking activity id is '<id>', correlation id is '<id>'.
    
    Code: InternalServerError
    
    Message: Encountered an internal server error. The tracking activity id is '<id>', correlation id is '<id>'.
    
    

    Restarting the Azure Container Instance resolved the issues for us. There are no visible messages in Azure Service Health or the Azure Status page.

    1 person found this answer helpful.
    0 comments No comments

  3. E.G 0 Reputation points
    2023-03-16T13:07:47.9+00:00

    Hello,

    We are experiencing the same issue, all instance containers are currently stuck in a waiting state. This issue is affecting various subscriptions and accounts within our infrastructure.

    As you can imagine, this problem has severe consequences for our operations, particularly since some of the affected containers are in production environments. We first noticed this problem early this morning.

    In light of the situation, we would greatly appreciate your prompt attention to this issue. We believe this issue is impacting a significant portion, if not all, of the infrastructure related to Azure container instances.

    We appreciate your prompt assistance in resolving this matter.

    Thank you.


  4. Praveen Mishra (debug) 0 Reputation points
    2024-03-01T19:24:59.42+00:00

    Hi Team, Do we have fix for above issue. Container going in 'waiting' state at every 10 seconds.

    User's image


  5. Javier Americo Bullon Tenorio 0 Reputation points
    2024-06-20T03:46:53.3+00:00

    Same issue for me, any solution? Thanks.Error

    0 comments No comments