numerous-hamburger-7178
06/02/2023, 10:35 PMremote.sync
or remote.sync_execution
This is a workflow containing a dynamic workflow that calls a map_task
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.NOT_FOUND
details = "missing entity of type TASK with identifier project:"flytetester" domain:"development" name:"MAP_TASK_NAME" version:"VERSION" "
debug_error_string = "UNKNOWN:Error received from peer ipv4:10.34.2.243:443 {grpc_message:"missing entity of type TASK with identifier project:\"flytetester\" domain:\"development\" name:\"MAP_TASK_NAME\" version:\"VERSION\" ", grpc_status:5, created_time:"2023-06-02T15:32:48.383186-07:00"}"
>
tall-lock-23197
remote.sync
has to work for any execution, even if it contains map tasks. Are you trying to get the status of a workflow execution or a task execution?numerous-hamburger-7178
06/05/2023, 3:03 PMtall-lock-23197
remote.sync
working for workflows that don't use a map task?numerous-hamburger-7178
06/05/2023, 3:24 PMsync_nodes=True
. Missed that detail.numerous-hamburger-7178
06/05/2023, 3:26 PMnumerous-hamburger-7178
06/05/2023, 3:41 PMtask_execution = client.get_task_execution(flytekit.models.core.identifier.TaskExecutionIdentifier(
task_id=task_identifier,
node_execution_id=node_exe_identifier,
retry_attempt=0
))
flyte_task_exe = flytekit.remote.executions.FlyteTaskExecution.promote_from_model(task_execution)
remote.sync_task_execution(
execution=flyte_task_exe,
)
sync_task_execution
will error out for the map_tasktall-lock-23197
numerous-hamburger-7178
06/05/2023, 4:01 PM