Erin Aho
11/23/2023, 1:39 PMYoni Augarten
11/23/2023, 1:51 PMYoni Augarten
11/23/2023, 1:54 PMOz Katz
Erin Aho
11/23/2023, 2:07 PMIf I remember correctly, lakeFS will try to figure out if the S3 endpoint is actually AWS S3 by calling an AWS API.When using the S3 block store, it definitely does try to connect to the AWS S3 API, I can see those requests timing out in the logs when using the S3 block store. However, on my end, the hanging issue still occurs using a local block store and no proxy (I tested it out to see if that was the culprit). I'm recreating the initial issue now so I can share the logs/config
Yoni Augarten
11/23/2023, 2:07 PMErin Aho
11/23/2023, 2:19 PMlakefs:
replicaCount: 1
secrets:
authEncryptSecretKey: <injected secret>
databaseConnectionString: <injected secret>
lakefsConfig: |
database:
type: "postgres"
blockstore:
type: local
Logs before hang:
time="2023-11-23T14:06:37Z" level=info msg="Configuration file" func=<http://github.com/treeverse/lakefs/cmd/lakefs/cmd.initConfig|github.com/treeverse/lakefs/cmd/lakefs/cmd.initConfig> file="/build/cmd/lakefs/cmd/root.go:109" fields.file=/etc/lakefs/config.yaml file="/build/cmd/lakefs/cmd/root.go:109" phase=startup
time="2023-11-23T14:06:37Z" level=info msg="Config loaded" func=cmd/lakefs/cmd.initConfig file="cmd/root.go:151" fields.file=/etc/lakefs/config.yaml file="cmd/root.go:151" phase=startup
time="2023-11-23T14:06:37Z" level=info msg=Config func=cmd/lakefs/cmd.initConfig file=...
time="2023-11-23T14:06:37Z" level=info msg="lakeFS run" func=cmd/lakefs/cmd.glob..func8 file="cmd/run.go:91" version=1.2.0
time="2023-11-23T14:06:37Z" level=info msg="KV valid" func=pkg/kv.ValidateSchemaVersion file="build/pkg/kv/migration.go:68" version=4
time="2023-11-23T14:06:37Z" level=info msg="initialized Auth service" func=pkg/auth.NewAuthService file="build/pkg/auth/service.go:188" service=auth_service
time="2023-11-23T14:06:37Z" level=info msg="initialize blockstore adapter" func=pkg/block/factory.BuildBlockAdapter file="build/pkg/block/factory/build.go:32" type=local
time="2023-11-23T14:06:37Z" level=info msg="initialized blockstore adapter" func=pkg/block/factory.buildLocalAdapter file="build/pkg/block/factory/build.go:79" path=/home/lakefs/lakefs/data/block type=local
Works fine upon adding
extraEnvVars:
- name: HTTP_PROXY
value: <proxy>
- name: HTTPS_PROXY
value: <proxy>
- name: NO_PROXY
value: <no proxy list>
If there aren't any behind the scenes networking calls being made, my guess is it's related to the connection to postgres.
Will do some more digging my end.Yoni Augarten
11/23/2023, 2:21 PMErin Aho
11/23/2023, 2:25 PMsvc.cluster.local
inside the clusterErin Aho
11/23/2023, 2:27 PMOz Katz
svc.cluster.local
resolves to a local IP, the first DNS server used to resolve it is a public one? (just a wild guess, of course)Erin Aho
11/23/2023, 2:31 PMOz Katz