Rio McMahon
08/03/2022, 2:41 PMessential container in task exited
with no generated logs. The entrance command ["/bin/sh", "-c", "prefect execute flow-run"]
was failing because (I think) prefect 2.0 doesn’t have an execute
command. I resolved this by pinning my prefect dependency to pip install "prefect[aws, gitlab]==1.3.0"
.Benjamin.bgx
08/03/2022, 2:47 PMRio McMahon
08/03/2022, 2:55 PMBenjamin.bgx
08/03/2022, 2:57 PMTomas Knoetze
08/03/2022, 3:02 PMRio McMahon
08/03/2022, 3:16 PMlinux/amd64
so no M1 issues.
@Benjamin.bgx I think you are correct; I think the reason it was exiting immediately is because the entrance point to the container is /bin/sh -c prefect execute flow-run
. I didn’t have prefect 1.0 pinned when building the container and execute
doesn’t appear to be a command in 2.0. I pinned the dependency to "prefect[aws, gitlab]==1.3.0"
and now the flow will run