Joseph Loss
12/06/2022, 5:19 PMRyan Peden
12/06/2022, 5:23 PMAzureContainerInstanceJob
block, or deploying an image to a private Azure Container Registry; that would prevent ACI from needed to pull the image from Docker Hub every time it starts a container.Joseph Loss
12/06/2022, 5:27 PMRyan Peden
12/06/2022, 5:28 PMprefect-azure
package that should fix that issue. If you aren't using 0.2.3
yet, I recommend updating. After that, ACR should work 🙂Joseph Loss
12/06/2022, 5:44 PMRyan Peden
12/06/2022, 5:46 PMJoseph Loss
12/06/2022, 6:13 PMError: Failed to start container 7bae5840-cc55-4d9e-a649-76da33d47f96, Error response: to create containerd task: failed to create shim task: failed to create container b52528aeb53e4a508fc2fc5294a3f3942fe68a1788897bdd72ea84c5a6dd79d3: guest RPC failure: failed to create container: failed to run runc create/exec call for container b52528aeb53e4a508fc2fc5294a3f3942fe68a1788897bdd72ea84c5a6dd79d3 with exit status 1: container_linux.go:380: starting container process caused: exec: "/opt/prefect/entrypoint.sh": stat /opt/prefect/entrypoint.sh: no such file or directory: unknown
Ryan Peden
12/06/2022, 6:31 PMexec
as the entrypoint on your AzureContainerInstanceJob
block?Joseph Loss
12/06/2022, 6:44 PMRyan Peden
12/06/2022, 6:58 PMJoseph Loss
12/06/2022, 7:16 PMRyan Peden
12/06/2022, 7:19 PMJoseph Loss
12/06/2022, 7:21 PMError: Failed to start container af25814a-9fe2-4f02-8886-15d80462961e, Error response: to create containerd task: failed to create shim task: failed to create container e271e513e9c6387e035c9a787805339040ef3e7bd66f67535ce0e435c11e8ec3: guest RPC failure: failed to create container: failed to run runc create/exec call for container e271e513e9c6387e035c9a787805339040ef3e7bd66f67535ce0e435c11e8ec3 with exit status 1: container_linux.go:380: starting container process caused: exec: "/bin/bash -c": stat /bin/bash -c: no such file or directory: unknown
Ryan Peden
12/06/2022, 7:24 PMJoseph Loss
12/06/2022, 7:25 PM/bin/bash -c python -m prefect.engine
I see this as the result in container properties:
[ "/bin/bash -c python -m prefect.engine", "python", "-m", "prefect.engine" ]Ryan Peden
12/06/2022, 7:28 PM