airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
15.53k stars 4k forks source link

[docker] Deploy Bug when not using postgres user #36311

Open renasm opened 6 months ago

renasm commented 6 months ago

Platform Version

0.53.1

What step the error happened?

On deploy

Revelant information

When using another DB user that not 'postgre' it will fail on airbyte-temporal. And airbyte will not start.

Looking on docker-compose.yaml I do see hardcoded:

DB=postgresql

airbyte-temporal: image: airbyte/temporal:${VERSION} logging: *default-logging container_name: airbyte-temporal restart: unless-stopped environment:

I do think this is the reason why It fails.

Relevant log output

airbyte-server                    | Mar 20, 2024 10:53:44 AM io.grpc.internal.ManagedChannelImpl$NameResolverListener handleErrorInSyncContext
airbyte-server                    | WARNING: [Channel<45>: (airbyte-temporal:7233)] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host airbyte-temporal, cause=java.lang.RuntimeException: java.net.UnknownHostException: airbyte-temporal
airbyte-server                    |     at io.grpc.internal.DnsNameResolver.resolveAddresses(DnsNameResolver.java:223)
airbyte-server                    |     at io.grpc.internal.DnsNameResolver.doResolve(DnsNameResolver.java:282)
airbyte-server                    |     at io.grpc.grpclb.GrpclbNameResolver.doResolve(GrpclbNameResolver.java:63)
airbyte-server                    |     at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:318)
airbyte-server                    |     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
airbyte-server                    |     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
airbyte-server                    |     at java.base/java.lang.Thread.run(Thread.java:1583)
airbyte-server                    | Caused by: java.net.UnknownHostException: airbyte-temporal
airbyte-server                    |     at java.base/java.net.InetAddress$CachedLookup.get(InetAddress.java:988)
airbyte-server                    |     at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
airbyte-server                    |     at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1688)
airbyte-server                    |     at io.grpc.internal.DnsNameResolver$JdkAddressResolver.resolveAddress(DnsNameResolver.java:632)
airbyte-server                    |     at io.grpc.internal.DnsNameResolver.resolveAddresses(DnsNameResolver.java:219)
marcosmarxm commented 6 months ago

Can you share the temporal logs?

renasm commented 6 months ago

Yes, how can i access the temporal logs(Linux on EC2)

marcosmarxm commented 6 months ago

docker logs airbyte-temporal > temporal.logs

octavia-squidington-iii commented 4 days ago

At Airbyte, we seek to be clear about the project priorities and roadmap. This issue has not had any activity for 180 days, suggesting that it's not as critical as others. It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity. To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.