<@U04S8PLJWMT> Getting : Configuration check faile...
# ask-ai
v
@kapa.ai Getting : Configuration check failed Workload failed, source: airbyte_platform Internal message: Unable to persist the job Output, check the document store credentials. Failure origin: airbyte_platform When creating a new GCS source .
k
The error message: > Configuration check failed > Workload failed, source: airbyte_platform > Internal message: Unable to persist the job Output, check the document store credentials. > Failure origin: airbyte_platform when creating a new GCS source in Airbyte, typically points to an issue with the credentials or configuration used for Airbyte's document store (where job outputs/logs are persisted), not necessarily the GCS source connector itself. Based on the knowledge sources, here are the most likely causes and troubleshooting steps: 1. GCS Credentials Misconfiguration Airbyte requires valid Google Cloud Storage (GCS) credentials to persist job outputs/logs. If these credentials are missing, invalid, or not properly referenced by the Airbyte deployment, you will see errors related to persisting job output or accessing the document store. - If you are deploying Airbyte on Kubernetes using Helm, ensure that your GCS credentials are correctly provided. You can do this either by: - Creating a Kubernetes secret manually and referencing it via
global.storage.storageSecretName
, or - Providing the base64-encoded credentials JSON in
global.storage.gcs.credentialsJson
and leaving
global.storage.storageSecretName
unset, which will auto-create a secret named
{deployment-name}-gcs-log-creds
[see details here](https://github.com/airbytehq/airbyte/issues/48502). - If the secret is not found or mismatched, Airbyte components may fail to start or persist job outputs, resulting in errors like the one you are seeing. 2. Secret Name Mismatch There have been issues where the secret name expected by Airbyte components (worker, workload launcher, etc.) does not match the secret actually created or referenced. For example, if
global.storage.storageSecretName
is not set, Airbyte may look for a default secret like
airbyte-config-secrets
instead of
{deployment-name}-gcs-log-creds
, causing failures [see discussion](https://github.com/airbytehq/airbyte/issues/48502). - Double-check that the secret name referenced in your Helm values matches the actual secret present in your cluster. 3. Helm Chart Inconsistencies There are known inconsistencies in how different Airbyte components reference the GCS credentials secret, especially in the workload API server vs. other components. This can lead to one component not finding the secret even if others do [see analysis and proposal](https://github.com/airbytehq/airbyte/issues/44525). - Review your Helm values and, if necessary, patch the chart or manually ensure all components reference the correct secret. Summary of Actions: - Verify your GCS credentials are valid and have the necessary permissions. - Ensure the Kubernetes secret containing your GCS credentials exists and is referenced correctly in your Airbyte Helm values. - Check for any mismatches in secret names between your configuration and what Airbyte expects. - If you are using workload identity or other advanced GCP auth methods, note that Airbyte currently expects a service account JSON, not an external account or workload identity JSON [see related error](https://discuss.airbyte.io/t/2277). If after these checks the issue persists, please provide more details about your deployment method and how you are supplying GCS credentials, as the knowledge sources do not contain a more specific solution for this error.
v
@Naresh Yadav
@kapa.ai It is happening for mysql also when I'm selecting mysql as a source .
k
A message from kapa.ai
The error you are experiencing—**"Configuration check failed / Unable to persist the job Output, check the document store credentials"**—when creating a MySQL source, is consistent with issues reported for other connectors (including MySQL) in Airbyte when there are problems with the document store credentials or configuration. From the knowledge sources, there are several relevant points: - Users have reported that when the document store (such as GCS) is not properly configured, Airbyte jobs (including source checks for MySQL) can get stuck or fail, often with errors about persisting job output or timeouts. For example, with the MySQL connector, the check job can remain in a "Pending" state and eventually fail if the underlying storage or credentials are misconfigured. This is not specific to the connector, but rather to the platform's ability to persist job outputs and logs, which is required for all connectors, including MySQL and GCS sources [source-mysql issue](https://github.com/airbytehq/airbyte/issues/52075). - The logs and issues indicate that if Airbyte cannot access the configured document store (due to missing or incorrect credentials, or a secret name mismatch), it will fail to persist job outputs for any source, not just GCS. This results in similar errors across different connectors [source-mysql issue](https://github.com/airbytehq/airbyte/issues/52075). - There are also known issues with Helm chart configuration, where the secret name for GCS credentials may be inconsistent or not properly referenced by all Airbyte components, leading to failures in job output persistence [helm GCS secret logic](https://github.com/airbytehq/airbyte/issues/44525). In summary: This is a platform-level configuration issue, not specific to the MySQL or GCS connector. You need to ensure that your document store credentials (e.g., for GCS) are correctly configured and referenced by all Airbyte components. Double-check your Kubernetes secrets, Helm values, and that all components are using the correct secret name and credentials. If the issue persists after verifying these, it may be related to a known bug or misconfiguration in the Helm chart or Airbyte deployment. If you need more specific troubleshooting steps, please provide details about your storage backend (GCS, S3, etc.), how you are supplying credentials, and your deployment method. The knowledge sources do not contain a more detailed, connector-specific solution for this error.
v
@kapa.ai My source in one case is Mysql and in other case is GCS . GCS credentials are passed via service account authentication . All the existing connections are working fine but new source configuration is failing with above error .
k
A message from kapa.ai
Based on the information in the knowledge sources, your issue—where **existing connections work but new source configurations (MySQL or GCS) fail with "Unable to persist the job Output, check the document store credentials"**—is most likely related to a problem with how Airbyte is accessing or referencing the document store credentials (such as GCS) for new jobs. Key points from the knowledge sources: - This error is not specific to the connector (MySQL or GCS), but rather to Airbyte's ability to persist job outputs/logs, which is required for all connectors. If the document store credentials are missing, invalid, or not properly referenced, new source setup will fail, even if existing connections continue to work. This is because existing connections may be using previously cached or already-validated credentials, while new connections trigger a fresh check that fails due to the credential issue [see similar issues](https://github.com/airbytehq/airbyte/issues/48502). - There are known issues with Helm chart configuration and secret management, where the secret name for GCS credentials may be inconsistent or not properly referenced by all Airbyte components. For example, if you provide credentials via
global.storage.gcs.credentialsJson
but do not set
global.storage.storageSecretName
, Airbyte may create a secret with a different name than what the worker/launcher pods expect, leading to failures for new jobs [details here](https://github.com/airbytehq/airbyte/issues/48502). - If you are using service account authentication for GCS, ensure that the Kubernetes secret containing your service account JSON is present and referenced correctly in your Airbyte configuration. Double-check that the secret name matches what is expected in your Helm values and that all Airbyte components are referencing the same secret. What you should check: 1. Kubernetes Secret Consistency: Ensure the secret containing your GCS service account credentials exists and is named exactly as referenced in your Airbyte Helm values (e.g.,
airbyte-config-secrets
or a custom name set in
global.storage.storageSecretName
). 2. Helm Values Alignment: Make sure your Helm values for storage configuration are consistent and that the secret name is set correctly for all components. If you changed how credentials are provided (e.g., switched from a manually created secret to using
credentialsJson
), ensure there are no mismatches. 3. Restart Airbyte Components: Sometimes, changes to secrets or configuration require a restart of Airbyte pods to take effect. 4. Known Issues: There are known bugs where the secret name logic is inconsistent between components, which can cause new jobs to fail while existing ones work. Review your configuration in light of these issues and consider updating Airbyte or applying any recommended workarounds if you are affected [see discussion](https://github.com/airbytehq/airbyte/issues/48502). Summary: Your issue is almost certainly related to a misconfiguration or mismatch in the document store (GCS) credentials or secret name, especially as it affects only new source setups. Double-check your Kubernetes secrets, Helm values, and ensure all Airbyte components are referencing the correct secret. The knowledge sources do not provide a more specific fix, but this is the most likely root cause given the symptoms and known issues. If you need further help, please provide your exact Helm values for storage and secret management, and details on how you are supplying the GCS credentials.