<@U04S8PLJWMT> I have been using a Self-Managed Co...
# ask-ai
s
@kapa.ai I have been using a Self-Managed Community version Airbyte Platform v1.7.1 in the GKE cluster, deployed using helm chart. I created a connection between a source connector (PostgreSQL) to the sink connector (BigQuery). It throws following error. Unable to persist the job Output, check the document store credentials.
k
The error message "Unable to persist the job Output, check the document store credentials" in your Airbyte Platform v1.7.1 deployment on GKE typically points to an issue with the configuration of your storage backend (such as S3, GCS, or Azure Blob Storage) where Airbyte writes logs, state, and workload outputs. Key things to check: 1. Storage Backend Credentials Ensure that the credentials for your chosen storage backend (e.g., S3, GCS) are correctly configured as Kubernetes secrets and referenced in your
values.yaml
file. For example, if you are using S3, your configuration should look like:
Copy code
yaml    global:      storage:        type: "S3"        secretName: airbyte-config-secrets        bucket:          log: airbyte-bucket          state: airbyte-bucket          workloadOutput: airbyte-bucket        s3:          region: "us-east-1"          authenticationType: credentials          accessKeyId: "" # If using credentials          secretAccessKey: "" # If using credentials
The referenced Kubernetes secret (
airbyte-config-secrets
) must contain the correct keys and values for your storage provider, such as
s3-access-key-id
and
s3-secret-access-key
for S3, or
gcp.json
for GCS. If you are using GCS, the configuration and secret keys will differ accordingly. [See full details in the documentation](https://docs.airbyte.com/platform/1.8/deploying-airbyte/integrations/storage#values). 2. Secret Existence and Permissions Double-check that the Kubernetes secret exists in the correct namespace and contains the required keys. Also, ensure that the service account running Airbyte pods has permission to access the storage backend. 3. Authentication Type If your GKE nodes have the necessary IAM permissions, you can use
authenticationType: instanceProfile
(for S3) or rely on Workload Identity (for GCS) instead of static credentials. Make sure your configuration matches your infrastructure setup. 4. Logs for More Details Check the logs of the affected Airbyte pods for more specific error messages about why the credentials are failing. This can help pinpoint whether it's a missing secret, a permissions issue, or a misconfiguration. Common Issues: - The secret is missing or not mounted correctly. - The secret does not contain the expected keys. - The credentials are invalid or do not have sufficient permissions. - The
values.yaml
references the wrong secret name or key. Example for GCS:
Copy code
yaml global:   storage:     type: "GCS"     secretName: airbyte-config-secrets     bucket:       log: airbyte-bucket       state: airbyte-bucket       workloadOutput: airbyte-bucket     gcs:       projectId: <project-id>       credentialsPath: /secrets/gcs-log-creds/gcp.json
The secret should contain a
gcp.json
key with the service account credentials. Summary: Review your storage backend configuration in
values.yaml
and ensure the referenced Kubernetes secret exists and contains valid credentials. This is the most common cause of the error you are seeing in Airbyte on GKE deployments [see documentation for details](https://docs.airbyte.com/platform/1.8/deploying-airbyte/integrations/storage#values). If you continue to have issues, please provide the relevant section of your
values.yaml
and the output of
kubectl get secret <your-secret> -o yaml
(redact sensitive data) for further troubleshooting.
s
@kapa.ai Getting exception "ConnectorWatcher(handleException):184 - Error performing operation: io.airbyte.workers.workload.exception.DocStoreAccessException io.airbyte.workers.workload.exception.DocStoreAccessException: Unable to write output for 435bb9a5-7887-4809-aa58-28c27df0d7ad_135152_4_check"
k
A message from kapa.ai
The error message:
Copy code
Error performing operation: io.airbyte.workers.workload.exception.DocStoreAccessException: Unable to write output for ...
indicates that Airbyte is unable to persist job output to the configured document store (such as S3, GCS, or Azure Blob Storage). This is a common issue when there is a misconfiguration or missing credentials for the storage backend. Based on the knowledge sources, here are the most likely causes and steps to resolve: 1. Check Storage Backend Credentials and Configuration - Ensure your
values.yaml
is correctly configured for your storage backend (S3, GCS, or Azure). For example, for S3, you should have something like:
Copy code
yaml      global:        storage:          type: "S3"          secretName: airbyte-config-secrets          bucket:            log: airbyte-bucket            state: airbyte-bucket            workloadOutput: airbyte-bucket          s3:            region: "us-east-1"            authenticationType: credentials            accessKeyId: "<your-access-key>"            secretAccessKey: "<your-secret-key>"
- For GCS, ensure the service account JSON is present in the secret and referenced correctly in the config:
Copy code
yaml      global:        storage:          type: "GCS"          secretName: airbyte-config-secrets          bucket:            log: airbyte-bucket            state: airbyte-bucket            workloadOutput: airbyte-bucket          gcs:            projectId: <project-id>            credentialsPath: /secrets/gcs-log-creds/gcp.json
- The referenced Kubernetes secret must exist and contain the correct keys and values for your storage provider. [See documentation for details](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/storage#values). 2. Common Misconfigurations - The secret is missing or not mounted correctly. - The secret does not contain the expected keys (e.g.,
s3-access-key-id
,
s3-secret-access-key
, or
gcp.json
). - The credentials are invalid or do not have sufficient permissions. - The
values.yaml
references the wrong secret name or key. 3. Check for Region Mismatch (S3) - If using S3, ensure the region in your config matches the region of your S3 bucket. A mismatch can cause authorization errors, as seen in similar issues: > "The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-1'" [See related issue](https://github.com/airbytehq/airbyte/issues/48407). 4. Pod Service Account and Permissions - If using Workload Identity (GKE) or instance profiles (AWS), ensure the Airbyte pods are running with the correct service account and that it has the necessary permissions to access the storage backend. [See example and discussion](https://github.com/airbytehq/airbyte/issues/53652). Summary: This error almost always points to a misconfiguration or missing credentials for your storage backend. Double-check your
values.yaml
and Kubernetes secrets, and ensure the Airbyte pods have the correct permissions to write to your storage provider. If you need more specific help, please provide your storage configuration and the relevant secret details (with sensitive data redacted).