- Is this your first time deploying Airbyte?: Yes
- OS Version / Instance: Ubuntu 18… are some example remove it with yours
- Memory / Disk: you can use something like 16Gb / 1 Tb
- Deployment: Kubernetes
- Airbyte Version: v0.40.6
- Source name/version:
- Destination name/version:
- Step: The issue is happening while setting up airbyte using helm chart
- Description:
Reason for failure : Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition
Followed following steps to setup airbyte :
- Created namespace airbyte :
kubectl create ns airbyte
- Build helm dependencies :
helm dependency build --debug -n airbyte
- Install airbyte :
helm install airbyte -n airbyte . --debug
LOGS :
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: ADDED
client.go:615: [debug] Pod airbyte-airbyte-bootloader pending
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: MODIFIED
client.go:615: [debug] Pod airbyte-airbyte-bootloader pending
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: MODIFIED
client.go:615: [debug] Pod airbyte-airbyte-bootloader pending
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: MODIFIED
client.go:617: [debug] Pod airbyte-airbyte-bootloader running
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: MODIFIED
client.go:617: [debug] Pod airbyte-airbyte-bootloader running
client.go:556: [debug] Add/Modify event for airbyte-airbyte-bootloader: MODIFIED
client.go:617: [debug] Pod airbyte-airbyte-bootloader running
Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition
helm.go:88: [debug] failed pre-install: timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.2.1/command.go:902
main.main
helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
- This leads to pod status :
kubectl get pods -n airbyte
NAME READY STATUS RESTARTS AGE
airbyte-airbyte-bootloader 1/2 NotReady 0 27m
airbyte-db-5965d9c677-nwnb6 2/2 Running 1 28m
airbyte-minio-797fd9d6cf-5676p 2/2 Running 0 27m
kubectl describe pod -n airbyte airbyte-airbyte-bootloader
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 32m default-scheduler Successfully assigned airbyte/airbyte-airbyte-bootloader to ip-10-202-15-253.ec2.internal
Normal Pulling 32m kubelet, ip-10-202-15-253.ec2.internal Pulling image "docker.io/istio/proxyv2:1.7.0"
Normal Pulled 32m kubelet, ip-10-202-15-253.ec2.internal Successfully pulled image "docker.io/istio/proxyv2:1.7.0" in 109.488976ms
Normal Created 32m kubelet, ip-10-202-15-253.ec2.internal Created container istio-validation
Normal Started 32m kubelet, ip-10-202-15-253.ec2.internal Started container istio-validation
Normal Pulling 32m kubelet, ip-10-202-15-253.ec2.internal Pulling image "airbyte/bootloader:0.40.5"
Normal Pulled 32m kubelet, ip-10-202-15-253.ec2.internal Successfully pulled image "airbyte/bootloader:0.40.5" in 5.193570738s
Normal Created 32m kubelet, ip-10-202-15-253.ec2.internal Created container airbyte-bootloader-container
Normal Started 32m kubelet, ip-10-202-15-253.ec2.internal Started container airbyte-bootloader-container
Normal Pulling 32m kubelet, ip-10-202-15-253.ec2.internal Pulling image "docker.io/istio/proxyv2:1.7.0"
Normal Pulled 32m kubelet, ip-10-202-15-253.ec2.internal Successfully pulled image "docker.io/istio/proxyv2:1.7.0" in 112.645118ms
Normal Created 32m kubelet, ip-10-202-15-253.ec2.internal Created container istio-proxy
Normal Started 32m kubelet, ip-10-202-15-253.ec2.internal Started container istio-proxy
Warning Unhealthy 32m (x2 over 32m) kubelet, ip-10-202-15-253.ec2.internal Readiness probe failed: Get "http://192.168.16.120:15021/healthz/ready": dial tcp 192.168.16.120:15021: connect: connection refused
Bootloader container log snippet:
2022-09-21 07:58:26 INFO i.a.b.SecretMigrator(migrateSources):96 - Migrating Sources
2022-09-21 07:58:26 INFO i.a.b.SecretMigrator(migrateDestinations):120 - Migration Destinations
2022-09-21 07:58:26 INFO i.a.b.BootloaderApp(lambda$new$0):132 - Secrets successfully migrated.
2022-09-21 07:58:26 INFO i.a.b.BootloaderApp(lambda$new$0):135 - Loaded seed data..
2022-09-21 07:58:26 INFO i.a.b.BootloaderApp(load):177 - Finished running post load Execution.
2022-09-21 07:58:26 INFO i.a.b.BootloaderApp(load):179 - Finished bootstrapping Airbyte environment.
2022-09-21 07:58:26 INFO c.z.h.HikariDataSource(close):350 - HikariPool-1 - Shutdown initiated...
airbyte-db-container log when its crashed once:
kubectl logs -n airbyte -f airbyte-db-5965d9c677-nwnb6 -c airbyte-db-container --previous
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/000_init.sql
ALTER SYSTEM
CREATE DATABASE
You are now connected to database "airbyte" as user "airbyte".
2022-09-21 07:58:11.385 UTC [52] ERROR: role "docker" does not exist
2022-09-21 07:58:11.385 UTC [52] STATEMENT: GRANT ALL ON
DATABASE airbyte TO docker;
psql:/docker-entrypoint-initdb.d/000_init.sql:12: ERROR: role "docker" does not exist
Could someone advice what could be the issue here?
Thanks in advance.