You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During installation raise error "nc: bad address 'host1,host2' waiting PostgreSQL" if set more one node in parameter externalPostgresql: host: host1,host2
What did you expect to happen:
According to the documentation (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS), Postgres clients and drivers must accept multiple hosts in the connect string as "host". Since libpq is eventually used here too, you should just skip the parameter as is, without trying to use its contents in a check with nc command, which doesn't understand multiple hosts.
What went wrong?
What happened:
During installation raise error "nc: bad address 'host1,host2' waiting PostgreSQL" if set more one node in parameter externalPostgresql: host: host1,host2
What did you expect to happen:
According to the documentation (https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS), Postgres clients and drivers must accept multiple hosts in the connect string as "host". Since libpq is eventually used here too, you should just skip the parameter as is, without trying to use its contents in a check with nc command, which doesn't understand multiple hosts.
this check raises error
oncall/helm/oncall/templates/engine/job-migrate.yaml
Line 74 in 3d4e876
How do we reproduce it?
externalPostgresql: host: host1,host2
more then one host
Grafana OnCall Version
v1.7.2
Product Area
Helm/Kubernetes/Docker
Grafana OnCall Platform?
Kubernetes
User's Browser?
No response
Anything else to add?
No response
The text was updated successfully, but these errors were encountered: