Area: Deployment Issues
Sub-Area: Remote Executor Management
Applies to: Cloud
Issue
You are upgrading a DataHub Cloud Remote Executor. You need the right image tag, the right way to get the image, and the right settings to check if the executor can't pull the image or can't connect to DataHub after the upgrade.
You Might Be Asking
- What is the latest Remote Executor version for DataHub Cloud?
- Where do I pull the Remote Executor image from?
- Why can't my Remote Executor pull the new image?
- Does the Remote Executor image have to match my DataHub Cloud server version?
- Do I need a new access token when I upgrade?
Cause
-
Old version. The latest DataHub Cloud release is v2.4.4. Its recommended Remote Executor images are
v2.2.0-cloudthroughv2.4.4-cloud. Images such asv1.0.0-cloudare not on that list, so an executor on one of them must be upgraded. -
Tag format. Current image tags look like
v2.4.2-cloud, with no period after thev. The DataHub Cloud v1.0.0 release notes print one version asv.1.0.0-cloud, with a period. Don't copy that form. - Registry access. The DataHub Cloud image registry is private. Your account can pull only after you arrange access with DataHub.
-
Token or URL. The executor needs a token of type Remote Executor, not a user Personal Access Token. For ECS and Helm deployments, the DataHub URL must end in
/gms.
Solution
-
Pick a version from the release notes. The image doesn't have to match the server version exactly. Each release's notes list the Remote Executor images that work with that server under "Recommended Versions". Run one of them. For server v2.4.4, the list is
v2.4.4-cloud,v2.4.3-cloud,v2.4.2-cloud,v2.4.1-cloud,v2.4.0-cloud,v2.3.0-cloudthroughv2.3.6-cloud, andv2.2.0-cloudthroughv2.2.3-cloud. The notes for v2.4.4 recommend Helm chart 0.0.80. The recommended chart version changes between patch releases, so check the notes for your server release. See the release notes. -
Use the correct tag format. Write
v2.4.4-cloud, with no period after thev. -
Arrange registry access with DataHub. Don't use a registry path copied from another account or an older article.
- Amazon ECS: give DataHub your AWS account ID, through your DataHub representative or a secure sharing service. This lets your account pull from the private DataHub Cloud ECR.
- Amazon EKS: give DataHub the IAM principal that pulls from ECR.
- Google Kubernetes Engine: give DataHub the cluster's IAM service account.
- Other platforms: contact DataHub.
The docs name AWS ECR and
docker.datahub.comas registries. See Configuration Prerequisites. -
Update your deployment.
- ECS with CloudFormation: In the CloudFormation console, select the stack and choose Update. Choose Replace current template and upload the latest template file. Change the executor version parameter to your new tag. Parameters you don't change keep their values. Acknowledge the IAM capabilities and choose Update stack. The update happens in place. Existing IAM roles and secrets are kept, and the ECS service rolls the task.
-
ECS with Terraform: Set
datahub.image_tag(for example"v2.4.2-cloud"), or raise the module?ref=tag to pick up a newer pinned default image. Then runterraform apply. Module tags (for examplev2.1.0) and image tags are versioned independently. -
Kubernetes: Run
helm repo update acryl. Then runhelm upgrade --reuse-values --set <key>="<value>" acryl-executor-worker acryl/datahub-executor-worker.
-
If the executor can't connect to DataHub, check the token and URL. The docs list these checks for connection failures: network connectivity, the DataHub URL, the Executor Pool ID and the access token.
- Use a token of type Remote Executor. Create it under Settings > Access Tokens > Generate new token > Remote Executor. Don't use a user-issued Personal Access Token. To create it, you need the Manage Metadata Ingestion privilege. You also need Generate Personal Access Tokens, or the Generate new token menu is disabled.
- For ECS and Helm deployments, set the DataHub URL with the trailing
/gms, for examplehttps://<company>.acryl.io/gms. The docs say the suffix is mandatory for those methods. The documented Docker test example setsDATAHUB_GMS_URLwithout/gms, so follow the docs for your deployment method. - Make sure the Executor Pool ID matches a pool under Data Sources > Executors.
- Update the executor configuration with the new token or URL. You don't need a new token for an upgrade alone.
-
If you use a
-lockedimage, it can't install packages. A run that needs a connector or CLI version that isn't bundled in the image fails. Use an unlocked image for those runs. -
Check the executor after the upgrade. In the UI, go to Data Sources > Executors. Each pool shows its executors with a status of Active or Stale. See UI-Based Health Monitoring.