Ron
01/29/2025, 10:05 PMdocker.errors.ImageNotFound: 404 Client Error for <http+docker://localhost/v1.47/images/create?tag=dev&fromImage=eip>: Not Found ("pull access denied for eip, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")
If they are run separately (out of band), the error does not happen. Can only one flow be run at a time?Marvin
01/29/2025, 10:06 PMeip
is either not found or requires authentication. Ensure that the image is correctly tagged and accessible from your Docker registry. If authentication is required, make sure your Docker credentials are correctly set up and that you have logged in.
2. Concurrency and Image Pulling: When running multiple deployments concurrently, if both deployments attempt to pull the same image simultaneously, it might cause conflicts or race conditions. Prefect's Docker workers always attempt to pull the latest image if it's not available locally, which could lead to the issue you're experiencing. Consider ensuring that the image is pre-pulled or available locally.
3. Local Image Availability: If the image is only available locally and not in a remote repository, this can lead to errors when Prefect tries to pull it. You might want to adjust the image_pull_policy
to IF_NOT_PRESENT
to avoid unnecessary pulls if the image is already available locally.
4. Known Issues: There are known issues related to Docker image pulling in Prefect, such as the one where Docker pull fails silently if the disk is full or if there's a mismatch between PyPI and image releases. You might want to check these issues for any related problems.
For more detailed information, you can refer to the Prefect Docker documentation and GitHub issues for similar problems and potential resolutions.Ron
01/29/2025, 10:09 PMNate
01/29/2025, 10:13 PMjob_variables
which deploy()
acceptsRon
01/29/2025, 10:16 PMRon
01/29/2025, 10:21 PMNate
01/29/2025, 10:22 PMRon
01/29/2025, 10:27 PMNate
01/29/2025, 10:28 PMRon
01/29/2025, 10:28 PM