Hey everyone, on the new ABCTL airbyte 2.0.0 versi...
# replication-troubleshooting
b
Hey everyone, on the new ABCTL airbyte 2.0.0 version, upgrading from 1.8.5, I get this error, any ideas how to workaround it?
Copy code
airbyte-workload-launcher:           Message: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
Copy code
/   |  (_)____/ /_  __  __/ /____
            / /| | / / ___/ __ \/ / / / __/ _ \
           / ___ |/ / /  / /_/ / /_/ / /_/  __/
          /_/  |_/_/_/  /_.___/\__, /\__/\___/
                              /____/
                  : airbyte-workload-launcher :

          2025-10-15 08:51:18,819 [main]        INFO    i.m.c.e.DefaultEnvironment(init):168 - Established active environments: [control-plane, edition-community]
          2025-10-15 08:51:19,117 [main]        INFO    c.z.h.HikariDataSource(init):79 - config-pool - Starting...
          2025-10-15 08:51:19,134 [main]        INFO    c.z.h.HikariDataSource(init):81 - config-pool - Start completed.
          2025-10-15 08:51:19,171 [main]        ERROR   i.m.r.Micronaut(handleStartupException):349 - Error starting Micronaut server: Bean definition [io.micronaut.data.jdbc.config.SchemaGenerator] could not be loaded: Error instantiating bean of type  [io.micronaut.data.runtime.support.DefaultRuntimeEntityRegistry]

          Message: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
          Path Taken: new DefaultRuntimeEntityRegistry(EntityEventRegistry eventRegistry,Collection<BeanRegistration<PropertyAutoPopulatorAnnotation T T> E> propertyPopulators,ApplicationContext applicationContext,AttributeConverterRegistry attributeConverterRegistry)
          io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.micronaut.data.jdbc.config.SchemaGenerator] could not be loaded: Error instantiating bean of type  [io.micronaut.data.runtime.support.DefaultRuntimeEntityRegistry]

          Message: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
          Path Taken: new DefaultRuntimeEntityRegistry(EntityEventRegistry eventRegistry,Collection<BeanRegistration<PropertyAutoPopulatorAnnotation T T> E> propertyPopulators,ApplicationContext applicationContext,AttributeConverterRegistry attributeConverterRegistry)
                at io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:2000)
                at io.micronaut.context.DefaultApplicationContext.initializeContext(DefaultApplicationContext.java:314)
                at io.micronaut.context.DefaultBeanContext.configureAndStartContext(DefaultBeanContext.java:3318)
                at io.micronaut.context.DefaultBeanContext.start(DefaultBeanContext.java:345)
                at io.micronaut.context.DefaultApplicationContext.start(DefaultApplicationContext.java:216)
                at io.micronaut.runtime.Micronaut.start(Micronaut.java:75)
                at io.airbyte.workload.launcher.ApplicationKt.main(Application.kt:10)
          Caused by: io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.data.runtime.support.DefaultRuntimeEntityRegistry]
k
The error message
Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
during Airbyte workload-launcher startup after upgrading to 2.0.0 suggests that the required environment variable or secret for
DATAPLANE_CLIENT_ID
is missing or not being injected properly. This issue has been seen in previous Airbyte versions (notably 1.6.x and 1.8.x) and is typically related to how secrets are managed and injected into the workload-launcher pod. In those cases, the workload-launcher expects the
dataplane-client-id
(and often
dataplane-client-secret
) to be present in a Kubernetes secret (commonly
airbyte-auth-secrets
). If these keys are missing, the pod fails to start with a similar error. Key points and workarounds from previous issues: - The error is often due to missing or misconfigured secrets, especially after upgrades or custom secret management. - In Airbyte 1.6.x, users reported that even after manually creating the secrets, the bootloader could overwrite or expect them in a specific format or location, leading to persistent errors. - Some users resolved the issue by deleting the
dataplane
and
dataplane_client_credentials
records from the database and reinstalling, which forced Airbyte to regenerate the secrets. However, this workaround was not always reliable and sometimes did not resolve the issue for everyone. - The Airbyte team released fixes in patch versions (e.g., 1.6.1) for similar issues, but users still encountered problems in later versions if the secret management was customized or if the upgrade process did not handle secrets correctly. - There is also mention that the bootloader may rewrite the secrets, and there is currently no supported way to define dataplane-client credentials without this rewrite in some versions. This can cause issues if you are trying to manage secrets manually or via automation tools like Helm or abctl. What you can try: 1. Check the Secret: Ensure that the Kubernetes secret (usually
airbyte-auth-secrets
in the relevant namespace) contains the keys
dataplane-client-id
and
dataplane-client-secret
. If not, you may need to add them manually or trigger Airbyte to regenerate them. 2. Database Cleanup (if using abctl/Helm): As a workaround (used in 1.6.x), you can try deleting the relevant records from the database and reinstalling:
Copy code
sh    kubectl exec -it -n <namespace> <airbyte-db-pod> -- /bin/bash    psql -U airbyte db-airbyte    delete from dataplane_client_credentials;    delete from dataplane;    \q    exit
Then, rerun the installation or upgrade process. This may force Airbyte to recreate the secrets as needed. [See details in this issue](https://github.com/airbytehq/airbyte/issues/58587) 3. Check for Helm Chart or abctl Updates: If you are using Helm or abctl, make sure you are using the latest version, as fixes for secret management have been released in patch versions. Sometimes, simply upgrading to the next patch resolves the issue. 4. Review Custom Secret Management: If you are managing secrets manually, be aware that Airbyte may overwrite or expect secrets in a specific format. There is currently no documented way to fully customize the secret management for dataplane credentials without risk of conflict with Airbyte's bootloader process. 5. Upgrade to a Newer Patch (if available): If you are on 2.0.0 and this is a regression, check if a newer patch release is available, as the Airbyte team has previously addressed similar issues in patch releases. If none of these workarounds resolve the issue, it may be a regression or a new bug in 2.0.0. In that case, consider opening a GitHub issue with detailed logs and your secret configuration, as this has been a recurring pain point for users upgrading Airbyte. Summary: This error is almost always related to missing or misconfigured secrets for dataplane credentials. Double-check your secrets, try the database cleanup workaround, and ensure you are using the latest supported tools and charts. If the problem persists, it may require intervention from the Airbyte team for a fix in the 2.0.x series. References: - [1.6.0 Chart dataplane-client-id missing installation fails](https://github.com/airbytehq/airbyte/issues/62468) - [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587)
b
we are looking into this now, just to verify, have you upgraded to the latest version of abctl?
b
having this problem as well, after upgrading from 1.8.5 to 2.0.0, helm v2. deploying it on eks via cdk. removed records from dataplane_client_credentials and dataplane
hey @Bryce Groff, any insights on how this can be fixed? what is DATAPLANE_CLIENT_ID and how to debug/set it? can i use env variables? after clearing all dataplane_* tables they got populated after redeployment but still workload-launcher errors with
Copy code
Message: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
b
What version of the chart are you trying to use?
b
That was my bad, I was using 2.0.0 when I found somewhere on GitHub that it's for Airbyte 1.6, now on chart 2.0.18. However, facing another error where sync pods are not scheduling, although data connection test pods are working. After migration, i ended up with two data planes and two data plane groups, trying to remove one of them to match this thread, but no luck
👍 1
enabled temporal ui and cleared pending workflows, apparently a few got stuck during the upgrade with such payloads
Copy code
{
  "connectionId": null,
  "jobId": null,
  "attemptId": null,
  "fromFailure": true,
  "attemptNumber": 3,
  "workflowState": null,
  "resetConnection": false,
  "fromJobResetFailure": false,
  "skipScheduling": false
}
b
Odd are things back to normal now?