Azure Machine Learning container registry cannot be changed due to the lack of "--yes" argument
See original GitHub issueDescribe the bug When trying to update a Machine Learning Workspace container registry, I have the following message:
# $ az ml workspace update -n xxxxxx -g xxxxxx --container-registry /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.ContainerRegistry/registries/xxxxxx
Command group 'ml workspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Updating the workspace-attached Azure Container Registry resource may break lineage of previous jobs or your ability to rerun earlier jobs in this workspace. Are you sure you want to perform this operation? Include the --yes parameter with this request to confirm.
And when I use the same command with the --yes
flag, Azuz CLI yields that argument is not recognized
# $ az ml workspace update -n xxxxxx -g xxxxxx --container-registry /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.ContainerRegistry/registries/xxxxxx --yes
unrecognized arguments: --yes
To Reproduce Use the commands above.
Expected behavior It updates the machine learning workspace associated registry.
Environment summary
Additional context I use the v2 extension.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Troubleshooting online endpoints deployment and scoring
Learn how to resolve common issues in the deployment and scoring of Azure Machine Learning online endpoints. This document is structured in the ......
Read more >Deploy machine learning models to Azure - Microsoft Learn
The service cannot be deployed at this time due to lack of resources. No. Failed, The service has failed to deploy due to...
Read more >Content trust in Azure Container Registry - Microsoft Learn
Azure Container Registry implements Docker's content trust model, enabling pushing and pulling of signed images.
Read more >Troubleshoot environment images - Azure Machine Learning
Learn how to troubleshoot issues with environment image builds and package installations.
Read more >Frequently asked questions - Azure Container Registry
Is there security vulnerability scanning for images in ACR? Yes. See the documentation from Microsoft Defender for Cloud, Twistlock and Aqua.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @BzSpi @chriswue
Thank you for reporting this issue, we are routing this to service Teams’ attention!
Is there a work-around? The CR cannot be changed via Azure Portal and the CLI is broken. We’re now stuck with a more-or-less unusable workspace.