az ml compute create with --idle-time-before-scale-down is not working #26674
Labels
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
CXP Attention
This issue is handled by CXP team.
Machine Learning
az ml
Describe the bug
az ml compute create --name $Env:computename
--size $Env:computesize
--type ComputeInstance
--resource-group $Env:rg
--workspace-name $Env:name `
--idle-time-before-scale-down "1800"
Results in this error message:
The command failed with an unexpected error. Here is the traceback:
Validation for ComputeInstanceSchema failed:
{
"idle_time_before_scale_down": [
"Unknown field."
]
}
I've tried passing the seconds value as both an integer and a string (i.e. - 1800 and "1800")
Related command
az ml compute create --name $Env:computename
--size $Env:computesize
--type ComputeInstance
--resource-group $Env:rg
--workspace-name $Env:name `
--idle-time-before-scale-down "1800"
Errors
The command failed with an unexpected error. Here is the traceback:
Validation for ComputeInstanceSchema failed:
{
"idle_time_before_scale_down": [
"Unknown field."
]
}
Issue script & Debug output
Validation for ComputeInstanceSchema failed:
{
"idle_time_before_scale_down": [
"Unknown field."
]
}
Expected behavior
Expected that the compute VM would be created with the configured idle time.
The compute was not created.
Environment Summary
az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
ml 2.18.0
spring 1.13.2
stream-analytics 0.1.2
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\chjoakim.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
ml 2.18.0
spring 1.13.2
stream-analytics 0.1.2
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\chjoakim.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
The text was updated successfully, but these errors were encountered: