question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure Machine Learning container registry cannot be changed due to the lack of "--yes" argument

See original GitHub issue

Describe 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:open
  • Created a year ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
SatishBoddu-MSFTcommented, Apr 7, 2022

Hello @BzSpi @chriswue

Thank you for reporting this issue, we are routing this to service Teams’ attention!

1reaction
chriswuecommented, Mar 29, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found