Comments (3)
Hi @BruceDu521, thanks for using bitnami/charts
.
With the information provided is not easy to reproduce the failure. It seems you are facing any kind of deadlock. Do you know how you reached that situation? Have you upgraded the images or your configuration? Could you share the values/configuration you are using?
from charts.
Hi @fmulero , thanks for help.
I found the reason last night.
The pg-ha pods we deployed by a program, and the program would assign username and password to postgres cluster. For a stupid bug, program got wrong username and password. So we cleared pvc, fixed program's bug, and restart the whole progress, pg-ha pods was running as normal.
What confused me is, why it was because of wrong username and password, but pg printed log as this:
[2024-02-19 07:57:17] [DETAIL]
could not translate host name "lake-sql-postgres-gis-7bc4d3b9c8-postgresql-2.lake-sql-postgres-gis-7bc4d3b9c8-postgresql-headless.default.svc.cluster.local" to address: Name or service not known
from charts.
Great @BruceDu521! it shouldn't have been easy. Thanks a lot for sharing your findings.
The DNS error appears because the pod never gets ready and it isn't attached to the headless service.
I agree about the error, it should be clearer, with that information is not easy to find the root cause. If it happens again, please enable the debug mode in the image to get more logs.
from charts.
Related Issues (20)
- [bitnami/postgresql-ha]: improper password sanitation in pgpool
- Keydb Container Image and Helm Chart HOT 3
- [bitnami/mongodb] No host described in new configuration with {version: 1, term: 0} for replica set rs0 maps to this node HOT 4
- [bitnami/redmine] Installation failing on OpenShift due to added capabilities (even with global.compatibility.openshift.adaptSecurityContext set to force) HOT 3
- [bitnami/harbor] failed to initialize database: register db Ping `default`, failed to connect to `host=harbor-postgresql user=postgres database=registry`: server error (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01)) when setting existingSecret HOT 3
- [bitnami/harbor] failed to initialize cache: cache type not support when using provided values.yaml HOT 5
- [bitnami/mongodb] release notes missing the mongo-client pod command including the `mongosh` command from the client
- [MySQL] Default documentation contains bash script, but executes it via `sh` HOT 4
- [bitnami/postgresql-ha] pod status CrashLoopBackOff HOT 6
- Mismatch Between Realm IDs in Pod Logs and PostgreSQL Database on EKS Deployment HOT 2
- [bitnami/mariadb-galera] Bootstrap controller pod HOT 2
- [bitnami/scylladb] Autoscaling problem and questions HOT 1
- [bitnami/haproxy] missing v2 upgrade nodes
- [bitnami/kube-prometheus] chart's operator.kubeletService doesn't create a service for kubelet HOT 1
- pgpool redirects traffic to a slave HOT 1
- [bitnami/haproxy] missing deploymentAnnotations HOT 1
- [bitnami/etcd] readiness probe failed then rbac is disabled on AKS cluster HOT 2
- [bitnami/odoo] PDF builder issue HOT 2
- [bitnami/kafka] ReplicationFactor of a Topic using single Broker has been not override in both zookeeper and kraft
- [bitnami/keycloak] Cannot load AdminUI with gce based ingress
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.