Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure ml cli issue for pipelinecomponent deployment #8351

Open
bwaanders opened this issue Nov 28, 2024 · 2 comments
Open

azure ml cli issue for pipelinecomponent deployment #8351

bwaanders opened this issue Nov 28, 2024 · 2 comments
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.

Comments

@bwaanders
Copy link

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

@bwaanders bwaanders added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Nov 28, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 28, 2024

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

@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. Machine Learning extension/ml labels Nov 28, 2024
Copy link
Contributor

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

@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants