Area: Deployment Issues
Sub-Area: Remote Executor Image Pull / Registry Authentication
Applies to: Cloud
Issue
When you set up or upgrade a DataHub Cloud Remote Executor, you pull the datahub-executor image from a container registry. docker.datahub.com is one registry option. Your pull or login can fail if you use the wrong credentials or image path.
Common error messages:
Error response from daemon: pull access denied, repository does not exist or may require authenticationunauthorized: authentication requiredError: Cannot perform an interactive login from a non TTY device
These are generic Docker messages. They mean Docker did not accept your credentials or could not find the image path.
You Might Be Asking
- Why does
docker login docker.datahub.comfail? - What username and password do I use for the DataHub registry?
- Which image tag do I pull?
- Does the image tag have to match my DataHub Cloud version exactly?
- How do I pull the
datahub-executorimage for deployment?
Cause
Access to the Remote Executor image registry is arranged with DataHub. Log in and pull with exactly the username, password or token, and image path that DataHub gives you. The published docs do not describe a fixed username or token format, so do not guess one. If you pull a tag outside the recommended range, such as an old v0.3.x tag, you are using an executor far older than current releases.
Solution
-
Get registry access and credentials from DataHub. Contact DataHub Support or your DataHub representative. Use the username, password or token, and image path they give you. How you arrange access depends on your platform:
- ECS: give DataHub your AWS account ID.
- EKS: give DataHub the IAM principal that pulls from ECR.
- GKE: give DataHub the cluster's IAM service account.
- Other platforms: contact the DataHub team.
-
Log in to the registry. Use the credentials from DataHub. To avoid the non-TTY error in automation, pass the password on standard input:
echo "<your-password-or-token>" | docker login docker.datahub.com \ --username <username-from-datahub> \ --password-stdin -
Pull the image. The image is named
datahub-executor. Tags use the formatv<version>-cloud, for examplev2.4.4-cloud. Use the image path DataHub gives you.docker pull <image-path-from-datahub>/datahub-executor:<tag> -
Choose a tag. The executor does not have to match your DataHub Cloud version exactly. Each release lists a range of recommended executor images. For DataHub Cloud v2.4.4, the recommended range is
v2.2.0-cloudthroughv2.4.4-cloud. Older executors used an-acrylsuffix (for examplev0.3.11.1-acryl). Those tags are far outside the current range, so use av<version>-cloudtag. Your DataHub Support contact can confirm the right tag for your instance. -
Check network access. The host that pulls the image must reach the container registry that hosts it, for example AWS ECR or docker.datahub.com. The Remote Executor needs outbound HTTPS (port 443) only and no inbound connectivity. See the configuration prerequisites for the full endpoint list.
-
Deploy with Helm. For Helm installs, see Deploy on Kubernetes. If you want to use your own registry, mirror the image into it and update the image reference in your deployment. Ask DataHub Support if you need help with this.
If login still fails with the credentials DataHub gave you, contact DataHub Support.