Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
380 stars 1.19k forks source link

Unable to create Azure Machine Learning Compute Cluster #3593

Open zhusulai opened 3 years ago

zhusulai commented 3 years ago

Describe the bug

Unable to create Azure Machine Learning Compute Cluster using az ml CLI command.

Command Name az ml compute create Extension Name: ml. Version: 2.0.1a3.

Errors:

Unknown compute type: AmlCompute

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Create Azure Machine Learning Cluster

Environment Summary

macOS-11.2.3-x86_64-i386-64bit
Python 3.8.10
Installer: HOMEBREW

azure-cli 2.25.0 *

Extensions:
azure-devops 0.18.0
resource-graph 2.1.0
ml 2.0.1a3

Additional Context

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

Issue Details
## Describe the bug Unable to create Azure Machine Learning Compute Cluster using `az ml` CLI command. **Command Name** `az ml compute create Extension Name: ml. Version: 2.0.1a3.` **Errors:** ``` Unknown compute type: AmlCompute ``` ## To Reproduce: Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information. - `az ml compute create -g {myrg} --workspace-name {ws} --idle-time-before-scale-down {1800} --min-instances {0} --max-instances {3} --name {mycluster} --size {Standard_F2s_v2} --vnet-name {myvnet} --subnet {azml} --type {AmlCompute}` ## Expected Behavior Create Azure Machine Learning Cluster ## Environment Summary ``` macOS-11.2.3-x86_64-i386-64bit Python 3.8.10 Installer: HOMEBREW azure-cli 2.25.0 * Extensions: azure-devops 0.18.0 resource-graph 2.1.0 ml 2.0.1a3 ``` ## Additional Context
Author: zhusulai
Assignees: -
Labels: `Machine Learning`, `Service Attention`, `extension/ml`
Milestone: -
yonzhan commented 3 years ago

route to service team

harneetvirk commented 3 years ago

I am able to repro this bug. We will ship a fix for this issue in next ml cli release.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @brendalee.

Issue Details
## Describe the bug Unable to create Azure Machine Learning Compute Cluster using `az ml` CLI command. **Command Name** `az ml compute create Extension Name: ml. Version: 2.0.1a3.` **Errors:** ``` Unknown compute type: AmlCompute ``` ## To Reproduce: Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information. - `az ml compute create -g {myrg} --workspace-name {ws} --idle-time-before-scale-down {1800} --min-instances {0} --max-instances {3} --name {mycluster} --size {Standard_F2s_v2} --vnet-name {myvnet} --subnet {azml} --type {AmlCompute}` ## Expected Behavior Create Azure Machine Learning Cluster ## Environment Summary ``` macOS-11.2.3-x86_64-i386-64bit Python 3.8.10 Installer: HOMEBREW azure-cli 2.25.0 * Extensions: azure-devops 0.18.0 resource-graph 2.1.0 ml 2.0.1a3 ``` ## Additional Context
Author: zhusulai
Assignees: -
Labels: `ADO`, `ML-Compute`, `Machine Learning`, `Service Attention`, `bug`, `extension/ml`
Milestone: -