<@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). Today, airbyte-workload-launcher pod started throwing following error.
Copy code
Internal message: Unable to persist the job Output, check the document store credentials.
Failure origin: airbyte_platform
k
The error message:
Copy code
Internal message: Unable to persist the job Output, check the document store credentials. Failure origin: airbyte_platform
indicates that Airbyte is having trouble accessing or using the credentials for the document store (where job outputs, logs, or state are persisted). In a GKE (Google Kubernetes Engine) deployment, this typically means there is an issue with your storage backend configuration—often Google Cloud Storage (GCS) or another cloud storage provider. Possible causes and troubleshooting steps: 1. Check Storage Credentials Secret: Ensure that the Kubernetes secret containing your storage credentials (e.g., GCS service account JSON) exists and is correctly referenced in your Helm values. For GCS, you should have a secret (often named something like
gcs-log-creds
) with your service account JSON, and your
values.yaml
should reference this secret and the correct key path. Example configuration:
Copy code
yaml    global:      storage:        type: GCS        storageSecretName: gcs-log-creds        gcs:          credentialsPath: /secrets/gcs-log-creds/gcp.json
And your secret:
Copy code
yaml    apiVersion: v1    kind: Secret    metadata:      name: gcs-log-creds      namespace: <your-namespace>    type: Opaque    stringData:      gcp.json: |-        { ...your service account JSON... }
Make sure the secret exists in the correct namespace and the key matches the path in your values file. [See example from a maintainer](https://github.com/airbytehq/airbyte/discussions/47256) 2. Validate Secret Mounting and Permissions: The workload-launcher and other Airbyte pods must be able to read the secret. Check that the secret is mounted correctly and that the service account used by the pods has permission to access the secret and the storage bucket. 3. Check for Recent Changes: If this was working previously and suddenly stopped, consider if any of the following changed: - The secret was deleted, rotated, or updated incorrectly. - The GCS bucket permissions were changed. - The service account key was revoked or permissions were altered. 4. Review Pod Logs and Events: Use
kubectl logs
and
kubectl describe pod <workload-launcher-pod>
to look for more detailed error messages about secret mounting or authentication failures. 5. Helm Values Consistency: If you recently upgraded Airbyte or changed your Helm values, ensure that all storage-related values are still correct and consistent with your secrets and GCP setup. 6. GCP Workload Identity (if used): If you are using GKE Workload Identity instead of service account keys, ensure that the Kubernetes service account is properly annotated and has the necessary IAM roles to access the GCS bucket. Summary: This error almost always points to a misconfiguration or problem with the document store credentials or their mounting in the cluster. Double-check your Kubernetes secrets, Helm values, and GCP permissions. If you recently made changes to secrets or upgraded Airbyte, review those changes for possible misconfigurations. If you need more specific help, please provide: - The relevant section of your
values.yaml
(with sensitive data redacted) - The output of
kubectl get secret <your-storage-secret> -o yaml
- Any related error logs from the workload-launcher pod If you follow these steps and the issue persists, please share more details for further troubleshooting. References: - [Helm deployment and secret configuration discussion](https://github.com/airbytehq/airbyte/discussions/47256)