After upgrading my instance to Airbyte 2.0.0, my w...
# ask-ai
u
After upgrading my instance to Airbyte 2.0.0, my workloads are not being scheduled and the database workloads table has null for the dataplane_id column on any syncs I try to run. Also if I try to test my destinations they eventually hit a 504 timeout. I'm not seeing any errors in the workload-launcher pod either.
k
Based on the information in the knowledge sources, the symptoms you describe—workloads not being scheduled,
dataplane_id
being null in the
workload
table, and sync/test jobs timing out with 504 errors—are consistent with issues seen during or after upgrades, especially when moving to major Airbyte versions or changing orchestration modes. Key points from the sources: - Null
dataplane_id
and unscheduled workloads:
The
dataplane_id
in the
workload
table identifies which dataplane (i.e., the component responsible for executing workloads) is handling a given workload. If this is null, it suggests that the workload is not being properly assigned or picked up by any dataplane, which would prevent scheduling and execution. This is a critical field for workload orchestration in Airbyte's newer architecture, and its absence indicates a misconfiguration or a missing component in the deployment. The table schema and its importance are documented here: [Airbyte Databases Data Catalog - workload](https://docs.airbyte.com/platform/next/understanding-airbyte/database-data-catalog#workload). - 504 timeouts and no errors in workload-launcher: Multiple users have reported similar symptoms (syncs stuck, 504 errors, pods not being created) after upgrades or in misconfigured Kubernetes environments. In these cases, the Airbyte UI shows jobs as running or pending, but no actual pods are created, and the workload-launcher logs do not show errors. This can be due to: - The workload-launcher not being able to communicate with the Kubernetes API or not being properly configured to launch pods. - Missing or misconfigured dataplane registration, especially after upgrades to new orchestration models (e.g., from Temporal to the new workload engine). - Helm values or environment variables not being updated to match the new chart or Airbyte version requirements ([Helm chart V2 upgrade notes](https://docs.airbyte.com/platform/next/enterprise-setup/chart-v2-enterprise#update-your-valuesyaml-file)). - No errors in logs: This is also a common symptom when the system is waiting for a component that is not present or not properly registered, rather than actively failing. For example, if the workload-launcher is running but no dataplane is registered, jobs will remain in a pending state indefinitely without clear errors ([Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812)). What you should check: 1. Dataplane registration: Ensure that your dataplane(s) are properly registered and running. In Airbyte 2.0.0 and later, the new workload engine requires explicit dataplane registration. If you are running in Kubernetes, make sure the dataplane pods are up and healthy, and that the workload-launcher can communicate with them. 2. Helm values and environment variables: If you upgraded using Helm, review your
values.yaml
file and ensure all required fields for the new version are set, especially those related to workload orchestration and dataplane configuration. Many environment variables and settings have changed between Helm chart versions ([Helm chart V2 migration guide](https://docs.airbyte.com/platform/next/enterprise-setup/chart-v2-enterprise#update-your-valuesyaml-file)). 3. Pod creation and cluster health: Check if the Airbyte system is able to create pods in your Kubernetes cluster. If not, there may be RBAC, resource, or configuration issues preventing pod creation, which would also result in jobs being stuck and timing out ([Github Issue: Pod creation fails with timeout](https://github.com/airbytehq/airbyte/issues/44443)). 4. Logs in other components: While the workload-launcher may not show errors, check the logs for the dataplane, server, and worker pods for any warnings or errors related to workload assignment, pod creation, or API communication. Summary: Your issue is likely due to a misconfiguration or missing dataplane registration after the upgrade. The knowledge sources do not provide a step-by-step fix, but strongly suggest reviewing your deployment configuration, ensuring dataplanes are registered, and updating your Helm values to match the new requirements. If the problem persists after these checks, you may need to consult the Airbyte upgrade and deployment documentation for your specific orchestration mode and version. If you need more detailed troubleshooting steps, please provide your deployment method (Helm, Docker, etc.), orchestration mode, and any relevant logs from dataplane or server pods.
u
@kapa.ai I'm running the default hybrid setup for community edition
k
A message from kapa.ai
Thank you for clarifying that you are running the default hybrid setup for the Airbyte Community Edition. Based on the knowledge sources, the symptoms you describe—workloads not being scheduled,
dataplane_id
being null in the
workload
table, and sync/test jobs timing out with 504 errors—are consistent with issues seen after upgrades, especially in Kubernetes-based hybrid deployments. Key points from the sources: - When
dataplane_id
is null in the
workload
table, it indicates that workloads are not being assigned to any dataplane, which is required for execution in the hybrid model. This can prevent jobs from being scheduled and executed, resulting in timeouts and no pod creation. This is a critical field for workload orchestration in Airbyte's newer architecture, and its absence indicates a misconfiguration or a missing component in the deployment ([workload table schema](https://docs.airbyte.com/platform/next/understanding-airbyte/database-data-catalog#workload)). - Several users have reported similar issues after upgrades, where jobs hang, pods are not created, and there are no clear errors in the workload-launcher logs. In these cases, the root cause was often related to missing or misconfigured dataplane registration, or issues with database migrations that left required fields (like
dataplane_id
) unset ([GitHub Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), [GitHub Issue: Could not deploy latest Airbyte community](https://github.com/airbytehq/airbyte/issues/58587)). - There are also known issues with database migrations in some Airbyte versions (e.g., 1.6.x), where fields like
dataplane_group_id
or
dataplane_id
could be left null due to migration bugs, especially if the
geography
or related fields did not match expected values ([GitHub Issue: Could not deploy latest Airbyte community](https://github.com/airbytehq/airbyte/issues/58587)). What you should do: 1. Check Dataplane Registration: Ensure that your dataplane is properly registered and running. In the hybrid setup, the dataplane must be present and healthy for workloads to be scheduled. If the dataplane is missing or not registered, workloads will remain in a pending state with null
dataplane_id
. 2. Review Database Migrations: If you recently upgraded, check for any failed or incomplete database migrations, especially those related to the
dataplane
or
dataplane_group
tables. There have been reports of migrations leaving required fields null, which breaks scheduling ([GitHub Issue: Could not deploy latest Airbyte community](https://github.com/airbytehq/airbyte/issues/58587)). 3. Check Helm Values/Configuration: If you are using Helm, ensure your
values.yaml
is up to date and includes all required configuration for the hybrid setup and dataplane registration. Some users have resolved similar issues by updating their configuration and re-registering the dataplane. 4. Logs and Pod Creation: Even if the workload-launcher logs are clean, check the logs for the dataplane and server pods for any errors or warnings. Also, verify that Airbyte has the necessary permissions to create pods in your cluster. If you have already checked these and the issue persists, the knowledge sources do not provide a step-by-step fix for this specific scenario in Airbyte 2.0.0 Community Edition hybrid mode. You may need to consult the official Airbyte documentation for hybrid deployments or reach out to the Airbyte community for further assistance. If you can provide more details about your deployment method (Helm, Docker, etc.), any recent migration logs, or the state of your dataplane pods, I may be able to help further.
u
@kapa.ai how do I ensure the dataplane is running and registered?
k
A message from kapa.ai
To ensure your dataplane is running and registered in Airbyte (especially in the hybrid/community setup), you should: 1. Deploy the Dataplane If you are using Airbyte's Enterprise Flex or hybrid setup, you typically deploy a dataplane using a tool like
airbox
. The process involves running an install command, following prompts to select or create a region, and naming your dataplane. After successful installation, you will see credentials and a confirmation message:
Copy code
airbox install dataplane
Example output:
Copy code
Dataplane 'us-west-1-dataplane-1' installed successfully!    DataplaneID: <dataplane_ID>    ClientID: <client_ID>    ClientSecret: <client_secret>
This confirms the dataplane is registered with the control plane and ready for use [Deploy a data plane](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane-util#part-6-deploy-a-data-plane). 2. Verify Dataplane Status - Check that the dataplane pod is running in your Kubernetes cluster:
Copy code
kubectl get pods -n <namespace>
You should see your dataplane pod(s) in the
Running
state. - You can also watch pod status as you trigger syncs to ensure new pods are created and jobs are being scheduled:
Copy code
kubectl get po -w -n <namespace>
You should see pods for your dataplane and for sync jobs being created and completed [Verify your data plane is running](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane-util#part-8-verify-your-data-plane-is-running-correctly). 3. Check in Airbyte UI - Assign your workspace to the dataplane and start a sync. If the dataplane is registered and healthy, jobs will be scheduled, and you will see pods being created for your syncs. If you do not see your dataplane pod running, or jobs are not being scheduled (workloads have null
dataplane_id
), it likely means the dataplane is not registered or not healthy. In that case, re-run the dataplane installation and check for any errors during the process. If you need to troubleshoot further, check the logs for the dataplane and workload-launcher pods for any errors or warnings. If you need more specific steps for your exact deployment method, please provide details about your environment (Helm, Docker, etc.). The knowledge sources do not provide additional commands or UI steps for community edition hybrid mode beyond what is described above.