Force cancel/delete Azure ML job
I have left an AML job's target compute to "local" upon using it as part of a GitHub pipeline as I thought that would work just fine for testing purposes (albeit being slower). This is however not supported as of now within GitHub workflows, and the job remained stuck in "Preparing" for some time. I tried cancelling it later on, but the only thing I accomplished was to set its status to "CancelRequested". It seems the job is now forever stuck in this state, and the Studio doesn't allow me to either issue another cancel command or delete the job. Can somebody help me sort this out, please? Thank you!
Note: Upon trying to cancel it manually through the CLI and SDK I get the following error, and the job obviously doesn't progress to a new state:
HttpResponseError: (UserError) Compute target type 'Local' not supported by this API.
Code: UserError
Message: Compute target type 'Local' not supported by this API.
Additional Information:Type: ComponentName
Info: {
"value": "managementfrontend"
}Type: Correlation
Info: {
"value": {
"operation": "e45f9018b828f44e93919f2daf7b87ec",
"request": "098d1fc2ef0e77d5"
}
}Type: Environment
Info: {
"value": "eastus2"
}Type: Location
Info: {
"value": "eastus2"
}Type: Time
Info: {
"value": "2024-04-10T19:13:55.9163173+00:00"
}Type: InnerError
Info: {
"value": {
"code": "BadArgument",
"innerError": {
"code": "NotSupportedTargetType",
"innerError": null
}
}
}