https://prefect.io logo
s

Sean Talia

12/10/2020, 7:40 PM
has anyone ever encountered this issue before? I'm orchestrating a flow of flows, where the parent flow is running in a docker container and is launching its child flows in sibling docker containers, and am getting this error when my parent flow tries to launch my child flow:
Copy code
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/prefect/engine/runner.py", line 48, in inner
    new_state = method(self, state, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/prefect/engine/task_runner.py", line 856, in get_task_run_state
    value = prefect.utilities.executors.run_task_with_timeout(
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/executors.py", line 298, in run_task_with_timeout
    return task.run(*args, **kwargs)  # type: ignore
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/tasks.py", line 449, in method
    return run_method(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/prefect/tasks/prefect/flow_run.py", line 160, in run
    flow_run_id = client.create_flow_run(
  File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 1041, in create_flow_run
    res = self.graphql(create_mutation, variables=dict(input=inputs))
  File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 318, in graphql
    raise ClientError(result["errors"])
prefect.utilities.exceptions.ClientError: [{'path': ['create_flow_run'], 'message': '[{\'extensions\': {\'path\': \'$.variableValues.insert_objects[0].idempotency_key\', \'code\': \'validation-failed\'}, \'message\': \'field "idempotency_key" not found in type: \\\'flow_run_insert_input\\\'\'}]', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
all my containers are running prefect 0.13.18 on python 3.8
👀 1
also, i'm not using the
idempotency_key
param when registering any of these flows
z

Zanie

12/10/2020, 7:44 PM
This is an internal idempotency key for flow run creation not registration
Are you using Prefect Server?
s

Sean Talia

12/10/2020, 7:44 PM
sorry should've mentioned that – i'm using cloud
the parent flow was kicked off by a Docker agent
z

Zanie

12/10/2020, 7:45 PM
We just did a release — looks like we have a bug in it. We’ll be addressing this ASAP.
👍 1
Should be resolved — let us know if your flows work now!
s

Sean Talia

12/10/2020, 8:09 PM
well i'm not getting that issue anymore, i think the new one i'm getting is on me though ;)