Reputation: 4032
I'm using the Dataflow command line tool to understand my Dataflow jobs.
gcloud dataflow jobs list
works without problems and gives me a long list of jobs. Once I however want to investigate a certain job using
gcloud beta dataflow jobs describe $JOBID
I always get:
ERROR: (gcloud.beta.dataflow.jobs.describe) NOT_FOUND: Requested entity was not found.
I've tried multiple different job ids, and also tried gcloud beta dataflow metrics list $JOBID
but to no avail.
What am I doing wrong?
Upvotes: 2
Views: 869
Reputation: 3610
Try with explicit --region parameter. You can see the region in list command. I had same issues and specifying the region helped. Make also sure you use job id, not job name. You do not need to quote the jobid if it does not include special characters.
Upvotes: 2