-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Datetime dependent error when creating pipeline #26857
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botMachine Learningaz mlaz mlService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK team
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botMachine Learningaz mlaz mlService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK team
Describe the bug
Trying to create a job using
az ml job craete -f hello_pipeline.yamlwhere hello_pipline.yaml contains (modified from an example found here):the below error is thrown even though the created pipeline runs successfully in Azure Machine Learning. The error disappears when the value of somevariable is changed to "2023-01-01 00:00:00Z" with the pipeline still running successfully. This behaviour is independent of the name of the variable (somevariable here).
Related command
az ml job create -f pipeline.yaml
Errors
(UserError) A job with this name already exists. If you are trying to create a new job, use a different name. If you are trying to update an existing job, the existing job's Settings, Inputs, Outputs, Jobs, InputBindings, OutputBindings cannot be changed. Only description, tags, displayName, properties, and isArchived can be updated.
Code: UserError
Message: A job with this name already exists. If you are trying to create a new job, use a different name. If you are trying to update an existing job, the existing job's Settings, Inputs, Outputs, Jobs, InputBindings, OutputBindings cannot be changed. Only description, tags, displayName, properties, and isArchived can be updated.
Additional Information:Type: ComponentName
Info: {
"value": "managementfrontend"
}Type: Correlation
Info: {
"value": {
"operation": "XXXXX",
"request": "XXXX"
}
}Type: Environment
Info: {
"value": "SOMELOCATION"
}Type: Location
Info: {
"value": "SOMELOCATION"
}Type: Time
Info: {
"value": "2023-07-10T12:25:55.5257915+00:00"
}Type: InnerError
Info: {
"value": {
"code": "Immutable",
"innerError": {
"code": "JobPropertyImmutable",
"innerError": null
}
}
}Type: MessageFormat
Info: {
"value": "A job with this name already exists. If you are trying to create a new job, use a different name. If you are trying to update an existing job, the existing job's{property} cannot be changed. Only description, tags, displayName, properties, and isArchived can be updated."
}Type: MessageParameters
Info: {
"value": {
"property": " Settings, Inputs, Outputs, Jobs, InputBindings, OutputBindings"
}
}
Issue script & Debug output
I did not add debug output since it is really long and I don't want to go through the whole thing to remove sensitive information at this point.
Expected behavior
Creation of the pipeline should work when using the date time format "YYYY-mm-ddThh:mm:ssZ". However, why are variables under inputs parsed for datetime formats irrespective of their variable name?
Environment Summary
azure-cli 2.50.0
core 2.50.0
telemetry 1.0.8
Extensions:
ml 2.18.0
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/extensions'
Python (Linux) 3.10.10 (main, Jun 29 2023, 11:09:34) [GCC 9.4.0]
Additional context
No response