Area: Deployment Issues
Sub-Area: Remote Executor Image Configuration
Applies to: Cloud
Issue
Your Remote Executor image pull fails. The pod stays in an image pull error state, or docker pull reports that the image or manifest was not found.
The most common cause is a tag without the -cloud suffix, for example datahub-executor:v2.4.4 instead of datahub-executor:v2.4.4-cloud. A tag without the suffix does not exist, so the pull fails.
You Might Be Asking
- What is the correct image tag format for the DataHub Cloud Remote Executor?
- Which executor tag should I use with my DataHub Cloud version?
- Why does my Kubernetes pod or
docker pullfail to pull the executor image? - Which registry hosts the Remote Executor image, and do I need AWS ECR credentials outside AWS?
Cause
Since the 1.0 release line, every official Remote Executor image tag has the form vX.Y.Z-cloud, for example v1.1.2-cloud or v2.4.4-cloud. The DataHub Cloud release notes list the executor images this way.
Older 0.3.x executors used a different suffix, -acryl, for example v0.3.17.9-acryl. If you run a 0.3.x executor, adding -cloud to its version gives a tag that does not exist.
The image is also in a private registry. If DataHub has not granted your environment access, the pull fails with an authentication or authorization error instead of a "not found" error.
Solution
- Use the full tag, with the suffix. For a 1.x or 2.x executor, the tag is
v<version>-cloud:
datahub-executor:v2.4.4-cloud
Not:
datahub-executor:v2.4.4
-
Pick a tag from the release notes. Each DataHub Cloud release lists the executor images it supports under Recommended Versions > Remote Executor > Image. For example, the v2.4.4 release notes list
v2.4.4-cloudthroughv2.2.0-cloud. Copy the tag exactly as it appears there. For a 0.3.x executor, use the-acryltag from that release's notes. -
Add the variant suffix after
-cloudif you use a variant image. Variant images append a second suffix:-slim,-locked,-unbundledor-slim-unbundled, for examplev2.4.4-cloud-slim. The Bundling Additional Connectors guide builds on the-slimimage. If DataHub built a custom image for you, use the exact tag DataHub gave you. -
Check where your deployment sets the tag:
- Terraform module: set
datahub.image_tag, for example"v2.4.4-cloud". Module tags (such asv2.1.0) and image tags are versioned separately, so don't put a module tag here. - CloudFormation: set the
ImageTagparameter when you update the stack. - Helm (
datahub-executor-workerchart): check the image tag in your values file or--setflags, then runhelm upgrade --reuse-values. - Docker: check the tag in the image reference you pass to
docker run.
The update steps for each method are in Configuring Remote Executor (the Update step under Deploy on Amazon ECS, and Update Kubernetes Deployment).
- Terraform module: set
-
Make sure DataHub has granted your environment registry access. The image is not on Docker Hub. It is in a private DataHub Cloud registry, and DataHub sets up pull access for you:
- Amazon ECS: give DataHub your AWS account ID. Your account can then pull from the DataHub Cloud ECR repository
795586375822.dkr.ecr.us-west-2.amazonaws.com/datahub-executor. - Amazon EKS: give DataHub the IAM principal that pulls the image.
- Google GKE: give DataHub the cluster's IAM service account. You don't need AWS ECR credentials.
- Other platforms: contact DataHub Support. The image is also available from
docker.datahub.com.
If the error says access is denied or authentication is required, the tag is not the problem. Contact DataHub Support to confirm your access.
- Amazon ECS: give DataHub your AWS account ID. Your account can then pull from the DataHub Cloud ECR repository