Josh
05/12/2023, 6:15 PM| 172.29.0.9 - airbyte [12/May/2023:18:14:30 +0000] "POST /api/v1/workspaces/list HTTP/1.0" 502 497 "<http://localhost:8000/>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" "172.29.0.1"
airbyte-webapp | 2023/05/12 18:14:30 [error] 26#26: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.29.0.9, server: localhost, request: "POST /api/v1/workspaces/list HTTP/1.0", upstream: "<http://172.29.0.7:8001/api/v1/workspaces/list>", host: "localhost", referrer: "<http://localhost:8000/>"
airbyte-proxy | 172.29.0.1 - airbyte [12/May/2023:18:14:30 +0000] "POST /api/v1/workspaces/list HTTP/1.1" 502 497 "<http://localhost:8000/>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
Alan Szpigiel
05/15/2023, 4:56 AMairbyte-temporal
.
It’s not pointing to the right DB_HOST.
I customized the DB:
### DATABASE ###
# Airbyte Internal Job Database, see <https://docs.airbyte.io/operator-guides/configuring-airbyte-db>
DATABASE_USER=airbyte_rw
DATABASE_PASSWORD=*****
DATABASE_HOST=prd-datawarehouse.int.main.url
DATABASE_PORT=5432
DATABASE_DB=airbyte
# translate manually DATABASE_URL=jdbc:postgresql://${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DB} (do not include the username or password here)
DATABASE_URL=jdbc:<postgresql://prd-datawarehouse.int.main.url:5432/airbyte>
JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.40.26.001
An the docker-compose.yml is like this
airbyte-temporal:
image: airbyte/temporal:${VERSION}
logging: *default-logging
container_name: airbyte-temporal
restart: unless-stopped
environment:
- DB=postgresql
- DB_PORT=${DATABASE_PORT}
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml
- LOG_LEVEL=${LOG_LEVEL}
- POSTGRES_PWD=${DATABASE_PASSWORD}
- POSTGRES_SEEDS=${DATABASE_HOST}
- POSTGRES_USER=${DATABASE_USER}
volumes:
- ./temporal/dynamicconfig:/etc/temporal/config/dynamicconfig
networks:
- airbyte_internal
but the temporal server keeps restarting with the logs:
2023-05-15T04:41:18.615Z ERROR Unable to create SQL database. {"error": "unable to connect to DB, tried default DB names: postgres,defaultdb, errors: [pq: no pg_hba.conf entry for host \"10.0.101.173\", user \"airbyte_rw\", database \"postgres\", no encryption pq: no pg_hba.conf entry for host \"10.0.101.173\", user \"airbyte_rw\", database \"defaultdb\", no encryption]", "logging-call-at": "handler.go:97"}
Important! host \“10.0.101.173\” ---> THIS IS THE LOCAL IP NOT <http://prd-datawarehouse.int|prd-datawarehouse.int>.main.url
and database must be airbyte
Did anyone had this problem?King Ho
05/15/2023, 11:05 AMMEJDOUBI Mohamed
05/15/2023, 4:59 PMKevin Ruprecht
05/15/2023, 8:35 PMdocker compose up -d
. parsing /home/xxxxxxxxxx/airbyte/docker-compose.yaml: Non-string key at top level: 404
Fulvio Mascara
05/16/2023, 4:54 AMPeter Cooper
05/16/2023, 5:01 AMError response from daemon: invalid mount config for type "bind": bind source path does not exist: /airbyte/airbyte/flags.yml
Joish Bosco
05/16/2023, 7:29 AMRishikesh Srinivas
05/16/2023, 8:51 AMYusuf Mirkar
05/17/2023, 9:58 AMYusuf Mirkar
05/17/2023, 10:22 AMRamkumar Vaidyanathan
05/17/2023, 6:26 PM2023-05-17T18:24:14.367Z ERROR Unable to create SQL database. {"error": "pq: permission denied to create database", "logging-call-at": "handler.go:97"}
2023/05/17 18:24:14 Loading config; env=docker,zone=,configDir=config
2023/05/17 18:24:14 Loading config files=[config/docker.yaml]
{"level":"info","ts":"2023-05-17T18:24:14.680Z","msg":"Updated dynamic config","logging-call-at":"file_based_client.go:143"}
{"level":"info","ts":"2023-05-17T18:24:14.680Z","msg":"Starting server for services","value":["history","matching","frontend","worker"],"logging-call-at":"server.go:123"}
Unable to start server. Error: sql schema version compatibility check failed: unable to read DB schema version keyspace/database: temporal error: pq: relation "schema_version" does not exist
Qamarudeen Muhammad
05/18/2023, 7:15 AMInvalid timestamp: '+12699-01-07T18:00:26.673000Z'
compiled SQL at ../build/run/airbyte_utils/models/generated/airbyte_incremental/scd/airbyte_bigquery/mytablename_scd.sql
40 of 63 ERROR creating incremental model airbyte_bigquery.mytablename_scd....................................... [ERROR in 6.40s]
Database Error in model tbl_purchase_order_scd (models/generated/airbyte_incremental/scd/airbyte_bigquery/mytablename_scd.sql
)Yusuf Mirkar
05/18/2023, 11:00 AMShivam Bhardwaj
05/18/2023, 11:49 AMYusuf Mirkar
05/18/2023, 11:59 AMYusuf Mirkar
05/18/2023, 1:03 PMHaim Beyhan
05/18/2023, 1:32 PMSlackbot
05/18/2023, 2:10 PMSunny Hashmi
05/18/2023, 4:17 PMairbyte-bootloader
and the airbyte-db
services.
The presentation will be 20 min, and we'll dedicate the remaining 25 min to questions about the daily topic or general Q&A.
Check out the schedule below 👇 Reminders and updates will be posted in #C045VK5AF54
🔥 Deep Dive Sessions: airbyte-bootloader
• Monday May 22 - 1pm PDT (zoom link)
• Tuesday May 23 - 16:00 CEST / 10am EDT (zoom link)
🔥 Deep Dive Sessions: airbyte-db + Airbyte Database Internals
• Wednesday May 24 - 1pm PDT (zoom link)
• Thursday May 25 - 16:00 CEST / 10am EDT (zoom link)
🔥 Open Q&A
• Friday May 26 - 1pm PDT (zoom link)
Hope to see you there! octavia rocketYusuf Mirkar
05/18/2023, 5:32 PMYusuf Mirkar
05/18/2023, 6:17 PMAman Kesharwani
05/18/2023, 7:19 PMERROR i.m.r.Micronaut(handleStartupException):338 - Error starting Micronaut server: null java.lang.IllegalArgumentException: null at com.google.common.base.Preconditions.checkArgument(Preconditions.java:131) ~[guava-31.1-jre.jar:?] at io.airbyte.config.storage.DefaultS3ClientFactory.validateBase(DefaultS3ClientFactory.java:36) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.config.storage.DefaultS3ClientFactory.validate(DefaultS3ClientFactory.java:31) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.config.storage.DefaultS3ClientFactory.<init>(DefaultS3ClientFactory.java:24) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.config.helpers.CloudLogs.createCloudLogClient(CloudLogs.java:51) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.config.helpers.LogClientSingleton.createCloudClientIfNull(LogClientSingleton.java:226) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.config.helpers.LogClientSingleton.setWorkspaceMdc(LogClientSingleton.java:213) ~[io.airbyte.airbyte-config-config-models-0.44.0.jar:?] at io.airbyte.server.LoggingEventListener.onApplicationEvent(LoggingEventListener.java:34) ~[io.airbyte-airbyte-server-0.44.0.jar:?] at io.airbyte.server.LoggingEventListener.onApplicationEvent(LoggingEventListener.java:21) ~[io.airbyte-airbyte-server-0.44.0.jar:?] at io.micronaut.context.event.ApplicationEventPublisherFactory.notifyEventListeners(ApplicationEventPublisherFactory.java:262) ~[micronaut-inject-3.8.8.jar:3.8.8] at io.micronaut.context.event.ApplicationEventPublisherFactory.access$200(ApplicationEventPublisherFactory.java:60) ~[micronaut-inject-3.8.8.jar:3.8.8] at io.micronaut.context.event.ApplicationEventPublisherFactory$2.publishEvent(ApplicationEventPublisherFactory.java:229) ~[micronaut-inject-3.8.8.jar:3.8.8] at io.micronaut.http.server.netty.NettyHttpServer.lambda$fireStartupEvents$15(NettyHttpServer.java:587) ~[micronaut-http-server-netty-3.8.8.jar:3.8.8] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] at io.micronaut.http.server.netty.NettyHttpServer.fireStartupEvents(NettyHttpServer.java:581) ~[micronaut-http-server-netty-3.8.8.jar:3.8.8] at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:298) ~[micronaut-http-server-netty-3.8.8.jar:3.8.8] at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:104) ~[micronaut-http-server-netty-3.8.8.jar:3.8.8] at io.micronaut.runtime.Micronaut.lambda$start$2(Micronaut.java:81) ~[micronaut-context-3.8.8.jar:3.8.8] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] at io.micronaut.runtime.Micronaut.start(Micronaut.java:79) ~[micronaut-context-3.8.8.jar:3.8.8] at io.micronaut.runtime.Micronaut.run(Micronaut.java:323) ~[micronaut-context-3.8.8.jar:3.8.8] at io.micronaut.runtime.Micronaut.run(Micronaut.java:309) ~[micronaut-context-3.8.8.jar:3.8.8] at io.airbyte.server.Application.main(Application.java:15) ~[io.airbyte-airbyte-server-0.44.0.jar:?]
I have created a serviceaccount with attached IAM policy to access the desired S3 bucket and updated the values.yaml file accordingly
Attaching the values.yaml file for reference any help will be really appreciatedSaptaswa Pal
05/19/2023, 5:00 AMvasu cheemakurthi
05/19/2023, 10:17 AMOctavia Squidington III
05/19/2023, 7:45 PMLouis Auneau
05/19/2023, 8:02 PMpostgresql.enabled: false
in order to configure my own CloudSQL database, but I am having a hard time understanding the difference between the global.database
and externalDatabase
values?
Would you have any documentation explaining it ?
Thank you by advance and have a nice day !Thiago Guimarães
05/19/2023, 9:06 PMJoey Taleño
05/22/2023, 10:13 AMHaim Beyhan
05/22/2023, 1:53 PMvalues.yaml
============
global.state.storage.type: "S3"
global.logs.storage.type: "S3"
global.logs.minio.enabled: false
global.logs.s3.enabled: true
global.logs.s3.bucket: "XXXXXX"
global.logs.s3.bucketRegion: "XXXXXX"
error
=======
2023-05-22 13:49:49 ERROR i.m.r.Micronaut(handleStartupException):338 - Error starting Micronaut server: null
java.lang.IllegalArgumentException: null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:131) ~[guava-31.1-jre.jar:?]
at io.airbyte.config.storage.DefaultS3ClientFactory.validateBase(DefaultS3ClientFactory.java:36) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.config.storage.DefaultS3ClientFactory.validate(DefaultS3ClientFactory.java:31) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.config.storage.DefaultS3ClientFactory.<init>(DefaultS3ClientFactory.java:24) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.config.helpers.CloudLogs.createCloudLogClient(CloudLogs.java:51) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.config.helpers.LogClientSingleton.createCloudClientIfNull(LogClientSingleton.java:226) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.config.helpers.LogClientSingleton.setWorkspaceMdc(LogClientSingleton.java:213) ~[io.airbyte.airbyte-config-config-models-0.44.4.jar:?]
at io.airbyte.server.LoggingEventListener.onApplicationEvent(LoggingEventListener.java:34) ~[io.airbyte-airbyte-server-0.44.4.jar:?]
at io.airbyte.server.LoggingEventListener.onApplicationEvent(LoggingEventListener.java:21) ~[io.airbyte-airbyte-server-0.44.4.jar:?]
at io.micronaut.context.event.ApplicationEventPublisherFactory.notifyEventListeners(ApplicationEventPublisherFactory.java:262) ~[micronaut-inject-3.9.0.jar:3.9.0]
at io.micronaut.context.event.ApplicationEventPublisherFactory.access$200(ApplicationEventPublisherFactory.java:60) ~[micronaut-inject-3.9.0.jar:3.9.0]
at io.micronaut.context.event.ApplicationEventPublisherFactory$2.publishEvent(ApplicationEventPublisherFactory.java:229) ~[micronaut-inject-3.9.0.jar:3.9.0]
at io.micronaut.http.server.netty.NettyHttpServer.lambda$fireStartupEvents$15(NettyHttpServer.java:587) ~[micronaut-http-server-netty-3.9.0.jar:3.9.0]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at io.micronaut.http.server.netty.NettyHttpServer.fireStartupEvents(NettyHttpServer.java:581) ~[micronaut-http-server-netty-3.9.0.jar:3.9.0]
at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:298) ~[micronaut-http-server-netty-3.9.0.jar:3.9.0]
at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:104) ~[micronaut-http-server-netty-3.9.0.jar:3.9.0]
at io.micronaut.runtime.Micronaut.lambda$start$2(Micronaut.java:81) ~[micronaut-context-3.9.0.jar:3.9.0]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at io.micronaut.runtime.Micronaut.start(Micronaut.java:79) ~[micronaut-context-3.9.0.jar:3.9.0]
at io.micronaut.runtime.Micronaut.run(Micronaut.java:323) ~[micronaut-context-3.9.0.jar:3.9.0]
at io.micronaut.runtime.Micronaut.run(Micronaut.java:309) ~[micronaut-context-3.9.0.jar:3.9.0]
at io.airbyte.server.Application.main(Application.java:15) ~[io.airbyte-airbyte-server-0.44.4.jar:?]