Bhavik Shah
09/03/2025, 8:05 AMkapa.ai
09/03/2025, 8:06 AMCREATE, INSERT, SELECT, DROP). Insufficient permissions can prevent data extraction or writing, resulting in empty syncs. Double-check that the user has access to the correct database and tables [MySQL Destination Setup](https://docs.airbyte.com/integrations/destinations/mysql). - Network Access: Since your MySQL source is on a different EC2 instance and subnet, confirm that the security group rules allow inbound traffic from the Airbyte EC2 instance on the MySQL port (default 3306). You mentioned this is set, but it's worth double-checking [MySQL Troubleshooting](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting). - SSL/TLS: If you are using SSL (especially with a self-signed certificate), ensure that the Airbyte MySQL connector is configured to trust your certificate. Self-signed certificates can sometimes cause connection issues if not properly trusted by the client. #### b. Destination Configuration Issues - Redis Connection: Since Redis is installed directly on the EC2 (not in a pod), ensure that the Airbyte destination configuration points to localhost or the correct internal IP and port. Also, verify that no firewall or SELinux rules are blocking access. - Redis Authentication: If you have set a password or enabled SSL, make sure these settings are correctly reflected in the Airbyte destination configuration [Redis Destination Docs](https://docs.airbyte.com/integrations/destinations/redis). #### c. Data/Sync Configuration - No New Data: If the initial sync was empty or the source tables have no new/changed data, incremental syncs will show "no records." Try a full refresh sync to confirm if any data is pulled. - Primary Keys: For incremental syncs, ensure your MySQL tables have primary keys. Without them, CDC/incremental sync may not work as expected [MySQL CDC Requirements](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting). - Connector Logs: Check the Airbyte job logs for errors or warnings. Look for messages about connection issues, permission errors, or schema mismatches. #### d. Common Issues from Community - Missing Configuration Files: In some cases, Airbyte may lose configuration files (e.g., after a restart or disk cleanup), causing sources/destinations to disappear or fail. Make sure your Airbyte deployment persists configuration data [Forum Example](https://discuss.airbyte.io/t/1470). - Case Sensitivity: MySQL destination forces all identifiers to lowercase. If your source uses mixed-case table/column names, this could cause issues [MySQL Destination Docs](https://docs.airbyte.com/integrations/destinations/mysql). ### 2. Next Steps - Try a full refresh sync instead of incremental to see if any data is pulled. - Review the Airbyte sync logs for both source and destination for any errors or warnings. - Double-check all connection parameters, especially SSL settings and authentication details. - Ensure that the Airbyte instance can reach both MySQL and Redis from within the pod/network context (try connecting manually from the Airbyte pod/container to both services). If after these checks the issue persists, please provide relevant log excerpts from the Airbyte UI or job logs for more targeted troubleshooting. --- If you need more specific help, please share any error messages or log snippets from your Airbyte sync attempts. The knowledge sources do not contain a case exactly matching your setup, so these are the best practices and common issues based on similar scenarios.Bhavik Shah
09/03/2025, 8:20 AMkapa.ai
09/03/2025, 8:20 AMkapa.ai
09/03/2025, 8:20 AMio.airbyte.workers.exception.ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again. indicates that Airbyte was unable to start the replication pod, most likely due to insufficient CPU or memory resources available in your Kubernetes cluster. What to do: - Check Cluster Resources: Ensure your Kubernetes cluster has enough free CPU and memory to schedule new pods. If the cluster is at capacity, new pods will remain pending or fail to start. - Review Resource Requests and Limits: Airbyte jobs require certain CPU and memory resources, which are defined in your Helm values.yaml or via environment variables. If these are set too high for your cluster, pods may not be scheduled. You can adjust these values to better fit your available resources. - Check Job Logs: Airbyte logs the resource requirements for each job as containers are created. You can view these logs in the Airbyte UI under the job details to confirm what resources are being requested and whether they match your expectations. The log lines will look like: Launching replication pod: ... with containers: [source] ... resources: ResourceRequirements(...) [destination] ... resources: ResourceRequirements(...) [orchestrator] ... resources: ResourceRequirements(...) This can help you debug if the resource configuration is as intended or needs adjustment [Configuring Connector Resources - Debugging](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - Adjust Worker Replicas: If you are running many jobs in parallel, you may need to increase the number of worker replicas or the available resources in your cluster to handle the load. Insufficient workers or resources can cause jobs to fail with similar errors [GitHub Issue 39512](https://github.com/airbytehq/airbyte/issues/39512). If you continue to see this error after confirming your cluster has enough resources and your resource requests/limits are reasonable, consider scaling up your cluster or reducing the resource requirements for Airbyte jobs. If you need more specific guidance, please provide the relevant resource configuration and a summary of your cluster's available resources.Bhavik Shah
09/03/2025, 9:15 AM> ATTEMPT 1/12025-09-03 134909 info APPLY Stage: BUILD — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: CLAIM — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info Claimed: true for workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover via API in dataplane AUTOe54ffff4-6fb6-4e76-91a5-53b4de272553 (06b8e3db-d0c4-46cc-84cd-760ff2668bbf) 2025-09-03 134909 info APPLY Stage: LOAD_SHED — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: CHECK_STATUS — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info No pod found running for workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover 2025-09-03 134909 info APPLY Stage: MUTEX — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info No mutex key specified for workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover. Continuing... 2025-09-03 134909 info APPLY Stage: ARCHITECTURE — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: LAUNCH — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info [initContainer] image: airbyte/workload-init-container:1.8.1 resources: ResourceRequirements(claims=[], limits={}, requests={}, additionalProperties={}) 2025-09-03 134919 info Attempting to update workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover to LAUNCHED. 2025-09-03 134919 info Pipeline completed for workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover. 2025-09-03 134927 info 2025-09-03 134927 info Connector exited, processing output 2025-09-03 134927 info Output file jobOutput.json found 2025-09-03 134927 info ----- START DISCOVER ----- 2025-09-03 134927 info 2025-09-03 134927 info Connector exited with exit code 0 2025-09-03 134927 info Reading messages from protocol version 0.2.0 2025-09-03 134927 info INFO main i.m.c.e.DefaultEnvironment(<init>):168 Established active environments: [k8s, cloud, cli, source, connector] 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):138 SSL mode: preferred 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):162 maxConcurrencyLegacy: 1. maxDBConnections: null. socket paths: 0 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):181 Effective concurrency: 1 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):33 Executing class io.airbyte.cdk.discover.DiscoverOperation operation. 2025-09-03 134927 info INFO main i.a.c.j.JdbcConnectionFactory(get):44 Creating new connection for 'jdbc:mysql://ec2-3-6-71-119.ap-south-1.compute.amazonaws.com:3306'. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedTableNames$2(invoke):66 Querying table names for catalog discovery. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedTableNames$2(invoke):90 Discovered 219 table(s) in namespaces [GSRA]. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedColumnMetadata$2(invoke):104 Querying column names for catalog discovery. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedColumnMetadata$2(invoke):129 Discovered 3618 column(s) and pseudo-column(s). 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceMetadataQuerier$memoizedPrimaryKeys$2(invoke):143 Querying MySQL system tables for all primary keys for catalog discovery. 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceMetadataQuerier$memoizedPrimaryKeys$2(invoke):161 Discovered all primary keys in 1 MySQL schema(s). 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier(close):329 Closing JDBC connection. 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):46 Flushing output consumer prior to shutdown. 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):48 Completed integration: airbyte/source-mysql. 2025-09-03 134927 info Checking for optional control message... 2025-09-03 134927 info Writing catalog result to API... 2025-09-03 134927 info Finished writing catalog result to API. 2025-09-03 134927 info Writing output of a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover to the doc store 2025-09-03 134927 info Marking workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover as successful 2025-09-03 134928 info Deliberately exiting process with code 0. 2025-09-03 134928 info 2025-09-03 134928 info ----- END DISCOVER ----- 2025-09-03 134929 info APPLY Stage: BUILD — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: CLAIM — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info Claimed: true for workload 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync via API in dataplane AUTOe54ffff4-6fb6-4e76-91a5-53b4de272553 (06b8e3db-d0c4-46cc-84cd-760ff2668bbf) 2025-09-03 134929 info APPLY Stage: LOAD_SHED — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: CHECK_STATUS — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info No pod found running for workload 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync 2025-09-03 134929 info APPLY Stage: MUTEX — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info Mutex key: 40ed0036-fc6f-457a-b51e-151339be7262 specified for workload: 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync. Attempting to delete existing pods... 2025-09-03 134929 info Mutex key: 40ed0036-fc6f-457a-b51e-151339be7262 specified for workload: 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync found no existing pods. Continuing... 2025-09-03 134929 info APPLY Stage: ARCHITECTURE — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: LAUNCH — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info [initContainer] image: airbyte/workload-init-container:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 134929 info Launching replication pod: replication-job-21-attempt-0 (selectors = {}) with containers: 2025-09-03 134929 info [source] image: airbyte/source-mysql:3.50.5 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 134929 info [destination] image: airbyte/destination-redis:0.1.4 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 134929 info [orchestrator] image: airbyte/container-orchestrator:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 141955 info ----- START POST REPLICATION OPERATIONS ----- 2025-09-03 141955 info No post-replication operation(s) to perform. 2025-09-03 141955 info ----- END POST REPLICATION OPERATIONS -----
kapa.ai
09/03/2025, 9:15 AMkapa.ai
09/03/2025, 9:16 AMResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again., it is a clear indication that resource constraints are preventing the job from running [Running the launcher replication-orchestrator failed, WorkerException](https://github.com/airbytehq/airbyte/issues/39512). - You can adjust the resource requests and limits in your Helm values.yaml file under the global.jobs.resources section to better fit your available resources. Lowering these values may allow jobs to be scheduled if your cluster is resource-constrained. What you should do: 1. Check your EC2/Kubernetes resource availability (CPU and memory). 2. Reduce the resource requests/limits for Airbyte jobs in your Helm configuration if your instance cannot provide the requested resources. 3. Restart the Airbyte pods after making changes to ensure the new settings take effect. If you continue to see no records synced after resolving resource issues, check the Airbyte job logs for any source or destination connector errors, and verify that your MySQL source contains data and your Redis destination is reachable. If you need more specific guidance, please provide details about your EC2 instance size and your current Helm resource configuration.Bhavik Shah
09/03/2025, 9:23 AMkapa.ai
09/03/2025, 9:24 AMkapa.ai
09/03/2025, 9:24 AMvalues.yaml, your Airbyte deployment is likely over-provisioning resources for each sync job. The logs show that each sync job is requesting up to 2 CPUs and 2Gi memory per main container (source, destination, orchestrator), which can quickly exhaust your available resources and prevent pods from being scheduled. Key points from the knowledge sources: - If Airbyte jobs request more resources than are available, pods will not be scheduled, and you may see errors like ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - You can control the resource requests and limits for Airbyte jobs by setting them in your Helm values.yaml file under the global.jobs.resources section. For example: yaml global: jobs: resources: limits: cpu: 500m memory: 1Gi requests: cpu: 250m memory: 512Mi Adjust these values to fit within your EC2 instance's capacity. With 4 vCPUs and 16 GB RAM, setting each job to use 0.5 CPU and 1Gi memory (or less) is a good starting point, especially if you want to run multiple syncs concurrently [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). - After changing resource values, restart your Airbyte pods to ensure the new settings are applied. Sometimes, simply updating the configmap is not enough; pods must be recreated to pick up new environment variables [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Action Steps: 1. Add or update the global.jobs.resources section in your values.yaml to set lower resource requests/limits. 2. Apply the changes and restart Airbyte pods to ensure the new settings take effect. 3. Monitor your Airbyte job logs to confirm that pods are being scheduled and syncs are running. If you continue to see resource errors or jobs not starting, further reduce the resource requests or increase your EC2 instance size. If you need to set different resources for specific job types (e.g., discover, check), refer to the environment variables like DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST, etc., as described in the knowledge sources [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). Let me know if you need an example of a full values.yaml resource section!kapa.ai
09/03/2025, 9:34 AMkapa.ai
09/03/2025, 9:35 AMvalues.yaml, your Airbyte deployment is likely over-provisioning resources for each sync job. The logs show that each sync job is requesting up to 2 CPUs and 2Gi memory per main container (source, destination, orchestrator), which can quickly exhaust your available resources and prevent pods from being scheduled. Key points from the knowledge sources: - If Airbyte jobs request more resources than are available, pods will not be scheduled, and you may see errors like ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - You can control the resource requests and limits for Airbyte jobs by setting them in your Helm values.yaml file under the global.jobs.resources section. For example: yaml global: jobs: resources: limits: cpu: 500m memory: 1Gi requests: cpu: 250m memory: 512Mi Adjust these values to fit within your EC2 instance's capacity. With 4 vCPUs and 16 GB RAM, setting each job to use 0.5 CPU and 1Gi memory (or less) is a good starting point, especially if you want to run multiple syncs concurrently [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). - After changing resource values, restart your Airbyte pods to ensure the new settings are applied. Sometimes, simply updating the configmap is not enough; pods must be recreated to pick up new environment variables [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Action Steps: 1. Add or update the global.jobs.resources section in your values.yaml to set lower resource requests/limits. 2. Apply the changes and restart Airbyte pods to ensure the new settings take effect. 3. Monitor your Airbyte job logs to confirm that pods are being scheduled and syncs are running. If you continue to see resource errors or jobs not starting, further reduce the resource requests or increase your EC2 instance size. If you need to set different resources for specific job types (e.g., discover, check), refer to the environment variables like DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST, etc., as described in the knowledge sources [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). Let me know if you need an example of a full values.yaml resource section!Bhavik Shah
09/03/2025, 9:41 AMkapa.ai
09/03/2025, 9:41 AMkapa.ai
09/03/2025, 9:41 AMvalues.yaml for Airbyte on Helm, tailored to your setup (t3.xlarge EC2, 4 vCPU, 16GB RAM, MySQL source, Redis destination, Airbyte 1.8.1). This example includes resource requests and limits for both core Airbyte services and sync jobs, using the recommended structure from the knowledge sources. You should adjust the resource values further if you plan to run many syncs concurrently. yaml global: # Airbyte version and images image: repository: airbyte tag: "1.8.1" # Database configuration database: type: external host: "airbyte-db-svc" port: 5432 database: "db-airbyte" user: "airbyte" password: "airbyte" # MinIO configuration storage: type: minio bucket: log: "airbyte-logs" state: "airbyte-state" workloadOutput: "airbyte-workload" minio: endpoint: "airbyte-minio-svc:9000" accessKey: "minio" secretKey: "minio123" # Job resource requests/limits (applies to all sync/check/discover/spec jobs) jobs: resources: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi airbyte: version: "1.8.1" images: source-mysql: "airbyte/source-mysql:3.50.5" destination-redis: "airbyte/destination-redis:0.1.4" server: "airbyte/airbyte-server:1.8.1" worker: "airbyte/airbyte-worker:1.8.1" bootloader: "airbyte/airbyte-bootloader:1.8.1" temporal: "airbyte/airbyte-temporal:1.8.1" minio: "airbyte/minio:1.8.1" bootloader: enableRemoteDefinitions: false secretStorage: type: NO_OP # These are not always required, but included for completeness database: host: "airbyte-db-svc" port: 5432 user: "airbyte" password: "airbyte" dbname: "db-airbyte" minio: host: "airbyte-minio-svc" port: 9000 accessKey: "minio" secretKey: "minio123" replicaCount: server: 1 worker: 1 temporal: 1 resources: server: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi worker: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi temporal: requests: cpu: 100m memory: 256Mi limits: cpu: 200m memory: 512Mi worker: # Limit the number of concurrent syncs to avoid resource exhaustion extraEnv: - name: MAX_SYNC_WORKERS value: "2" - name: MAX_CHECK_WORKERS value: "2" Key points: - The global.jobs.resources section ensures that each sync/check/discover/spec job requests only a fraction of your total resources, preventing resource constraint errors [[Scaling Airbyte](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)]. - The worker.extraEnv section limits the number of concurrent jobs, which is important for a single-node setup [[Scaling Airbyte](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)]. - Adjust the replicaCount and resource values as needed for your workload. If you need to further tune resources for specific connectors or jobs, refer to the [Configuring Connector Resources](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-connector-resources) guide. If you have a different Helm chart version or need more advanced configuration, please specify, as the structure may differ slightly between chart versions.Bhavik Shah
09/03/2025, 12:49 PMkapa.ai
09/03/2025, 12:49 PMkapa.ai
09/03/2025, 12:49 PMvalues.yaml under global.jobs.resources. For your instance size, recommended starting values are much lower, such as: yaml global: jobs: resources: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi This will allow more jobs to be scheduled and reduce the risk of resource constraint errors [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). - After changing these values, you must restart your Airbyte pods to ensure the new settings are applied, as simply updating the configmap is not enough [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Summary: Your current resource requests/limits are too high for your EC2 instance. Lower them in your Helm values.yaml as shown above, redeploy, and restart your Airbyte pods. This should resolve scheduling/resource issues and allow your sync jobs to run reliably.