Giter Site home page Giter Site logo

Comments (22)

xec-abailey avatar xec-abailey commented on July 19, 2024 2

There is something fishy here guys, I am experiencing this issue as well, just as @Rubikalubi is. Previously it would create any resource automatically if it isn't specified.

However, what we ended up trying to do is modify our creation script to first create an application insights resource (we already have a container registry, storage account, and key vault so it's not included in the creation script below) and then associate it using the following script:

acr_arm_id=$(az acr show --name ***** --query id -o tsv) 
insights_arm_id=$(az monitor app-insights component show --app ***** -g ***** --query "id" -o tsv)
az ml workspace create --resource-group **** --name ****** --storage-account ****  --key-vault ****** --container-registry "$acr_arm_id" -a "$insights_arm_id"

Considering the docs here I would expect this to work, however we are greeted with this

Code: ValidationError
Message: AppInsights ID is not in right format
Target: properties
Exception Details:      (Invalid) AppInsights ID is not in right format
        Code: Invalid
        Message: AppInsights ID is not in right format
        Target: properties

Looking at the AppInsights ID that is returned from the command directly we see it is compliant, or at least appears to be so given the above docs:

/subscriptions/*subscription*/resourceGroups/*resource-group*/providers/microsoft.insights/components/*name*

The name in this case is compliant with this doc so that shouldn't be an issue.

Version info

azure-cli                         2.61.0

core                              2.61.0
telemetry                          1.1.0

Extensions:
application-insights               1.2.1
k8s-extension                      1.6.1
ml                                2.26.0

Dependencies:
msal                              1.28.0
azure-mgmt-resource               23.1.1

from azure-cli.

achauhan-scc avatar achauhan-scc commented on July 19, 2024 2

ml extension 2.26.1 is released with the fix.

from azure-cli.

mwaqashraf avatar mwaqashraf commented on July 19, 2024 2

Awaiting the fix.

./setup.sh in DP-100 labs don't work, impacting all students preparing for certifications.
az ml extension can't be updated/removed/upgraded/downgraded too.

Appreciate expedited support.

from azure-cli.

PierceLovesee avatar PierceLovesee commented on July 19, 2024 1

+1 to @xec-abailey 's write up; I am experiencing a very similar issue.

from azure-cli.

janmolemans avatar janmolemans commented on July 19, 2024 1

We have the same issue. I noticed that the ARM template resulting from the az cli command has the following issue, namely that containerregistry variable is used for applicationinsights:
'applicationInsights': '[if(not(equals(parameters('applicationInsightsOption'), 'none')), variables('containerRegistry'), json('null'))]',
'containerRegistry': '[if(not(equals(parameters('containerRegistryOption'), 'none')), variables('containerRegistry'), json('null'))]',

from azure-cli.

Underdoge avatar Underdoge commented on July 19, 2024 1

Thanks @achauhan-scc, looks like the extension simply cannot be removed/updated in Cloud Shell, I guess it's just a matter of waiting until they update the Cloud Shell environment:

az extension remove -n ml
Cannot remove system extension ml in Cloud Shell.

az extension add -n ml

Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only. 
Extension 'ml' 2.26.0 is already installed.

from azure-cli.

andreoniriccardo avatar andreoniriccardo commented on July 19, 2024 1

I have the exact same issure as I am preparing for the DP-100 exam. Please provide prompt support, thank you

from azure-cli.

yonzhan avatar yonzhan commented on July 19, 2024

Thank you for opening this issue, we will look into it.

from azure-cli.

kimzed avatar kimzed commented on July 19, 2024

I am facing the same issue. I tried to create a managed online feature store from the SDK using the tutorial. I tried a lot of different things and checked the template and different deployments. The issue seems to have happened recently because a colleague could run the script without problem but now we do not manage to create it

from azure-cli.

PierceLovesee avatar PierceLovesee commented on July 19, 2024

This breaking change / bug was definitely introduced in the version release of the Azure ML Extension when upgraded from 2.25 to 2.26. Downgrading and locking to ml v2.25 resolved the undesirable behavior in our application.

from azure-cli.

achauhan-scc avatar achauhan-scc commented on July 19, 2024

Thanks for reporting the issue and providing the details. I am raising a PR to mitigate the issue.

from azure-cli.

mbizo1 avatar mbizo1 commented on July 19, 2024

I a, experiencing the same issue as of today,

from azure-cli.

meet47 avatar meet47 commented on July 19, 2024

Hoping to get it resolve soon.

from azure-cli.

ShawnLiu119 avatar ShawnLiu119 commented on July 19, 2024

facing the same iossue htere

from azure-cli.

endre-kosa avatar endre-kosa commented on July 19, 2024

This breaking change / bug was definitely introduced in the version release of the Azure ML Extension when upgraded from 2.25 to 2.26. Downgrading and locking to ml v2.25 resolved the undesirable behavior in our application.

When I try this solution I get the following messages:
'Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only.' or
'Extension 'ml' 2.26.0 is already installed.'

from azure-cli.

madiepev avatar madiepev commented on July 19, 2024

Thank you for reporting this issue. It seems indeed related to the Cloud Shell and not to the .setup.sh. We're investigating the issue to explore any fixes/workaround and will update when we have something. For now, manual creation of resources seems the only fix as the ML extension can't be updated/downgraded in Cloud Shell.

from azure-cli.

Underdoge avatar Underdoge commented on July 19, 2024

Hello @achauhan-scc,

I'm getting the following error when running "az extension update --name ml" in Cloud Shell:

Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only. 
Cannot update system extension ml, please wait until Cloud Shell updates it in the next release.

And when trying "az extension update --name ml --allow-preview true" I get:

Cannot update system extension ml, please wait until Cloud Shell updates it in the next release.

I'm stuck on 2.26.0:

az --version
azure-cli                         2.61.0

core                              2.61.0
telemetry                          1.1.0

Extensions:
ai-examples                        0.2.5
ml                                2.26.0
ssh                                2.0.3

from azure-cli.

achauhan-scc avatar achauhan-scc commented on July 19, 2024

Can you please try below steps from https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-cli?view=azureml-api-2&tabs=public

  • az extension remove -n ml
  • az extension add -n ml

from azure-cli.

mwaqashraf avatar mwaqashraf commented on July 19, 2024

from azure-cli.

rag-lab avatar rag-lab commented on July 19, 2024

Awaiting the fix.

./setup.sh in DP-100 labs don't work, impacting all students preparing for certifications. az ml extension can't be updated/removed/upgraded/downgraded too.

Appreciate expedited support.

I belive it's valid to point that the link https://aka.ms/mslearn-dp100 is broken too. Reported multiple times in Coursera without any feedback.

from azure-cli.

christianstroh avatar christianstroh commented on July 19, 2024

Do the DP-100 exercises work again? Has anyone tried this?

from azure-cli.

madiepev avatar madiepev commented on July 19, 2024

Works again for me!

from azure-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.