Blake Stefansen
11/07/2022, 2:06 PMRUNNING
Engine execution of flow run '148d81ea-3cfe-4db1-a0d4-3f3f17748fb0' aborted by orchestrator: This run cannot transition to the RUNNING state from the RUNNING state.
Will add more details to threadBlake Stefansen
11/07/2022, 2:11 PMENV
prefect==2.6.4
python==3.10
We have a for loop
that uses the prefect.deployments
python library to create deployment runs
https://docs.prefect.io/api-ref/prefect/deployments/?h=run_deplo#prefect.deployments.run_deployment
The deployment uses s3 storage and k8 job infrastructure. This flow run status error only seems to show up on some flow runs, while others work just fine.
Our k8 cluster doesn't appear to be overloaded (it was at first, and we thought that was the issue, but we still get this error at normal load levels)
We are exploring if maybe this is because flow runs in the for loop are using the same flow run names, and therefore trying to make duplicate jobs, and confusing the k8 agent.Mason Menges
11/07/2022, 6:37 PMBlake Stefansen
11/14/2022, 9:30 PMBlake Stefansen
11/16/2022, 4:55 PM{
"kind": "Job",
"spec": {
"template": {
"spec": {
"containers": [
{
"env": [],
"name": "prefect-job"
}
],
"completions": 1,
"parallelism": 1,
"restartPolicy": "Never",
"imagePullSecrets": [
{
"name": "dockercloud-secret"
}
]
}
}
},
"metadata": {
"labels": {}
},
"apiVersion": "batch/v1"
}
Mason Menges
11/16/2022, 5:04 PMDekel R
12/26/2022, 4:05 PMBianca Hoch
12/27/2022, 3:21 PMDekel R
12/28/2022, 11:20 AMJean-Michel Provencher
02/02/2023, 9:41 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by