Charles Lariviere
07/20/2021, 8:53 PMOperation name: RunsRootQuery
Message: list index out of range
Path: ["pipelineRunsOrError","results",1,"canTerminate"]
Locations: [{"line":36,"column":3}]
Stack Trace:
File "/usr/local/lib/python3.8/site-packages/graphql/execution/executor.py", line 452, in resolve_or_error
return executor.execute(resolve_fn, source, info, **args)
File "/usr/local/lib/python3.8/site-packages/graphql/execution/executors/sync.py", line 16, in execute
return fn(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/dagster_graphql/schema/pipelines/pipeline.py", line 274, in resolve_canTerminate
return graphene_info.context.instance.run_coordinator.can_cancel_run(self.run_id)
File "/usr/local/lib/python3.8/site-packages/dagster/core/run_coordinator/queued_run_coordinator.py", line 107, in can_cancel_run
return self._instance.run_launcher.can_terminate(run_id)
File "/usr/local/lib/python3.8/site-packages/dagster_aws/ecs/launcher.py", line 148, in can_terminate
status = self.ecs.describe_tasks(tasks=[arn], cluster=cluster)["tasks"][0]["lastStatus"]
jordan
07/20/2021, 9:01 PMCharles Lariviere
07/20/2021, 9:03 PMAll Runs
, Queued
, and In Progress
tabs of the “Runs” section in Dagit. Nowhere else so far!jordan
07/20/2021, 9:05 PMCharles Lariviere
07/20/2021, 9:05 PMjordan
07/20/2021, 9:11 PMCharles Lariviere
07/20/2021, 9:34 PMWhat does your dagit task’s TaskRole look like?Our TaskRole is currently none — should it be set to something?
And perhaps a silly question, but your dagit task is running in the same ECS cluster as all of your other tasks, right?That’s right! 😄
jordan
07/20/2021, 9:38 PMCharles Lariviere
07/20/2021, 9:39 PMjordan
07/20/2021, 9:53 PMself.ecs.describe_tasks(tasks=[arn], cluster=cluster)
is coming back with an empty tasks
key sometimes - I suspect if we were logging the entire response, we’d see something in the failures
key indicating why.
Look for these in the 0.12.3 release Thursday and keep us posted on how things are going with the transition to ECS!