openenergysolutions / openfmb.adapters

OpenFMB Adapters
Apache License 2.0
3 stars 1 forks source link

Postgres/Timescale plugin requires ip address in Kubernetes to work #109

Closed teburd closed 3 years ago

teburd commented 3 years ago

When attempting to use a dns name instead of ip for postgres connection a sysmalloc assertion occurs (malloc.c, from libc!) and the adapter fails to connect to postgres.

teburd commented 3 years ago

Need to test if this happens outside of kubernetes, but certainly in kubernetes it's an issue

teburd commented 3 years ago

This seems to be fixed in the latest dockers, built with musl's libc. It's likely that something with glibc's nss name lookup functionality wasn't quite right in the previous glibc based docker builds.