Airbyte could not start the process within time li...
# ask-ai
s
Airbyte could not start the process within time limit. The workload was never claimed. Getting this error everytime in my self hosted airbyte. I heard it could be related to logs in minio? It's brought up with abctl not docker
k
Based on the knowledge sources, the error "Airbyte could not start the process within time limit. The workload was never claimed" is indeed often related to MinIO storage issues, even when using
abctl
deployment. ## Common Causes and Solutions MinIO Storage Full The most common cause is that MinIO storage has filled up. According to [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), the default MinIO PVC is only 500MB and can fill up quickly with logs from frequent sync jobs. Solutions: 1. Clear MinIO logs - You can delete logs from the MinIO container without deleting the entire storage: - Access the MinIO pod - Delete logs in
/storage/airbyte-storage/job-logging/workspace
- Optionally delete logs in
/storage/airbyte-storage/workload/output
2. Increase storage allocation - For
abctl
deployments, you can increase the MinIO storage size in your values.yaml:
Copy code
yaml    minio:      storage:        volumeClaimValue: 2Gi
3. Reduce log retention - Add this to your values.yaml to reduce how long logs are kept (default is 30 days):
Copy code
yaml    env_vars:      TEMPORAL_HISTORY_RETENTION_IN_DAYS: 7
Other Potential Issues According to [workload-launcher false positive liveness probes under lost storage connection](https://github.com/airbytehq/airbyte/issues/57011), network connectivity issues between the workload-launcher pod and storage can also cause workloads to not be claimed. If clearing storage doesn't help, check your network connectivity and consider restarting the workload-launcher pod. The knowledge sources confirm that multiple users have resolved this issue by addressing MinIO storage problems, as noted in [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812).
s
@kapa.ai How can I clear the minio logs to delete
k
A message from kapa.ai
Based on the knowledge sources, here are the methods to clear MinIO logs: ## For Kubernetes Deployments According to [How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101), you can SSH into the MinIO pod and manually delete the logs: 1. Execute into the MinIO pod:
Copy code
bash    kubectl exec -it <minio-pod-name> -- /bin/sh
2. Delete the logs in these directories: -
/storage/airbyte-dev-logs/job-logging/workspace/
-
/storage/airbyte-storage/job-logging/workspace
-
/storage/airbyte-storage/workload/output
(optional) As noted in [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), one user confirmed: "I didn't delete the whole MinIO storage but went into the MinIO container and deleted the logs in the following directory: **/storage/airbyte-storage/job-logging/workspace**" ## For abctl Deployments Since you're using
abctl
, you'll need to access the MinIO pod in your local Kubernetes cluster. You can: 1. First, get your pod name:
Copy code
bash    kubectl get pods -n <namespace>
2. Then exec into the MinIO pod and delete the logs as described above. ## Alternative: Delete Persistent Volume According to [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), another option is to delete the persistent volume attached to airbyte-minio, though this will clear all logs. Note: The knowledge sources indicate that manually deleting logs from these directories is safe and has successfully resolved storage issues for multiple users.
s
@kapa.ai I feel like abctl handles most of this so the namespace isn't accessible
k
A message from kapa.ai
You're correct that
abctl
manages the Kubernetes cluster for you, but the namespace is still accessible. According to the [Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq) documentation, you can interact with the pods using standard Kubernetes tools. ## Accessing the MinIO Pod with abctl To access the MinIO pod in your
abctl
deployment: 1. Use the correct kubeconfig path:
Copy code
bash    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods
2. Find the MinIO pod name (it should be something like
airbyte-minio-0
) 3. Exec into the MinIO pod:
Copy code
bash    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl exec -it airbyte-minio-0 -- /bin/sh
4. Delete the logs in the directories mentioned earlier: -
/storage/airbyte-storage/job-logging/workspace
-
/storage/airbyte-storage/workload/output
## Alternative: Configure kubectl for abctl According to [Developing Locally](https://docs.airbyte.com/platform/contributing-to-airbyte/developing-locally#prerequisites), you can also configure your kubectl to work with the abctl cluster:
Copy code
bash kind export kubeconfig -n airbyte-abctl
After running this, you can use standard
kubectl
commands without specifying the kubeconfig path:
Copy code
bash kubectl get pods -n airbyte-abctl kubectl exec -it airbyte-minio-0 -n airbyte-abctl -- /bin/sh
The namespace is
airbyte-abctl
for deployments created with
abctl
.
s
is it safe to clear airbyte-dev-logs
@kapa.ai is it safe to clear airbyte-dev-logs
k
A message from kapa.ai
Based on the knowledge sources, yes, it is safe to clear the logs in the airbyte-dev-logs directory. According to [How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101), MinIO primarily stores logs, and "simply deleting the minio storage resolved this issue" for users experiencing storage problems. The knowledge sources confirm that multiple users have successfully deleted logs from these directories without causing issues: -
/storage/airbyte-dev-logs/job-logging/workspace/
-
/storage/airbyte-storage/job-logging/workspace
-
/storage/airbyte-storage/workload/output
As stated in [Security](https://docs.airbyte.com/platform/operating-airbyte/security), technical logs are "stored for troubleshooting purposes" and may contain sensitive data based on the connection's state data. However, the actual data being transferred is not stored in Airbyte - it states: "As soon as data is transferred from the source to the destination, it is purged from an Airbyte deployment." What you'll lose: Only the historical logs used for troubleshooting past sync jobs. Your connections, configurations, and actual data syncs will not be affected. Note: If you need to retain logs for compliance or troubleshooting purposes, consider backing them up before deletion. Otherwise, clearing these logs is a safe and recommended way to free up MinIO storage space.
s
I cleared the storage and it's still hanging and then erroring out with nothing picked up the workload @kapa.ai
k
A message from kapa.ai
Based on the knowledge sources, if clearing MinIO storage didn't resolve the issue, there are several other potential causes for workloads not being claimed: ## Additional Troubleshooting Steps 1. Check Workload-Launcher Pod Status According to [Syncs getting stuck on](https://discuss.airbyte.io/t/2394), one user found that their
airbyte-worker
was stuck in pending state. Check if your workload-launcher pod is running properly:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods
Look for the
airbyte-workload-launcher
pod and verify it's in a "Running" state. 2. Restart the Workload-Launcher Pod According to [workload-launcher false positive liveness probes under lost storage connection](https://github.com/airbytehq/airbyte/issues/57011), the workload-launcher pod can become a "zombie" and be unable to correctly process work off the queue. The fix mentioned was "simply to delete the Pod and let the Deployment create a new one." Try deleting the workload-launcher pod:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl delete pod <workload-launcher-pod-name>
3. Check for Resource Constraints According to [Temporal Scheduler Causing Multiple Syncs to Hang](https://discuss.airbyte.io/t/1293), one user found that setting
MAX_SYNC_WORKERS
equal to
MAX_CHECK_WORKERS
helped resolve hanging syncs. However, the knowledge sources don't provide specific guidance on how to configure these settings for
abctl
deployments. 4. Restart All Airbyte Pods According to [Temporal Scheduler Causing Multiple Syncs to Hang](https://discuss.airbyte.io/t/1293), one user reported: "we could temporarily fix this issue by restarting the airbyte pods." 5. Check Logs The knowledge sources suggest checking the sync logs for more details. According to [Syncs getting stuck](https://discuss.airbyte.io/t/3797), support agents typically ask for sync logs to diagnose these issues. If none of these steps resolve the issue, the knowledge sources suggest this may require deeper investigation with full logs from the affected syncs and pods.
s
@kapa.ai // HttpError { "i18nKey": "errors.http.serviceUnavailable", "i18nParams": { "status": 503 }, "name": "HttpError", "requestId": "sFcCDPUGCAnYZynbVosa14", "request": { "url": "/api/v1/web_backend/config", "method": "GET" }, "status": 503, "response": "<html>\r\n<head><title>503 Service Temporarily Unavailable</title></head>\r\n<body>\r\n<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n" } Now getting this error when trying to connect via the browser to airbyte
k
A message from kapa.ai
Based on the knowledge sources, the HTTP 503 error you're seeing is related to an ingress misconfiguration issue that affects
abctl
deployments, particularly in versions around 1.7-1.8. ## Root Cause According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), the ingress is misconfigured to point to
airbyte-abctl-airbyte-webapp-svc
, but that service doesn't exist in the deployment. This causes the ingress to fail with "service not found" errors and returns HTTP 503 Service Unavailable. ## Solutions 1. Check Your Ingress Configuration First, verify the issue:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl describe ingress ingress-abctl
Look for errors like
services "airbyte-abctl-airbyte-webapp-svc" not found
. 2. Temporary Fix: Enable Webapp Service According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), you can add the webapp service to your values.yaml as a hotfix:
Copy code
yaml webapp:   enabled: true   image:     tag: 1.7.8     repository: airbyte/webapp     pullPolicy: IfNotPresent
3. Alternative: Downgrade According to [403 forbidden error on local deployment when creating a custom connector](https://github.com/airbytehq/airbyte/issues/61677), some users successfully downgraded to version 1.6.3:
Copy code
bash abctl local uninstall abctl local install --chart-version 1.6.3
4. Check for Updates According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), there was a fix submitted for
abctl
. Check if a newer version of
abctl
is available that addresses this issue. The 503 error is specifically an ingress/nginx routing problem, not related to the workload claiming issue you were experiencing earlier. This is a known issue with certain
abctl
versions.
s
@kapa.ai According to abctl v0.30.1 installs Airbyte v1.8.1 with incorrect ingress target (webapp-svc instead of server-svc), you can add the webapp service to your values.yaml as a hotfix: How do I do this?
k
A message from kapa.ai
Based on the knowledge sources, here's how to add the webapp service to your values.yaml for an
abctl
deployment: ## Steps to Apply the Hotfix 1. Create or locate your values.yaml file For
abctl
deployments, you'll need to create a values.yaml file if you don't already have one. 2. Add the webapp configuration According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), add this to your values.yaml:
Copy code
yaml webapp:   enabled: true   image:     tag: 1.7.8     repository: airbyte/webapp     pullPolicy: IfNotPresent
3. Apply the configuration However, I need to note that the knowledge sources indicate a limitation here. According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), one user commented: "The documentation is for Helm chart. Abctl has already wrapped the ingress rule, you cannot change it via value.yaml." This suggests that while the hotfix was mentioned, the knowledge sources don't explicitly explain how to apply a custom values.yaml file to an existing
abctl
deployment
. The standard
abctl
commands don't show a clear way to pass custom values. ## Alternative Approach The knowledge sources suggest that a proper fix was submitted to
abctl
itself. According to [abctl
v0.30.1
installs Airbyte
v1.8.1
with incorrect ingress target (webapp-svc instead of server-svc)](https://github.com/airbytehq/airbyte/issues/65539), one user mentioned: "I submitted a fix on abctl. I'm using this version until a fix get merged: https://github.com/airbytehq/abctl/pull/188" I'm sorry, but the knowledge sources don't contain complete information on how to apply custom values.yaml configurations to an existing
abctl
deployment. You may need to check if a newer version of
abctl
is available that includes the fix.
s
Can you pin the local version of airbyte so it doesn't always update?
@kapa.ai Can you pin the local version of airbyte so it doesn't always update?
k
A message from kapa.ai
Based on the knowledge sources, yes, you can pin a specific version of Airbyte when using
abctl
, but the approach is different from pinning connector versions. ## Pinning Airbyte Version with abctl According to the [abctl reference documentation](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference), you can specify a specific Helm chart version when installing:
Copy code
bash abctl local install --chart-version <VERSION>
For example, to install version 1.1.0:
Copy code
bash abctl local install --chart-version 1.1.0
This is confirmed by a [GitHub issue](https://github.com/airbytehq/airbyte/issues/55251) where users reported: "you currently have to lock the version `abctl local install --chart-version 1.1.0`" ## Important Notes 1. This pins the installation, not automatic updates: When you run
abctl local install
with a specific
--chart-version
, it installs that version. However, the knowledge sources don't explicitly state whether this prevents future
abctl local install
commands from upgrading to newer versions. 2. Check available versions: According to the [Upgrading Airbyte documentation](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte), you can check which Helm chart versions are available in the [Airbyte ArtifactHub](https://artifacthub.io/packages/helm/airbyte/airbyte). 3. Connector pinning is separate: The [Connector upgrade guide](https://docs.airbyte.com/integrations/sources/gitlab-migrations#connector-upgrade-guide) explains how to pin specific connector versions through the UI (Workspace/Organization settings > Sources/Destinations), but this is separate from pinning the Airbyte platform version. The knowledge sources don't explicitly mention a configuration option to permanently prevent
abctl
from upgrading Airbyte when you run
abctl local install
without specifying a version.
s
failed to determine if any previous psql version exists: error reading pgdata version file: open /home/ec2-user/.airbyte/abctl/data/airbyte-volume-db/pgdata/PG_VERSION: permission denied Now getting this error @kapa.ai
k
A message from kapa.ai
Based on the knowledge sources, this is a PostgreSQL permission error that commonly occurs with
abctl
deployments. This error indicates that the PostgreSQL container doesn't have the correct permissions to access its data directory. ## Root Cause According to multiple GitHub issues, this happens when the PostgreSQL data directory (
/var/lib/postgresql/data/pgdata
) has incorrect ownership or permissions. The PostgreSQL container runs as user ID 70 (the postgres user), but the directory may be owned by a different user. ## Solutions 1. Fix Directory Permissions (Recommended) According to [Permission issue while installing Airbyte with abctl](https://github.com/airbytehq/airbyte/issues/62093), the most effective solution is to change the ownership of the data directory to match the PostgreSQL user:
Copy code
bash chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
One user confirmed: "I've managed to get it up and running by
chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
(70 is the uid used in the postgresql pod)." 2. Clean Install (Alternative) According to [Migration schema error cannot run abctl local install](https://github.com/airbytehq/airbyte/issues/58864), if the first install failed or was interrupted, you may need to completely remove the data directory and reinstall:
Copy code
bash rm -rf ~/.airbyte/abctl/data abctl local install
Or use the persisted uninstall option:
Copy code
bash abctl local uninstall --persisted abctl local install
3. Check for SELinux/AppArmor Issues According to [abctl install fails with postgres permissions error](https://github.com/airbytehq/airbyte/issues/41063), this error can also occur on systems with strict security policies. The knowledge sources show this issue occurring on various Linux distributions including Amazon Linux, Ubuntu, and macOS. ## Why This Happens According to [Storage not getting created on windows](https://github.com/airbytehq/airbyte/issues/40641), the error occurs when: - The data directory was created with incorrect permissions - A previous installation failed mid-process - The system's security policies prevent the PostgreSQL container from accessing the directory The
chown 70:70
command is the most commonly successful solution mentioned across multiple issues in the knowledge sources.
s
@kapa.ai I did that and still get the same error. Does it do it for all subfolders?
k
A message from kapa.ai
Based on the knowledge sources, yes, you need to apply the permissions recursively to all subfolders. The
chown
command you ran may not have affected the subdirectories. ## Apply Permissions Recursively Try running the command with the
-R
flag to apply permissions recursively:
Copy code
bash chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
According to [abctl local install on M4 macOS 15.2 fails with error "pod airbyte-abctl-airbyte-bootloader failed"](https://github.com/airbytehq/airbyte/issues/50429), one user's Ansible implementation included:
Copy code
yaml - name: Airbyte -> Create required directories before installation   become: true   ansible.builtin.file:     path: "/var/local-path-provisioner/airbyte-volume-db"     state: directory     mode: '0777'     recurse: true
Note the
recurse: true
parameter, which ensures permissions are applied to all subdirectories. ## Alternative: More Permissive Approach According to [
abctl local uninstall
removes existing configuration](https://github.com/airbytehq/airbyte/issues/64508), one user resolved a similar permissions issue with:
Copy code
bash sudo chmod -R 777 ~/.airbyte/abctl
This is more permissive but may help if the recursive
chown
doesn't work. ## If Still Failing If the recursive permissions fix doesn't work, according [Migration schema error cannot run abctl local install](https://github.com/airbytehq/airbyte/issues/58864), you may need to completely remove the data directory and start fresh:
Copy code
bash rm -rf ~/.airbyte/abctl/data abctl local install
The key is ensuring that all files and subdirectories within the PostgreSQL data directory have the correct ownership (user 70, group 70).
s
Copy code
sudo chmod -R 777 ~/.airbyte/abctl
This fixed it.
@kapa.ai unable to set permissions for '/home/ec2-user/.airbyte/abctl/data/airbyte-volume-db': chmod /home/ec2-user/.airbyte/abctl/data/airbyte-volume-db: operation not permitted Now I am getting this error - I think because I changed the permission before using chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
k
A message from kapa.ai
Based on the knowledge sources, the "operation not permitted" error when trying to set permissions is a known issue with
abctl
deployments. This error occurs because
abctl
itself is trying to set permissions on the directory, but it's encountering permission conflicts. ## Root Cause According to [abctl local install on M4 macOS 15.2 fails with error "pod airbyte-abctl-airbyte-bootloader failed"](https://github.com/airbytehq/airbyte/issues/50429), this error appears as:
Copy code
ERROR   Unable to set permissions for '/home/gabriellins/.airbyte/abctl/data/airbyte-volume-db' ERROR   unable to set permissions for '/home/gabriellins/.airbyte/abctl/data/airbyte-volume-db': chmod /home/gabriellins/.airbyte/abctl/data/airbyte-volume-db: operation not permitted
## Solution 1. Use sudo for permission changes Since you're on an EC2 instance, you may need to use
sudo
to change the permissions:
Copy code
bash sudo chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
2. Pre-create the directory with correct permissions According to [abctl local install on M4 macOS 15.2 fails with error "pod airbyte-abctl-airbyte-bootloader failed"](https://github.com/airbytehq/airbyte/issues/50429), one user's solution involved creating the directory with the correct permissions before running `abctl`:
Copy code
bash sudo mkdir -p /var/local-path-provisioner/airbyte-volume-db sudo chmod 777 /var/local-path-provisioner/airbyte-volume-db
However, for your case with
abctl
, you would need to ensure the
~/.airbyte/abctl/data/airbyte-volume-db
directory has the correct permissions before installation. 3. Clean install with proper permissions According to [Permission issue while installing Airbyte with abctl](https://github.com/airbytehq/airbyte/issues/62093) and [
abctl local uninstall
removes existing configuration](https://github.com/airbytehq/airbyte/issues/64508), the most reliable approach is:
Copy code
bash abctl local uninstall --persisted sudo rm -rf ~/.airbyte/abctl/data abctl local install
Then immediately after the directory is created (but before the installation completes), set the permissions:
Copy code
bash sudo chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
The key issue is that
abctl
is trying to manage permissions automatically, but it's conflicting with the manual permission changes you made. Using
sudo
should allow you to override the existing permissions.
s
@kapa.ai I Can't delete persisted data... I need it
Copy code
sudo chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
I actually already did run it with sudo before
k
A message from kapa.ai
Based on the knowledge sources, if you've already run
sudo chown -R 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
and still getting permission errors, there are a few additional approaches that don't require deleting your data: ## 1. Check Current Permissions First, verify what the current permissions actually are:
Copy code
bash ls -la ~/.airbyte/abctl/data/airbyte-volume-db
This will show you the owner and permissions of the directory and its contents. ## 2. Apply More Permissive Permissions Temporarily According to [abctl local install on M4 macOS 15.2 fails with error "pod airbyte-abctl-airbyte-bootloader failed"](https://github.com/airbytehq/airbyte/issues/50429), one approach is to use more permissive permissions:
Copy code
bash sudo chmod -R 777 ~/.airbyte/abctl/data/airbyte-volume-db
This is more permissive than the
chown
approach but may help get past the permission error without losing data. ## 3. Set Permissions on Parent Directory According to [
abctl local uninstall
removes existing configuration](https://github.com/airbytehq/airbyte/issues/64508), one user resolved their issue by setting permissions on the entire
abctl
directory:
Copy code
bash sudo chmod -R 777 ~/.airbyte/abctl
## 4. Check for Filesystem Issues According to [Storage not getting created on windows](https://github.com/airbytehq/airbyte/issues/40641), permission errors can also be caused by filesystem issues. The error logs showed: "drive may be faulty please investigate" and "file access denied, drive may be faulty please investigate". Check if there are any filesystem errors on your EC2 instance that might be preventing permission changes. ## 5. Verify PostgreSQL Pod Status Check if the PostgreSQL pod is actually trying to start:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-db-0
The logs may provide more specific information about what's causing the permission error. I'm sorry, but the knowledge sources don't contain a definitive solution for resolving permission errors while preserving data when the standard
sudo chown -R 70:70
command has already been attempted. The more permissive
chmod 777
approach is the next step mentioned in the knowledge sources that doesn't require data deletion.
s
@kapa.ai looks like we are back to the start. Job is stuck on queued, I assume it's going to timeout with the same error that nothing picked up the workload. I ran kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods And everything is running airbyte-abctl-workload-launcher-fbc8cbdf8-5qhtk 1/1 Running 1 (19m ago) 20m Interestingly the launcher had a restart 19 mins, 1 minute after it started though. Dont think it's signifant as the job I tried to run started 12 minutes ago
k
A message from kapa.ai
Based on the knowledge sources, if you're back to jobs stuck in "Queued" state with workloads not being claimed, there are several potential causes beyond storage and permissions: ## Check Workload-Launcher Logs The restart you noticed could be significant. According to [workload-launcher false positive liveness probes under lost storage connection](https://github.com/airbytehq/airbyte/issues/57011), the workload-launcher can become a "zombie" and be unable to correctly process work off the queue even while appearing to run normally. Check the workload-launcher logs for errors:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-workload-launcher-fbc8cbdf8-5qhtk
Look for messages like: -
Claimed: false for workload
- indicates workloads aren't being claimed -
Checking for non heartbeating workload
- should appear if the cron monitoring is working - Any storage connection errors ## Check Cron Pod According to [Sync attempt with killed pod hangs eternally](https://github.com/airbytehq/airbyte/issues/48879), the
cron
pod is responsible for monitoring workloads and should be checking for "non heartbeating workloads". Verify the cron pod is running:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods | grep cron
Then check its logs:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs <cron-pod-name>
## Check for Dataplane Mismatch According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), after upgrades, there can be a mismatch where "jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." The knowledge sources mention checking the database for this issue, but don't provide specific instructions for
abctl
deployments. ## Potential Version Issue According to [All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), you mentioned you're on version 1.5.1. The knowledge sources indicate that version 1.4.0 had fixes for workload monitoring issues. According to [Sync attempt with killed pod hangs eternally](https://github.com/airbytehq/airbyte/issues/48879), one contributor stated: "I have seen some activity around the cron recently, there should a few fixes in the next version" and recommended updating to version 1.4. However, I need to note that the knowledge sources don't provide clear guidance on whether upgrading from 1.5.1 would help, or if there are known issues with that specific version. The workload-launcher logs should provide the most insight into why workloads aren't being claimed.
s
2025-11-05 130442,707 [scheduled-executor-thread-8] INFO i.a.w.l.PodSweeper(sweepPods):149 - Completed pod sweeper cycle. 2025-11-05 130614,715 [scheduled-executor-thread-7] WARN i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 1 of 5. Last response: null 2025-11-05 130616,696 [scheduled-executor-thread-7] WARN i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 2 of 5. Last response: null 2025-11-05 130618,806 [scheduled-executor-thread-7] WARN i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 3 of 5. Last response: null 2025-11-05 130620,491 [scheduled-executor-thread-7] WARN i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 4 of 5. Last response: null 2025-11-05 130622,401 [scheduled-executor-thread-7] WARN i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 5 of 5. Last response: null 2025-11-05 130622,404 [scheduled-executor-thread-7] ERROR i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$7):95 - Retry attempts exceeded. java.net.ConnectException: Failed to connect to airbyte-abctl-airbyte-server-svc.airbyte-abctl/{ip removed}:8001 @kapa.ai looks like it's getting these errors
k
A message from kapa.ai
Based on the knowledge sources, the error you're seeing indicates that the workload-launcher pod cannot connect to the Airbyte server service. This is a connectivity issue between internal Kubernetes services. ## Root Cause According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), this exact error pattern appears when there are connection issues between Airbyte components:
Copy code
java.net.ConnectException: Failed to connect to airbyte-helm-workload-api-server-svc/10.152.183.203:8007
The error shows the workload-launcher is trying to connect to
airbyte-abctl-airbyte-server-svc
on port 8001 but failing after 5 retry attempts. ## Troubleshooting Steps 1. Verify the Server Service Exists Check if the server service is running:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get svc
Look for
airbyte-abctl-airbyte-server-svc
in the list. 2. Check Server Pod Status Verify the server pod is running and healthy:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods | grep server
Then check its logs:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs <server-pod-name>
3. Check for Connection Refused Errors According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), the logs also showed:
Copy code
Caused by: java.net.ConnectException: Connection refused
This suggests the server pod may not be listening on port 8001, or it's not fully started yet. 4. Restart the Server Pod According to [Multiple issues with 2.0.0 chart](https://github.com/airbytehq/airbyte/issues/68134), similar connection failures occurred when the server pod failed to start properly. Try restarting the server pod:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl delete pod <server-pod-name>
5. Check for Database Connection Issues According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), these connection failures were also accompanied by database connection errors:
Copy code
"error":"dial tcp 10.152.183.92:5432: connect: connection refused"
Check if your PostgreSQL pod is running and accessible. The workload-launcher cannot claim workloads because it cannot communicate with the server service to get workload information. This is why your jobs remain stuck in "Queued" state - the workload-launcher is unable to retrieve the workload details from the server.
s
kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods | grep server airbyte-abctl-server-8949646cd-n8xg9 1/1 Running 0 19m airbyte-abctl-workload-api-server-d559b9848-mqf4z 1/1 Running 0 25m Which one is it?
kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods | grep server airbyte-abctl-server-8949646cd-n8xg9 1/1 Running 0 19m airbyte-abctl-workload-api-server-d559b9848-mqf4z 1/1 Running 0 25m Which one is it to check logs? @kapa.ai
k
A message from kapa.ai
Based on the error you're seeing (
Failed to connect to airbyte-abctl-airbyte-server-svc
), you need to check the logs of
airbyte-abctl-server-8949646cd-n8xg9
. This is the main Airbyte server pod that the workload-launcher is trying to connect to on port 8001. The
airbyte-abctl-workload-api-server
is a different service (the Workload API server). Check the server logs with:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-server-8949646cd-n8xg9
According to the knowledge sources, you should look for: - Whether the server is successfully starting up - Any database connection errors (like
dial tcp 10.152.183.92:5432: connect: connection refused
) - Whether it's listening on port 8001 - Any startup failures or crashes The server pod needs to be fully running and healthy for the workload-launcher to be able to connect to it and claim workloads.
s
@kapa.ai It's giving a lot of errors like this: i.a.c.s.e.h.IdNotFoundExceptionHandler(handle):33 - Not found exception class NotFoundKnownExceptionInfo { id: null message: Id not found: Could not find attempt stats for job_id: 6220 and attempt no: 0
k
A message from kapa.ai
Based on the knowledge sources, the error you're seeing (
Could not find attempt stats for job_id: 6220 and attempt no: 0
) is a known issue related to storage configuration, particularly when using external storage like GCS or S3, but it can also occur with MinIO. ## What This Error Means According to [Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503), this error occurs when Airbyte cannot retrieve job attempt statistics from storage. The error appears as:
Copy code
io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 2199 and attempt no: 0
## Why It's Happening According to [JobHistoryHandler - "Missing stats for job" warning](https://discuss.airbyte.io/t/4016), this error started appearing for one user after adding storage-related environment variables. The knowledge sources indicate this is related to how Airbyte retrieves job statistics from storage. According to [Error: JobHistoryHandler in docker logs](https://discuss.airbyte.io/t/3804), these errors can flood the logs even when no work is happening, with one user reporting:
Copy code
grep "JobHistoryHandler" server.log | wc    7392   88704  853534
## Impact According to [JobHistoryHandler - "Missing stats for job" warning](https://discuss.airbyte.io/t/4016), one user noted: "Whenever we run a connection, the connection runs with no error, but in the server there are a lot of error handling but no description for the error." This suggests that while these errors are concerning and pollute the logs, they may not prevent syncs from completing. However, given your earlier issues with workloads not being claimed, this could be a symptom of the broader connectivity problem between the workload-launcher and server. ## Connection to Your Issue The combination of: 1. The workload-launcher unable to connect to the server (
Failed to connect to airbyte-abctl-airbyte-server-svc
) 2. These "attempt stats not found" errors Suggests that the server is having trouble accessing storage to retrieve job information, which could be why the workload-launcher cannot properly claim and process workloads. The knowledge sources indicate this is a known issue that has persisted across multiple versions (from 0.40.x through 1.6.x), particularly when using external storage configurations. However, the knowledge sources don't provide a definitive solution for resolving this specific error in
abctl
deployments.
s
@kapa.ai I deleted workspace minio data so that's probably why that error is there. However I don't think this is causing the main issue as the main issue was happening before I deleted that
k
A message from kapa.ai
You're correct that deleting the MinIO workspace data would cause the "attempt stats not found" errors, but based on the knowledge sources, the root cause of your workloads not being claimed is the connectivity issue between the workload-launcher and the server. ## The Primary Issue The critical error from your workload-launcher logs is:
Copy code
java.net.ConnectException: Failed to connect to airbyte-abctl-airbyte-server-svc.airbyte-abctl:8001
According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), this type of connection failure prevents the workload-launcher from communicating with the server to claim workloads. The workload-launcher needs to connect to the server to: - Retrieve workload information - Claim workloads for processing - Update workload status ## Why Jobs Stay Queued According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), when the workload-launcher logs show
Claimed: false for workload
, it means the launcher cannot successfully claim the workload from the API. In your case, the launcher can't even reach the server API to attempt claiming workloads. ## Next Steps Since your server pod is showing as "Running", check the server logs for: 1. Whether it's actually listening on port 8001 2. Any startup errors or crashes that might prevent it from accepting connections 3. Database connection issues - According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), connection failures were often accompanied by database connectivity problems The "attempt stats not found" errors are a secondary issue caused by the deleted MinIO data, but they shouldn't prevent new syncs from being claimed and started. The connection failure between workload-launcher and server is what's blocking your syncs from progressing beyond "Queued" state.
s
Can I check if it's looking at the right ip
Can I check if it's looking at the right ip @kapa.ai
k
A message from kapa.ai
Based on the knowledge sources, yes, you can verify if the workload-launcher is trying to connect to the correct IP address for the server service. ## Check the Server Service IP First, get the IP address that the server service is actually using:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get svc airbyte-abctl-airbyte-server-svc
This will show you the ClusterIP that the service is listening on. ## Compare with the Error Your workload-launcher error showed:
Copy code
Failed to connect to airbyte-abctl-airbyte-server-svc.airbyte-abctl/{ip removed}:8001
Compare the IP address in the error message with the ClusterIP shown by the
get svc
command. They should match. ## Check Service Endpoints According to the knowledge sources, you can also verify that the service has valid endpoints (i.e., it's actually routing to the server pod):
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get endpoints airbyte-abctl-airbyte-server-svc
This will show you if the service is properly connected to the server pod. If the endpoints list is empty or shows no ready addresses, that would indicate a problem with the service configuration. ## Check Pod IP You can also verify the server pod's IP address:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pod airbyte-abctl-server-8949646cd-n8xg9 -o wide
The pod IP should match one of the endpoints shown in the previous command. If there's a mismatch between what the workload-launcher is trying to connect to and what the service is actually configured with, that would explain the connection failures.
s
@kapa.ai I think ERROR i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$3):63 - Failed to call unknown. Last response: null This error in the launcher about unable to connect to the server was because the server was resetting while the credentials were being changed. So I don't think that's the issue why workloads aren't being claimed
k
A message from kapa.ai
You're right that the connection error during server restart would be temporary. However, based on the knowledge sources, if workloads are still not being claimed after the server has stabilized, there are other potential causes to investigate: ## Check for Dataplane Mismatch According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), a common issue after upgrades or restarts is a dataplane mismatch. One user found that "2 dataplane_group were existing (1 from before the upgrade to 2.0, 1 after the upgrade) and the jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." The workaround mentioned was to check the database:
Copy code
sql SELECT * FROM public.dataplane_group
And verify the workspace is pointing to the correct dataplane:
Copy code
sql SELECT id, organization_id, dataplane_group_id FROM public.workspace
## Check Workload Status in Database According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), another user working with Claude identified that workloads can get stuck in "launched" status in the database, which prevents them from being claimed again: > "The claims are failing because workloads in the database are stuck in 'launched' status, and the claim API has logic that prevents claiming workloads that are already in certain states (like 'launched')." ## Check Current Workload-Launcher Logs Since the server has restarted, check the current workload-launcher logs to see what's happening now:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-workload-launcher-fbc8cbdf8-5qhtk --tail=100
Look specifically for: -
Claimed: false for workload
messages - indicates workloads aren't being claimed - Any new connection errors - Whether it's successfully processing any workloads The knowledge sources indicate that workload claiming failures can have multiple root causes beyond connectivity issues, including database state problems and dataplane configuration mismatches.
s
Check for Dataplane Mismatch According to airbyte services stuck where no new job pods are launched, a common issue after upgrades or restarts is a dataplane mismatch. One user found that "2 dataplane_group were existing (1 from before the upgrade to 2.0, 1 after the upgrade) and the jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B."
Copy code
The workaround mentioned was to check the database:SELECT * FROM public.dataplane_group
Copy code
And verify the workspace is pointing to the correct dataplane:SELECT id, organization_id, dataplane_group_id FROM public.workspace
How do I check the DB
Check for Dataplane Mismatch According to airbyte services stuck where no new job pods are launched, a common issue after upgrades or restarts is a dataplane mismatch. One user found that "2 dataplane_group were existing (1 from before the upgrade to 2.0, 1 after the upgrade) and the jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B."
Copy code
The workaround mentioned was to check the database:SELECT * FROM public.dataplane_group
Copy code
And verify the workspace is pointing to the correct dataplane:SELECT id, organization_id, dataplane_group_id FROM public.workspace
@kapa.ai how do I check the DB
k
A message from kapa.ai
Based on the knowledge sources, here's how to access the Airbyte database in your
abctl
deployment: ## Accessing the Database According to the [Troubleshooting abctl documentation](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq), you can use
kubectl
to access the database pod. For
abctl
deployments, the database pod is typically named
airbyte-db-0
. 1. Execute into the database pod:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl exec -it airbyte-db-0 -- /bin/bash
2. Connect to the PostgreSQL database:
Copy code
bash psql -U airbyte db-airbyte
3. Run your queries: Once connected, you can run the queries to check for dataplane mismatches:
Copy code
sql SELECT * FROM public.dataplane_group;
And:
Copy code
sql SELECT id, organization_id, dataplane_group_id FROM public.workspace;
4. Exit when done:
Copy code
sql \q exit
## What to Look For According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), you're checking if: - Multiple
dataplane_group
entries exist (which shouldn't happen normally) - The
dataplane_group_id
in your workspace table matches the correct dataplane group If you find a mismatch, the workaround mentioned was to "update the right dataplane_group_id in the workspace table" to point to the correct dataplane group that the workload launcher is listening to.
s
id | organization_id | name | enabled | created_at | updated_at | tombstone --------------------------------------+--------------------------------------+------+---------+-------------------------------+-------------------------------+----------- {removed id} | 00000000-0000-0000-0000-000000000000 | AUTO | t | 2025-04-15 120900.840021+00 | 2025-04-15 120900.840021+00 | f {removed id} | 00000000-0000-0000-0000-000000000000 | | t | 2025-11-05 121119.062919+00 | 2025-11-05 121119.062919+00 | f (2 rows) Looks like multiple data planes exist - one seems to have somehow been created yesterday (so I did something wrong which may have caused this)
@kapa.ai id | organization_id | name | enabled | created_at | updated_at | tombstone --------------------------------------+--------------------------------------+------+---------+-------------------------------+-------------------------------+----------- {removed id} | 00000000-0000-0000-0000-000000000000 | AUTO | t | 2025-04-15 120900.840021+00 | 2025-04-15 120900.840021+00 | f {removed id} | 00000000-0000-0000-0000-000000000000 | | t | 2025-11-05 121119.062919+00 | 2025-11-05 121119.062919+00 | f (2 rows) Looks like multiple data planes exist - one seems to have somehow been created yesterday (so I did something wrong which may have caused this)
k
A message from kapa.ai
Based on the knowledge sources, you've identified the exact issue - you have two
dataplane_group
entries, which is causing the workload claiming problem. ## The Problem According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), this is a known issue where "2 dataplane_group were existing (1 from before the upgrade to 2.0, 1 after the upgrade) and the jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." In your case: - The first dataplane group (created April 15) has
name = 'AUTO'
- The second dataplane group (created November 5 - yesterday) has an empty
name
field ## The Solution According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), the workaround is to update the workspace table to point to the correct dataplane_group_id. 1. First, check which dataplane_group_id your workspace is currently using:
Copy code
sql SELECT id, organization_id, dataplane_group_id FROM public.workspace;
2. Identify which dataplane group the workload launcher is listening to: Check your workload-launcher logs to see if there are any references to which dataplane group it's monitoring. 3. Update the workspace to use the correct dataplane_group_id: If your workspace is pointing to the wrong dataplane group (likely the new one created yesterday), update it to point to the correct one:
Copy code
sql UPDATE public.workspace  SET dataplane_group_id = '<correct-dataplane-group-id>'  WHERE id = '<your-workspace-id>';
Replace
<correct-dataplane-group-id>
with the ID of the dataplane group that the workload launcher is listening to (likely the one with
name = 'AUTO'
from April 15). This mismatch explains why your workloads aren't being claimed - the jobs are being assigned to one dataplane group, but the workload launcher is monitoring a different one.
s
@kapa.ai Looks like it's pointing to the old one still db-airbyte=# SELECT * FROM public.dataplane_group; id | organization_id | name | enabled | created_at | updated_at | tombstone --------------------------------------+--------------------------------------+------+---------+-------------------------------+-------------------------------+----------- 1193a35a-39bd-4b12-805f-f0cad5dded9a | 00000000-0000-0000-0000-000000000000 | AUTO | t | 2025-04-15 120900.840021+00 | 2025-04-15 120900.840021+00 | f a987fa88-3474-439a-9fc7-b366146abdcf | 00000000-0000-0000-0000-000000000000 | | t | 2025-11-05 121119.062919+00 | 2025-11-05 121119.062919+00 | f (2 rows) db-airbyte=# SELECT id, organization_id, dataplane_group_id FROM public.workspace; id | organization_id | dataplane_group_id --------------------------------------+--------------------------------------+-------------------------------------- 186e5f78-37af-42e4-8436-8f1533ff98ea | 00000000-0000-0000-0000-000000000000 | 1193a35a-39bd-4b12-805f-f0cad5dded9a
k
A message from kapa.ai
Based on the knowledge sources, your workspace is pointing to the older dataplane group (
1193a35a-39bd-4b12-805f-f0cad5dded9a
with
name = 'AUTO'
from April 15), but the issue is that you likely have a newer dataplane group that was created yesterday (
a987fa88-3474-439a-9fc7-b366146abdcf
with empty name from November 5). ## Determine Which Dataplane the Workload Launcher is Listening To According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), the problem occurs when "jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." Check the workload-launcher logs to see which dataplane it's monitoring:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-workload-launcher-fbc8cbdf8-5qhtk | grep -i dataplane
Look for any references to dataplane IDs or dataplane group IDs in the logs. ## Check the Dataplane Table According to the [database schema documentation](https://docs.airbyte.com/platform/understanding-airbyte/database-data-catalog#dataplane), there's also a
dataplane
table that references
dataplane_group_id
. Check which dataplanes exist:
Copy code
sql SELECT id, dataplane_group_id, name, enabled FROM public.dataplane;
This will show you which dataplane(s) are associated with each dataplane group. ## Likely Solution If the workload launcher is listening to the newer dataplane group (the one created yesterday), you need to update your workspace to point to it:
Copy code
sql UPDATE public.workspace  SET dataplane_group_id = 'a987fa88-3474-439a-9fc7-b366146abdcf'  WHERE id = '186e5f78-37af-42e4-8436-8f1533ff98ea';
However, verify which dataplane group the workload launcher is actually monitoring before making this change. The logs should indicate which dataplane group ID it's using.
s
2025-11-05 140623,236 [main] INFO i.a.w.l.a.DataplaneIdentityService(initialize):55 - Running as b30dccb1-32fa-4d13-b011-4bfb652f68e8 (4ce48dbb-70fe-4c63-b572-ac2fc13341ee) for 2025-11-05 140623,255 [Thread-2] INFO i.a.w.l.ClaimedProcessor(getWorkloadList):91 - requesting workload list: WorkloadListRequest(dataplane=[b30dccb1-32fa-4d13-b011-4bfb652f68e8], status=[claimed], updatedBefore=null) I dont see any data plane that matches this id @kapa.ai
k
A message from kapa.ai
Based on the knowledge sources and your database query results, the workload launcher is trying to use dataplane ID
b30dccb1-32fa-4d13-b011-4bfb652f68e8
which doesn't exist in your database. This confirms the dataplane mismatch issue. ## Check the Dataplane Table According to the [database schema documentation](https://docs.airbyte.com/platform/understanding-airbyte/database-data-catalog#dataplane), you need to check the
dataplane
table to see what dataplanes actually exist:
Copy code
sql SELECT id, dataplane_group_id, name, enabled FROM public.dataplane;
This will show you: - Which dataplanes are configured - Which dataplane_group_id each dataplane belongs to - Whether the dataplane the workload launcher is looking for exists ## The Root Cause According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), this exact scenario occurs when "jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." The workload launcher log shows it's looking for dataplane
b30dccb1-32fa-4d13-b011-4bfb652f68e8
which belongs to dataplane_group
4ce48dbb-70fe-4c63-b572-ac2fc13341ee
. However, neither of these IDs match the two dataplane_group IDs you found earlier: -
1193a35a-39bd-4b12-805f-f0cad5dded9a
(AUTO, from April) -
a987fa88-3474-439a-9fc7-b366146abdcf
(empty name, from yesterday) ## Likely Solution According to [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587), when dataplane configuration gets corrupted, the workaround is to delete and recreate the dataplane entries:
Copy code
sql DELETE FROM dataplane_client_credentials; DELETE FROM dataplane;
Then restart your
abctl
installation. This should recreate the dataplane and its credentials correctly. Warning: This will require restarting Airbyte, but according to the knowledge sources, this approach has successfully resolved dataplane configuration issues for multiple users.
s
@kapa.ai I checked the launcher logs for reference to the old and new dataplane id There were none for the old and these for the new one [ec2-user@ip-172-31-21-32 ~]$ kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-workload-launcher-fbc8cbdf8-czt4x | grep -i a987fa88-3474-439a-9fc7-b366146abdcf 2025-11-05 140623,241 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueueConsumer(initialize):41 - Initializing ApiQueueConsumer for a987fa88-3474-439a-9fc7-b366146abdcf 2025-11-05 140623,259 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with a987fa88-3474-439a-9fc7-b366146abdcf and default 2025-11-05 140623,301 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with a987fa88-3474-439a-9fc7-b366146abdcf and high 2025-11-05 140624,123 [Thread-3] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(resumePolling):68 - Resuming ApiQueuePoller with a987fa88-3474-439a-9fc7-b366146abdcf and high 2025-11-05 140624,123 [Thread-3] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(resumePolling):68 - Resuming ApiQueuePoller with a987fa88-3474-439a-9fc7-b366146abdcf and default
k
A message from kapa.ai
Based on the knowledge sources and your findings, the workload launcher is listening to the newer dataplane_group (
a987fa88-3474-439a-9fc7-b366146abdcf
- the one created yesterday with the empty name), but your workspace is still pointing to the older dataplane_group. ## The Solution According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), you need to update your workspace to point to the correct dataplane_group_id that the workload launcher is monitoring. Update your workspace to use the new dataplane_group:
Copy code
sql UPDATE public.workspace  SET dataplane_group_id = 'a987fa88-3474-439a-9fc7-b366146abdcf'  WHERE id = '186e5f78-37af-42e4-8436-8f1533ff98ea';
Verify the update:
Copy code
sql SELECT id, organization_id, dataplane_group_id FROM public.workspace;
## Why This Should Fix the Issue According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), the problem occurs when "jobs were being pushed to dataplane A, but the workload launcher was listening to dataplane_group B." In your case: - Your workspace is configured to use dataplane_group
1193a35a-39bd-4b12-805f-f0cad5dded9a
(the old one) - The workload launcher is monitoring dataplane_group
a987fa88-3474-439a-9fc7-b366146abdcf
(the new one) - Jobs are being created for the old dataplane_group, but the launcher is only checking for workloads in the new dataplane_group After updating the workspace to point to the new dataplane_group, new sync jobs should be assigned to the dataplane_group that the workload launcher is actually monitoring, allowing workloads to be claimed and processed.
s
@kapa.ai Should I set this then restart the airbyte service?
k
A message from kapa.ai
Based on the knowledge sources, you do not need to restart the Airbyte service after updating the workspace's dataplane_group_id. The database change should take effect immediately for new sync jobs. ## What to Do After the Update According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), the workaround was simply to "update the right dataplane_group_id in the workspace table" - there's no mention of requiring a restart after making this change. After running the UPDATE statement: 1. Try creating a new sync job in the Airbyte UI 2. Monitor the workload-launcher logs to see if it now successfully claims the workload:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs airbyte-abctl-workload-launcher-fbc8cbdf8-czt4x --follow
Look for messages like: -
Claimed: true for workload
- indicates successful claiming - The workload progressing through stages (BUILD, CLAIM, CHECK_STATUS, LAUNCH) ## If It Still Doesn't Work If updating the workspace doesn't immediately resolve the issue, the knowledge sources suggest that you may need to address the underlying dataplane configuration problem. According to [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587), the more comprehensive fix involves cleaning up the dataplane tables and restarting, but try the workspace update first to see if that's sufficient. The workspace-to-dataplane_group mapping is checked when new jobs are created, so the change should take effect for any new syncs you start after the UPDATE.
s
@kapa.ai it's working now. Thank god
k
A message from kapa.ai
That's great news! I'm glad updating the workspace's
dataplane_group_id
to match the dataplane_group that the workload launcher was monitoring resolved your issue. To summarize what fixed the problem: - You identified that two
dataplane_group
entries existed in your database - The workload launcher was monitoring the newer dataplane_group (
a987fa88-3474-439a-9fc7-b366146abdcf
) - Your workspace was still pointing to the older dataplane_group - Updating the workspace to point to the correct dataplane_group allowed workloads to be claimed and processed This was exactly the dataplane mismatch issue described in [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115). If you encounter any other issues with Airbyte, feel free to ask!
s
@kapa.ai can you give me the instructions to get the postgres kube instance, go into it, find the dataplane groups that exist and see what the workload launcher is pushing to to see if it's mismatched again
k
A message from kapa.ai
Based on the knowledge sources and your previous successful troubleshooting, here are the complete instructions to check for dataplane mismatches: ## 1. Access the PostgreSQL Database Pod
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl exec -it airbyte-db-0 -- /bin/bash
## 2. Connect to the Database
Copy code
bash psql -U airbyte db-airbyte
## 3. Check Existing Dataplane Groups
Copy code
sql SELECT * FROM public.dataplane_group;
This will show you all dataplane groups with their IDs, names, and creation dates. ## 4. Check Which Dataplane Group Your Workspace is Using
Copy code
sql SELECT id, organization_id, dataplane_group_id FROM public.workspace;
This shows which dataplane_group_id your workspace is currently configured to use. ## 5. Exit the Database
Copy code
sql \q exit
## 6. Check Which Dataplane Group the Workload Launcher is Monitoring
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl logs <workload-launcher-pod-name> | grep -i "Initializing ApiQueueConsumer"
First, get the current workload launcher pod name:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods | grep workload-launcher
Then check its logs for the dataplane_group_id it's monitoring. Look for lines like:
Copy code
Initializing ApiQueueConsumer for <dataplane-group-id>
## 7. Compare the IDs According to [airbyte services stuck where no new job pods are launched](https://github.com/airbytehq/airbyte/issues/68115), if the dataplane_group_id from your workspace (step 4) doesn't match the dataplane_group_id the workload launcher is monitoring (step 6), you have a mismatch. ## 8. Fix the Mismatch (if needed) If there's a mismatch, update the workspace to point to the correct dataplane_group_id:
Copy code
sql UPDATE public.workspace  SET dataplane_group_id = '<correct-dataplane-group-id>'  WHERE id = '<your-workspace-id>';
Replace
<correct-dataplane-group-id>
with the ID the workload launcher is monitoring, and
<your-workspace-id>
with your workspace ID from step 4.
s
Do I have to start airbyte first @kapa.ai
k
A message from kapa.ai
Based on the context of your previous question about checking for dataplane mismatches, yes, Airbyte needs to be running to perform the checks. Here's why: 1. To access the PostgreSQL database pod, the pod needs to be running. The command
kubectl exec -it airbyte-db-0
requires the database pod to be active. 2. To check the workload launcher logs, the workload launcher pod needs to be running so you can see which dataplane_group_id it's monitoring. If Airbyte is not currently running, start it first:
Copy code
bash abctl local install
Or if it's already installed but stopped, you may need to ensure the pods are running by checking:
Copy code
bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods
All the critical pods (especially
airbyte-db-0
and the workload launcher pod) should show status "Running" before you can perform the dataplane mismatch checks.