<@U04S8PLJWMT> im trying to store airbyte to our a...
# ask-ai
e
@kapa.ai im trying to store airbyte to our aws ecr, these components i have in my ecr : "server" "webapp" "worker" "db" "temporal" "cron" "connector-builder-server" "workload-launcher" "bootloader" "workload-api-server" "connector-builder-server" "workload-init-container" am i missing something?
k
Based on the official Airbyte documentation, the typical list of platform images you should have in your custom image registry (such as AWS ECR) includes the following: - airbyte/bootloader - airbyte/connector-builder-server - airbyte/connector-sidecar - airbyte/container-orchestrator - airbyte/cron - airbyte/db - airbyte/mc - airbyte/server - airbyte/webapp - airbyte/worker - airbyte/workload-api-server - airbyte/workload-init-container - airbyte/workload-launcher Additionally, Airbyte also pulls some third-party images: - bitnami/kubectl - busybox (both :1.35 and :latest) - curlimages/curl - minio/minio - temporalio/auto-setup From your list, you are missing the following platform images: - airbyte/connector-sidecar - airbyte/container-orchestrator - airbyte/mc And you do not mention the third-party images, which are also required for a complete deployment. Recommendation: Make sure to include all the platform images listed above, and also ensure that the required third-party images are available in your ECR or accessible to your Airbyte deployment. You can generate the full list for your version using:
Copy code
bash abctl images manifest
This will give you the exact images and tags needed for your Airbyte version. For more details, see the documentation on [custom image registries](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries#step-2-tag-and-push-airbyte-images) and [customizing your deployment](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configure-a-custom-image-registry).
e
@kapa.ai so for airbyte 1.7.2 version how the platform images should look like?
k
A message from kapa.ai
For Airbyte version 1.7.2, the platform images you should have in your custom image registry are those listed by the abctl tool for your version. According to the documentation, a typical manifest for Airbyte platform images includes: - airbyte/bootloader:1.7.2 - airbyte/connector-builder-server:1.7.2 - airbyte/connector-sidecar:1.7.2 - airbyte/container-orchestrator:1.7.2 - airbyte/cron:1.7.2 - airbyte/db:1.7.2 - airbyte/mc:latest - airbyte/server:1.7.2 - airbyte/webapp:1.7.2 - airbyte/worker:1.7.2 - airbyte/workload-api-server:1.7.2 - airbyte/workload-init-container:1.7.2 - airbyte/workload-launcher:1.7.2 Additionally, you may need the following third-party images: - bitnami/kubectl:1.28.9 - busybox:1.35 - busybox:latest - curlimages/curl:8.1.1 - minio/minio:RELEASE.2023-11-20T22-40-07Z - temporalio/auto-setup:1.23.0 To get the exact list for your version, run:
Copy code
bash abctl images manifest
This will output the full set of images (with tags) required for Airbyte 1.7.2. For more details, refer to the official documentation on [custom image registries](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configure-a-custom-image-registry) and [tagging and pushing images](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries#step-2-tag-and-push-airbyte-images).
e
@kapa.ai what else im missing? seems that Pods doesnt start for workloads when trying to sync a connection
k
A message from kapa.ai
Based on the knowledge sources and your previous messages, here are the most common reasons why Airbyte workload pods (for syncs or checks) do not start, even when you have all the main platform images in your ECR: ### 1. Missing Required Images You must have all platform images, including: -
airbyte/connector-sidecar
-
airbyte/container-orchestrator
-
airbyte/mc
These are sometimes overlooked. Also, ensure all required third-party images (e.g.,
bitnami/kubectl
,
busybox
,
curlimages/curl
,
minio/minio
,
temporalio/auto-setup
) are available or accessible, as Airbyte may attempt to pull them during pod startup. If any are missing or inaccessible, pods may fail to start or hang in
PodInitializing
or
Pending
states [source](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries). ### 2. Kubernetes Image Pull Secrets If your ECR is private, you must: - Create a Kubernetes Secret with your ECR credentials. - Set the
JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET
environment variable on the
airbyte-worker
pod to the name of this secret. If this is not set up, pods will not be able to pull images and will remain in a pending state [source](https://docs.airbyte.com/platform/1.7/operator-guides/using-custom-connectors#for-kubernetes-airbyte-deployments). ### 3. Cluster Resource Constraints If your Kubernetes cluster does not have enough resources (CPU, memory, disk, or available pod slots), new workload pods will not be scheduled. Airbyte recommends being able to schedule up to
2 x <number-of-possible-concurrent-connections>
pods at once, and at least 30GB disk per node [source](https://docs.airbyte.com/platform/1.7/operator-guides/scaling-airbyte#what-to-scale). ### 4. Pod Status and Logs If pods are stuck in
PodInitializing
or
Pending
, check: - Pod events (
kubectl describe pod <pod-name>
) - Container logs for errors about image pull, permissions, or resource limits. ### 5. Service Account and Permissions If your workload pods are missing the correct service account or permissions, they may not start properly. Ensure the pods have the correct
serviceAccountName
and necessary RBAC permissions [source](https://github.com/airbytehq/airbyte/issues/50979). ### 6. Other Common Issues - Network policies or firewalls blocking access to ECR or other required endpoints. - Incorrect image tags or registry URLs in your Airbyte configuration. --- Summary: Double-check that you have all required platform and third-party images, your Kubernetes cluster can pull from ECR (with the correct image pull secret), and that you have enough resources. Also, review pod events and logs for more specific errors. If you are still stuck, please provide pod status and event output for further troubleshooting. If you need the exact list of images for your version, use:
Copy code
bash abctl images manifest
as described in the [custom image registry documentation](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries).
e
@kapa.ai the only thing what has been changed is that we switched from dockercache to our ecr registry, before switching everything was working. Any nuances when switching?
k
A message from kapa.ai
When switching Airbyte from using a DockerHub cache (dockercache) to your own AWS ECR registry, there are a few important nuances and requirements to ensure everything works smoothly: 1. Image Pull Secrets: With ECR, you must create a Kubernetes secret containing your ECR credentials and reference it in your Airbyte deployment. This is done by creating a secret (e.g.,
regcred
) and adding it to your
values.yaml
under
global.imagePullSecrets
. If this is missing or misconfigured, pods will fail to pull images and remain in a pending state.
Copy code
yaml    global:      image:        registry: <your_ecr_registry>      imagePullSecrets:        - name: regcred
[See details](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries#step-1-customize-airbyte-to-use-your-image-registry) 2. All Required Images Must Be Present: ECR must contain all Airbyte platform images and any required third-party images. If any are missing, pods may not start. Use
abctl images manifest
to get the full list for your version and ensure all are pushed to ECR [source](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configure-a-custom-image-registry). 3. Connector Images: Setting
global.image.registry
only affects Airbyte platform images, not connector images. Connector images may still try to pull from DockerHub unless you have also mirrored and retagged them in your ECR and updated Airbyte to use those images. This is a known limitation, and some users have worked around it by updating the Airbyte database directly to point to their ECR for connectors, but this is not officially documented as a supported method [source](https://github.com/airbytehq/airbyte/issues/21123). 4. Authentication Differences: DockerHub and ECR have different authentication mechanisms. Ensure your Kubernetes nodes (or pods) are properly authenticated to pull from ECR, which may require additional IAM permissions or node role configuration. 5. Network and Permissions: Make sure your Kubernetes cluster can reach ECR endpoints and that there are no network or firewall issues blocking access. Summary: The most common issues when switching to ECR are missing image pull secrets, incomplete image sets in ECR, and connector images still referencing DockerHub. Double-check your image pull secret configuration and ensure all required images are present in ECR. If connector images are not found in ECR, Airbyte may still try to pull them from DockerHub, which could cause failures if access is restricted. If you have followed all the steps and still experience issues, check pod events and logs for image pull errors, as these will often indicate what is missing or misconfigured. [Reference: Custom image registry setup](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/custom-image-registries#step-1-customize-airbyte-to-use-your-image-registry)
e
@kapa.ai workload launcher gives me:
2025-08-26 10:59:10,292 [main]	ERROR	i.a.a.c.a.DataplaneAccessTokenInterceptor(intercept):131 - Failed to obtain or add dataplane access token
java.net.ConnectException: Failed to connect to
and airbyte server gives me an error:
2025-08-26 11:22:52,383 [io-executor-thread-6]	ERROR	i.a.s.a.ApiHelper(execute):47 - Unexpected Exception
io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 4 and attempt no: 0
k
A message from kapa.ai
Your errors indicate two separate but potentially related issues after switching to AWS ECR: --- ### 1. Workload Launcher: Dataplane Access Token Error
Copy code
ERROR i.a.a.c.a.DataplaneAccessTokenInterceptor(intercept):131 - Failed to obtain or add dataplane access token java.net.ConnectException: Failed to connect to
This error means the workload launcher cannot connect to the Dataplane API to obtain an access token. This is a known issue in Airbyte 1.6.x and 1.7.x when the dataplane secrets or configuration are missing or corrupted, especially after changes to the deployment or database. The root cause is often: - The required secrets (dataplane-client-id, dataplane-client-secret) are missing from the
airbyte-auth-secrets
Kubernetes secret. - The database tables
dataplane
and
dataplane_client_credentials
are empty or inconsistent. - The workload launcher cannot reach the API server due to network or configuration issues. Relevant workaround (from 1.6.x, but applies to 1.7.x): - Delete the contents of the
dataplane
and
dataplane_client_credentials
tables in the Airbyte database. - Re-run the Airbyte installation to regenerate the secrets and credentials. Example steps:
Copy code
bash kubectl exec -it -n <namespace> airbyte-db-0 -- /bin/bash psql -U airbyte db-airbyte delete from dataplane_client_credentials; delete from dataplane; \q exit
Then re-run your install command (e.g.,
abctl local install --insecure-cookies -v
). This should recreate the dataplane and its credentials and put them in the correct place. If the secrets are not recreated, pods will fail to start and you will see the access token error. [See details and user confirmations](https://github.com/airbytehq/airbyte/issues/58587) --- ### 2. Airbyte Server: Could Not Find Attempt Stats
Copy code
io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 4 and attempt no: 0
This error means the Airbyte server cannot find the stats for a specific job attempt. This is often a symptom of jobs not running or completing, which can be caused by the workload pods not starting (as in your case, due to the dataplane/auth issue above). [See similar error](https://github.com/airbytehq/airbyte/issues/48503) --- ### Summary of Next Steps - Check your
airbyte-auth-secrets
secret
in Kubernetes and ensure it contains the required dataplane keys. - Ensure the
dataplane
and
dataplane_client_credentials
tables
are correctly populated. If not, follow the workaround above to reset and let Airbyte regenerate them. - Check network connectivity between the workload launcher and the API server. - Review pod logs and events for more details if issues persist. If the secrets are not being recreated after following the workaround, there may be a deeper issue with your deployment or database state. In that case, please provide more logs or details for further troubleshooting. --- If you need more specific guidance, please share the output of: -
kubectl get secrets -n <namespace>
-
kubectl describe secret airbyte-auth-secrets -n <namespace>
- Any recent changes to your Airbyte database or deployment method. --- Note: The knowledge sources do not provide a solution specific to Airbyte 1.7.2, but the issues and workarounds described for 1.6.x are directly relevant and have been confirmed by users in similar situations.
e
@kapa.ai so got a new error: 2025-08-27 105413 platform ERROR Stage Pipeline Exception: io.airbyte.workload.launcher.pipeline.stages.model.StageError: io.airbyte.workers.exception.KubeClientException: Failed to create pod source-quora-ads-check-6-0-kqtli. message: io.airbyte.workers.exception.KubeClientException: Failed to create pod source-quora-ads-check-6-0-kqtli. stackTrace: [Ljava.lang.StackTraceElement;@584464ce
k
A message from kapa.ai
The error message you are seeing:
Copy code
io.airbyte.workload.launcher.pipeline.stages.model.StageError: io.airbyte.workers.exception.KubeClientException: Failed to create pod source-quora-ads-check-6-0-kqtli.
is a generic error indicating that Airbyte's workload launcher failed to create a Kubernetes pod for the specified job. This type of error can have several root causes, and the knowledge sources provide examples of similar issues, but do not specify a single root cause for every case. Common causes for this error, as seen in the knowledge sources, include: - Image Pull Issues: If the required images are not present in your registry or there are issues with image pull secrets, pod creation will fail. This is especially relevant if you recently switched to a custom registry like AWS ECR and may have missed some required images or misconfigured image pull secrets. [See details](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configure-a-custom-image-registry) - Duplicate imagePullSecrets: If your
values.yaml
or Helm configuration introduces duplicate
imagePullSecrets
, pod creation can fail with a similar error. [See example](https://github.com/airbytehq/airbyte/issues/52034) - Service Account or RBAC Issues: If the service account used by Airbyte does not have the correct permissions, or if Airbyte is looking for a service account that does not exist, pod creation can fail. [See example](https://github.com/airbytehq/airbyte/issues/49938) - Kubernetes Resource Constraints: If your cluster does not have enough resources (CPU, memory, or available pod slots), pods may not be scheduled. - Other Kubernetes Errors: Sometimes, the error is due to a lower-level Kubernetes issue, such as network policies, node taints, or other cluster misconfigurations. What to do next: 1. Check the Airbyte workload launcher logs for more detailed error messages. 2. Describe the failed pod using
kubectl describe pod <pod-name>
to get more information about why the pod failed to be created. 3. Check for image pull errors, permission issues, or resource constraints in the pod events. If you can provide the detailed error message or pod events, it will be possible to give more targeted advice. The knowledge sources do not provide a single solution for this error, as it is a generic failure that can have multiple causes depending on your environment and configuration. If you recently switched to ECR, double-check your image pull secrets and ensure all required images are present in your registry, as this is a common source of such errors after a registry migration [see example](https://github.com/airbytehq/airbyte/issues/52034).