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
Describe the bug
Pgpool does not show Replication State/Replication Sync State in RedHat environments.
To Reproduce
Steps to reproduce the behavior:
Deploy a cluster with 2 PostgreSQL vms and pgpool deployment enabled
Run the command pcp_node_info -h localhost -U $PGPOOL_ADMIN_USERNAME -w --node-id=1 --verbose inside the pgpool pod.
Run the command export PGPASSWORD=$(cat /opt/bitnami/pgpool/secrets/pgpool_sr_check_password) && psql -qAtX -h localhost -U $PGPOOL_SR_CHECK_USER -d postgres -c "show pool_nodes" inside the pgpool pod.
Expected behavior
Running the pcp_node_info -h localhost -U $PGPOOL_ADMIN_USERNAME -w --node-id=1 --verbose' command should show output similar to the following if everything is configured correctly:
Hostname : /tmp
Port : 11003
Status : 2
Weight : 0.500000
Status Name : up
Role : standby
Replication Delay : 0
Replication State : streaming
Replication Sync State : async
Last Status Change : 2019-04-23 13:58:40
Actual behavior
The actual command result is as follows:
Hostname : ec2-xx-xx-xx-xx
Port : 5432
Status : 2
Weight : 0.500000
Status Name : up
Role : standby
Replication Delay : 0
Replication State :
Replication Sync State :
Last Status Change : 2020-05-20 14:19:41
There is no information on Replication State and Replication Sync State for PostgreSQL installations on RedHat.
Same with the command psql -h localhost -U $PGPOOL_SR_CHECK_USER -d postgres -c "show pool_nodes" that does not show values for the replication_state and replication_sync_state columns.
Describe the bug
Pgpool does not show Replication State/Replication Sync State in RedHat environments.
To Reproduce
Steps to reproduce the behavior:
pcp_node_info -h localhost -U $PGPOOL_ADMIN_USERNAME -w --node-id=1 --verbose
inside the pgpool pod.export PGPASSWORD=$(cat /opt/bitnami/pgpool/secrets/pgpool_sr_check_password) && psql -qAtX -h localhost -U $PGPOOL_SR_CHECK_USER -d postgres -c "show pool_nodes"
inside the pgpool pod.Expected behavior
Running the
pcp_node_info -h localhost -U $PGPOOL_ADMIN_USERNAME -w --node-id=1 --verbose'
command should show output similar to the following if everything is configured correctly:Actual behavior
The actual command result is as follows:
There is no information on
Replication State
andReplication Sync State
for PostgreSQL installations on RedHat.Same with the command
psql -h localhost -U $PGPOOL_SR_CHECK_USER -d postgres -c "show pool_nodes"
that does not show values for the replication_state and replication_sync_state columns.Config files
Configuration that should be included in the yaml file:
OS (please complete the following information):
Cloud Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: