I submitted the Batch job at 18:14 on June 5, 2023, but the job is still in the QUEUE state until now at 10:07 on June 6, 2023. Both job event and job logs are empty, why is this happening?
My time zone is UTC+8
I submitted the Batch job at 18:14 on June 5, 2023, but the job is still in the QUEUE state until now at 10:07 on June 6, 2023. Both job event and job logs are empty, why is this happening?
My time zone is UTC+8
Thanks for trying Batch!
From your job information I can see your job is stuck with GCE resource not found errors.
It seems you are trying to use an instance template for Batch job but the instance template instance-template-1
is not found by GCE, detail as below:
googleapi: Error 404: The resource 'projects/647012610224/global/instanceTemplates/instance-template-1' was not found, notFound for job mft-api-2045586525-1e604be9-1d22-41100, project 647012610224
Would you mind double checking on your instance template url?
Also, you may be find more useful job errors when you do GetJob (e.g. https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs/get or https://cloud.google.com/sdk/gcloud/reference/batch/jobs/describe), and useful job logs to debug following https://cloud.google.com/batch/docs/analyze-job-using-logs.
Hope this help!
Best,
Wenyan
Thank you very much