Comments (15)
hmmn, if you could send me the logs from when you create the pgpool container I'll take a look.
from crunchy-containers.
build logs and the way to build it are here,
https://pad.riseup.net/p/build_log
from crunchy-containers.
thanks, could you send next the Openshift JSON template you are using to create the pods?
from crunchy-containers.
also, your pgpool config files you are using if possible would be useful to review.
from crunchy-containers.
Here you can find the JSON files,
https://gitlab.com/sgk/mattermost
and the pgpool conf here,
https://github.com/syamgk/crunchy-containers/tree/master/conf/pgpool
thanking you too, also please do ask if more info is needed from my side
from crunchy-containers.
might need to change the image to the custom build one
https://gitlab.com/sgk/mattermost/blob/master/pgpool-rc.json#L90
from crunchy-containers.
see if you can connect using the psql client as follows:
psql -h pgpool.pgproject.svc.cluster.local -U testuser userdb
here you will replace pgproject with your openshift project you have chosen. Once you connect,
see if you can create a table and query it.
from crunchy-containers.
I am being able to connect to the db using psql, even while running mattermost across pgpool the user-creation, chat and everything is working properly.
this is happening only while accessing system console and some other points.
Ref: http://forum.mattermost.org/t/mattermost-fails-connecting-to-pgpool/2369
And everything is working fine if run it across master container or any other single instance postgres.
from crunchy-containers.
probably what is happening is the application (mattermost) is trying to use a database/user combination that is not configured within the pgpool configuration is my guess based on this log message, probably something the app developers can take a look at. you might look at your postgres container as the postgres user and see what databases/users the application has created if any to better debug this.
from crunchy-containers.
all tables are owned by testuser in this case and mattermost is trying to access the db as testuser
and the same container is working fine without any errors if directly connects to master( postgres instance in the cluster). so I suspect it might be some problem happening in the pgpool area.
from crunchy-containers.
just to confirm, are all the mattermost tables created in the 'userdb' database and owned by the 'testuser'? If any of the mattermost tables are in the 'postgres' or other database you'll see an error from pgpool.
from crunchy-containers.
https://pad.riseup.net/p/pgtables
these are the tables inside userdb
from crunchy-containers.
can also reproduce it by running on docker using docker-compose
https://gitlab.com/sgk/mattermost-docker
from crunchy-containers.
you might turn on SQL logging in pgpool's config, this will tell you what SQL statement is triggering the error...log_statement when set to true will cause all the SQL statements to be logged inside the container to the pgpool log file.
from crunchy-containers.
just checking to see if you had any updated status? were you able to identify the SQL statements with pgpool logging?
from crunchy-containers.
Related Issues (20)
- Does crunchydata container support rocky as base os? HOT 1
- FIPS enabled pgAdmin4 does not start HOT 2
- Where is the Dockerfile to build crunchy-postgres-exporter? HOT 1
- postgres-upgrade container doesn't include all versions of pgsql binaries HOT 3
- Why were the postgres-ha directories removed in v5.0.3? HOT 2
- ERRO Can't add file /var/lib/containers/storage/overlay/.... to tar: archive/tar: sockets not supported
- uid_daemon should identify itself as a bash script
- Postgres 14 missing from crunchy-upgrade image version 5.2.0 HOT 1
- Support for local storage HOT 3
- Custom image with new Timescaledb version HOT 1
- crunchy-pgbackrest:centos8-2.35-0 seems to be gone HOT 6
- timescaledb_toolkit in the 5.0 Operator HOT 1
- Incorrect commit hash for tag for v5.3.1 HOT 1
- Is there any rpm packages difference? HOT 2
- pgbackrest_env.stderr output HOT 1
- Support for ppc64le HOT 2
- Update to Patroni 3.0.2
- kube-apiserver crashes during pgbackrest backups
- pgAdmin 'ServerManager' object has no attribute 'user_info' HOT 5
- Cannot build postgres 15 HOT 3
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 crunchy-containers.