Deployment failed

Supratim Pal 0 Reputation points
2024-04-25T17:41:57.8533333+00:00

Hi Team,

I am practicing an Exercise - Explore Automated Machine Learning in Azure Machine Learning studio. While performing the deployment activity I can see the Deployment status got failed due to container application crashed. So need help on this to fix. Here are the log:

  • Your container application crashed. This may be caused by errors in your scoring file's init() function. 1. Please check the logs for your container instance: predict-rentals1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. 2. You can interactively debug your scoring file locally. Please refer to https://docs.microsoft.com/azure/machine-learning/how-to-debug-visual-studio-code#debug-and-troubleshoot-deployments for more information. 3. You can also try to run image mcr.microsoft.com/azureml/curated/azureml-automl:167 locally. Please refer to https://aka.ms/debugimage#service-launch-fails for more information.
  • Your container application crashed. Please follow the steps to debug: 1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. Please refer to https://aka.ms/debugimage#dockerlog for more information. 2. If your container application crashed. This may be caused by errors in your scoring file's init() function. You can try debugging locally first. Please refer to https://aka.ms/debugimage#debug-locally for more information. 3. You can also interactively debug your scoring file locally. Please refer to https://docs.microsoft.com/azure/machine-learning/how-to-debug-visual-studio-code#debug-and-troubleshoot-deployments for more information. 4. View the diagnostic events to check status of container, it may help you to debug the issue. "RestartCount": 3 "CurrentState": {"state":"Waiting","startTime":null,"exitCode":null,"finishTime":null,"detailStatus":"CrashLoopBackOff: Back-off restarting failed"} "PreviousState": {"state":"Terminated","startTime":"2024-04-25T17:36:42.015Z","exitCode":111,"finishTime":"2024-04-25T17:36:55.345Z","detailStatus":"Error"} "Events": {"count":1,"firstTimestamp":"2024-04-25T17:31:04Z","lastTimestamp":"2024-04-25T17:31:04Z","name":"Pulling","message":"pulling image "mcr.microsoft.com/azureml/curated/azureml-automl@sha256:ee1873652996506b4dd10034b5bd955f95a4a778020a15fee700295dd9f97d82"","type":"Normal"} {"count":1,"firstTimestamp":"2024-04-25T17:34:31Z","lastTimestamp":"2024-04-25T17:34:31Z","name":"Pulled","message":"Successfully pulled image "mcr.microsoft.com/azureml/curated/azureml-automl@sha256:ee1873652996506b4dd10034b5bd955f95a4a778020a15fee700295dd9f97d82"","type":"Normal"} {"count":4,"firstTimestamp":"2024-04-25T17:34:54Z","lastTimestamp":"2024-04-25T17:36:42Z","name":"Started","message":"Started container","type":"Normal"} {"count":3,"firstTimestamp":"2024-04-25T17:35:06Z","lastTimestamp":"2024-04-25T17:36:10Z","name":"Killing","message":"Killing container with id 9607e6b31b9a0a6da8f8b8ba848621f83ef6e4bcd6df813805b13194557faad6.","type":"Normal"}

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
944 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rakesh Gurram 2,920 Reputation points Microsoft Vendor
    2024-04-26T07:38:16.7333333+00:00

    Hi Supratim Pal,

    From your Question we understood that you are in this Exercise: Exercise - Explore Automated Machine Learning in Azure Machine LearningWe have completed the exercise successfully from our side without any issues as shown:

    Bike 1

    Bike 2

    Bike 3

    Furthermore, ensure to logout from the Azure portal session after deleting existing resources and resource groups. Begin the exercise new and verify if the issue persists.

    Before restarting, consider these troubleshooting measures:

    1. Confirm that your network and firewall settings allow seamless communication with Azure services.
    2. Sign out from all tabs in your current browser and clear cached files. Re-attempt logging in using your Learn ID credentials.
    3. Experiment with logging in from an incognito window or private browsing mode after signing out from your current browser session.
    4. Alternatively, switch to a different browser and retry the login process.

    These steps are intended to offer alternative approaches to resolving the issue you are encountering.

    If you encounter any future issues, please feel free to contact us along with screenshot and we will be pleased to assist you further.

    If you have found the answer provided to be helpful, please click on the Accept answer & Upvote. So that it is useful for other members in the Microsoft Q&A community.

    Thank you.

    0 comments No comments