Try: gcloud beta dataflow jobs --project=myproject cancel myjobname gcloud beta dataflow jobs --project=myproject cancel myjobname2
On Mon, Jan 22, 2018 at 1:28 PM, Carlos Alonso <car...@mrcalonso.com> wrote: > We have submitted a couple of jobs that seem to have stuck on the graph > analysing step. > > An weird A job with ID "2018-01-19_03_27_48-15138951989738918594" doesn't > exist error appears on top of the Google Dataflow jobs list page and > trying to list it using gcloud tool shows them as in Unknown state: > > JOB_ID NAME TYPE CREATION_TIME STATE REGION > 2018-01-19_03_27_48-15138951989738918594 > myjobname2 Streaming 2018-01-19 12:27:48 Unknown europe-west1 > 2018-01-19_03_21_05-1065108814086334743 myjobname Streaming 2018-01-19 > 12:21:06 Unknown europe-west1 > > Trying to cancel them using gcloud tool as well doesn't work either: > > ~ gcloud beta dataflow jobs --project=myproject cancel > 2018-01-19_03_21_05-1065108814086334743 > Failed to cancel job [2018-01-19_03_21_05-1065108814086334743]: > (9027838c1500ddff): Could not cancel workflow; user does not have > sufficient permissions on project: myproject, or the job does not exist in > the project. > > Any idea? > > Thanks!! >