Failed to execute command group with error An unexpected error occurred while executing command due to: Failed to pull Docker image

Vishal Mahajan 35 Reputation points
2024-06-12T14:37:19.2666667+00:00

I am getting this error when running a job in Az ML

Screenshot 2024-06-12 at 16.31.02

this is what i did:

git clone https://github.com/MicrosoftLearning/mslearn-mlops
az group create --name "rg-dp100-labs" --location "eastus"
az ml workspace create --name "mlw-dp100-labs" -g "rg-dp100-labs"
az ml compute create --name "civmtw" --size STANDARD_DS11_V2 --type ComputeInstance -w mlw-dp100-labs -g rg-dp100-labs --identity-type system_assigned
az ml data create --name diabetes-data --version 1 --path ./mslearn-mlops/experimentation/data/ --resource-group rg-dp100-labs --workspace-name mlw-dp100-labs
az ml job create --file mslearn-mlops/src/job.yml --resource-group rg-dp100-labs --workspace-name mlw-dp100-labs
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,704 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vinodh247 12,741 Reputation points
    2024-06-12T16:04:11.0866667+00:00

    Hi Vishal Mahajan,

    Thanks for reaching out to Microsoft Q&A.

    Microsoft Learn or Microsoft Certification issues are not supported here on Q&A forums. You can try seeking assistance concerning course issues in dedicated forums as per the links provided below.

    Courses and Course Content/Course Content Issue

    https://trainingsupport.microsoft.com/en-us/mcp/forum/mcp_courses-mcp_contentissue

    Troubleshooting known issues

    https://docs.microsoft.com/en-us/learn/support/troubleshooting

    Content Reporting

    https://docs.microsoft.com/en-us/learn/support/troubleshooting#report-feedback

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.

    0 comments No comments

  2. YutongTie-MSFT 48,156 Reputation points
    2024-06-12T21:00:20.3+00:00

    Hello Vishal,

    Thanks for reaching out to us, it seems you miss the read permission over the environment and environment secrets (ACR Admin user).

    Therefore, the below two permissions essential for GetImageDetails request:  

    • Microsoft.MachineLearningServices/workspaces/environments/read 
    • Microsoft.MachineLearningServices/workspaces/environments/readSecrets/action for EnsureSecurityAuthorization when secrets=True

    Please have a try and let us know how it works. I hope this helps!

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, feel free to let us know if you have any other question. Thanks!

    0 comments No comments