<@U04S8PLJWMT> When does the workload launcher use...
# ask-ai
i
@kapa.ai When does the workload launcher use its own data plaen auto created ?
k
Short answer: it doesn’t. - The launcher runs jobs in the data plane assigned to the workload (see the workload table’s dataplane_id). [[Config DB: workload](https://docs.airbyte.com/platform/understanding-airbyte/database-data-catalog#workload)] - By default, Airbyte starts with a single data plane automatically tied to the default workspace; additional data planes must be created explicitly via the API. [[Enterprise setup](https://docs.airbyte.com/platform/enterprise-setup/multi-region); [Next data plane](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane)] - The launcher simply picks up queued workloads and launches the K8s resources in the specified plane; it does not create a data plane itself. [[Workloads & Jobs](https://docs.airbyte.com/platform/understanding-airbyte/jobs)] In logs you’ll often see the default plane as dataplaneId = local, reflecting that default assignment. [[Github issue](https://github.com/airbytehq/airbyte/issues/57011)]
i
@kapa.ai that is what I am talking about, There is a default data plane and my question is when does the worklod launcher use it? Well based on code, how can It use those, especially if there are no creds defined ?
k
A message from kapa.ai
- When it’s used: The launcher always uses the data plane mapped to the workload’s workspace. If you haven’t created/assigned additional planes, it uses the default one (commonly shown in logs as dataplaneId = local). Once you associate a workspace to a region/plane, all its jobs run only on that plane. [[Multiple region](https://docs.airbyte.com/platform/enterprise-setup/multi-region); [Multiple region (Next)](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region); [Launcher log example](https://github.com/airbytehq/airbyte/issues/57011)] - How it works without explicit creds: - Control-plane auth: The data plane identifies to the control plane via Kubernetes secrets (e.g., airbyte-config-secrets) containing DATA_PLANE_CLIENT_ID/SECRET. [[Step 4 secrets](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4); [Step 4 secrets (Next)](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#step-4)] - Cloud/storage access: If your K8s cluster already has permissions via an instance profile/IAM (e.g., EKS node/role), you don’t need to provide access keys; otherwise you must set S3/GCS credentials in that secret. [[Step 4 secrets](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4); [Step 4 secrets (Next)](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#step-4)] - What happens if there are no creds and no node IAM: Writes to the job output store (e.g., S3 PutObject) will fail with authorization errors, as seen when workload pods lacked a service account/permissions. [[helm issue](https://github.com/airbytehq/airbyte/issues/50979)] - Note on dataplane client creds generation: Recent changes make the bootloader respect existing valid dataplane credentials in the secret (no auto-regeneration) starting in 1.8.0. [[bootloader change](https://github.com/airbytehq/airbyte/issues/64159)]
i
@kapa.ai I need the workload launcher to use the auto create dat aplane, that is it. It wont strts without these secrets existing, what can I do?
k
A message from kapa.ai
You’re hitting a known 1.6.x issue: the workload-launcher won’t start unless dataplane-client-id/secret exist in the expected secret. You have a few options: - Upgrade: Moving to 1.7.1 resolved this for multiple users “out of the box.” [[1.6.0 issue](https://github.com/airbytehq/airbyte/issues/62468)]. - Regenerate the auto-created dataplane creds (1.6.x workaround): 1) get into the DB pod, 2) delete the dataplane rows, 3) rerun install so Bootloader recreates creds and writes them to the right secret. [[1.6.0 issue](https://github.com/airbytehq/airbyte/issues/58587)]
Copy code
# abctl local install --insecure-cookies -v  (if needed to start) export KUBECONFIG="$HOME/.airbyte/abctl/abctl.kubeconfig" kubectl exec -it -n airbyte-abctl airbyte-db-0 -- /bin/bash psql -U airbyte db-airbyte delete from dataplane_client_credentials ; delete from dataplane; \q exit # re-run your abctl/helm install
- Don’t override the auth secret without the dataplane keys: If you created your own airbyte-auth secret for instance admin creds, include dataplane-client-id and dataplane-client-secret in it, or avoid overriding that secret; the Bootloader expects to write these keys there and may rewrite it. [[1.6.0 chart issue](https://github.com/airbytehq/airbyte/issues/62468); [1.6.0 issue comments](https://github.com/airbytehq/airbyte/issues/58587)] - For Enterprise data planes (multi‑region/Flex): pre-create the Kubernetes secret with DATA_PLANE_CLIENT_ID and DATA_PLANE_CLIENT_SECRET and reference it in values.yaml; without these, the launcher can’t authenticate. [[Step 4 secrets](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4); [Next Step 4](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#step-4); [Values example](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#step-5); [Flex Step 3](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane#step-3)] If you must stay on 1.6.x and the delete-regenerate path doesn’t fix it, the most reliable path is upgrading to ≥1.7.1. [[1.6.0 chart issue](https://github.com/airbytehq/airbyte/issues/62468)]
i
i;m on 1.8.2 and I have this problem
@kapa.ai im on 1.8.2
k
A message from kapa.ai
Thanks for confirming you’re on 1.8.2. In 1.8.x the bootloader first looks for valid dataplane credentials in the Kubernetes secret and, if present, does not overwrite them. If they’re missing, it initializes the (auto‑created) default data plane and writes the credentials. [[bootloader change](https://github.com/airbytehq/airbyte/issues/64159)] What to do so the workload-launcher can start with the auto-created data plane: - Let the bootloader manage the auth secret. If you pre-created airbyte-auth-secrets (e.g., to set a password), either delete it so the bootloader can recreate/populate it, or add the two keys it expects: dataplane-client-id and dataplane-client-secret. Several 1.6/1.7 issues were caused by overriding this secret without those keys. [[1.6.0 chart issue](https://github.com/airbytehq/airbyte/issues/62468); [1.6.0 deploy issue](https://github.com/airbytehq/airbyte/issues/58587)] - Trigger bootloader to (re)populate: perform a Helm upgrade/apply so the bootloader pod runs again. Then verify the secret exists and contains the dataplane keys: - kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml [[Authentication](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)] - If you’re deploying an Enterprise multi‑region data plane, the credentials must live in airbyte-config-secrets as DATA_PLANE_CLIENT_ID and DATA_PLANE_CLIENT_SECRET instead (not in airbyte-auth-secrets). [[Multi‑region step 4](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4)] If the launcher still fails with “couldn’t find key dataplane-client-id,” it almost always means the auth secret was user‑managed without those keys; remove it or include the keys and rerun the bootloader. [[1.6.0 chart issue](https://github.com/airbytehq/airbyte/issues/62468)]