azure ml cli issue for pipelinecomponent deployment #8351
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
extension/ml
Machine Learning
Service Attention
This issue is responsible by Azure service team.
Describe the bug
When trying to validate the template in vs code I get the error invalid resource type provided. This is also the case with any of the default templates given as examples on github.
Note, last week the templates were working.
Related command
az ml component create --file
Errors
Invalid resource type provided when trying to run in vs code
When running azure devops the following error is returned
{ "result": "Failed", "errors": [ { "message": "{'type': [{'_schema': ['Value passed is not a data binding string: string']}, {'_schema': [\"Value 'string' passed is not in set ['uri_file', 'uri_folder']\"]}], 'default': ['Unknown field.']}; {'type': [{'_schema': ['Value passed is not a data binding string: string']}, {'_schema': [\"Value 'string' passed is not in set ['custom_model', 'mlflow_model', 'triton_model']\"]}], 'default': ['Unknown field.']}; {'type': [{'_schema': ['Value passed is not a data binding string: string']}, {'_schema': [\"Value 'string' passed is not in set ['mltable']\"]}], 'default': ['Unknown field.']}; {'type': ['Unknown field.'], 'default': ['Unknown field.']}; {None: [{'_schema': ['Not a valid integer.']}, {'_schema': ['Not a valid number.']}, {'_schema': ['Not a valid string.']}, {'_schema': ['Not a valid boolean.']}]}", "path": "inputs.listid", "value": { "type": "string", "default": "test" }, "location": "D:\\a\\1\\s\\yaml\\config\\pipelines\\pipeline.yml#line 9" } ] }
Issue script & Debug output
When running even default templates share on the github this issue occurs https://github.com/Azure/azureml-examples/blob/main/cli/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing/pipeline.yml
Expected behavior
Last week these templates were working perfectly fine, that would be the expectation.
Environment Summary
azure-cli 2.67.0
core 2.67.0
telemetry 1.1.0
Extensions:
azure-devops 1.0.1
ml 2.32.4
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Additional context
This i quite a blocking issue at the moment for our team as we wont be able to deploy our work to production so appreciate any attention to this
The text was updated successfully, but these errors were encountered: