https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
s

Sujith Kumar.S

03/30/2022, 5:02 AM
Hi Team, I’m setting up Airbyte locally on my mac with k8 deployment. While setting up the source connection with MSSQL getting below error, is there someone can guide me on this. Log4j2Appender says: kubectl cp /tmp/cd621464-26b9-4286-9a96-221189d04df7/source_config.json default/source-mssql-sync-d1329155-996c-4ec8-87ce-d589b6a90cea-0-rqgdy:/config/source_config.json -c init 2022-03-30 045601 INFO i.a.w.t.TemporalAttemptExecution(lambda$getWorkerThread$2):158 - Completing future exceptionally... io.airbyte.workers.WorkerException: Error while getting checking connection. at io.airbyte.workers.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:84) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:27) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: io.airbyte.workers.WorkerException: java.io.IOException: Cannot run program “kubectl”: error=0, Failed to exec spawn helper: pid: 137, exit value: 1 at io.airbyte.workers.process.KubeProcessFactory.create(KubeProcessFactory.java:150) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.process.AirbyteIntegrationLauncher.check(AirbyteIntegrationLauncher.java:58) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:53) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] ... 3 more Caused by: java.lang.RuntimeException: java.io.IOException: Cannot run program “kubectl”: error=0, Failed to exec spawn helper: pid: 137, exit value: 1 at io.airbyte.workers.process.KubePodProcess.copyFilesToKubeConfigVolume(KubePodProcess.java:284) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.process.KubePodProcess.<init>(KubePodProcess.java:514) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.process.KubeProcessFactory.create(KubeProcessFactory.java:146) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.process.AirbyteIntegrationLauncher.check(AirbyteIntegrationLauncher.java:58) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] at io.airbyte.workers.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:53) ~[io.airbyte-airbyte-workers-0.35.61-alpha.jar:?] ... 3 more
👀 1
o

Octavia Squidington III

03/30/2022, 8:01 AM
loading...
h

Harshith (Airbyte)

03/30/2022, 8:10 AM
Hey looks to me like the worker pod is unable to copy files to pod. Can you check if the pods are getting created or not?
s

Sujith Kumar.S

03/30/2022, 1:33 PM
Pods are in running state
But the source-sync pod is getting failed because of above error SUJITHKUMAR-MacBook-Air:airbyte sujith.k$ kubectl get pods NAME READY STATUS RESTARTS AGE airbyte-bootloader 0/1 Completed 0 8h airbyte-db-85c478b786-k2lvb 1/1 Running 0 8h airbyte-minio-5f776f998c-qhkq7 1/1 Running 0 8h airbyte-pod-sweeper-78bfcbd996-gkjft 1/1 Running 0 8h airbyte-scheduler-86cf469c8c-txdsl 1/1 Running 0 8h airbyte-server-6f98f8d558-j2x5w 1/1 Running 0 8h airbyte-temporal-fb6598f49-fp5w4 1/1 Running 0 8h airbyte-webapp-54cf9f4cd6-dm24w 1/1 Running 0 8h airbyte-worker-54cc5c9967-d7twr 1/1 Running 0 8h source-mssql-sync-d1329155-996c-4ec8-87ce-d589b6a90cea-0-rqgdy 0/4 Init:Error 0 8h SUJITHKUMAR-MacBook-Air:airbyte sujith.k$
7 Views