[postgresql-repmgr] All commands that require SSH are failing #75579
Labels
postgresql-repmgr
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
postgresql-repmgr:16.4.0-debian-12-r34
What architecture are you using?
amd64
What steps will reproduce the bug?
Hi everyone,
when trying to switch over the secondary database to become the new primary using the
repmgr
commandrepmgr standby switchover
, I get an "unable to connect to remote host via SSH" error.I have also tried commands like
repmgr cluster matrix
, but it seems that any command used to interact with a partner node is not working.What do you see instead?
I see the following output when trying the switchover:
And I see the following when checking the
cluster matrix
:Looking at the cluster matrix output, I see "ssh: not found."
Additional information
The infrastructure is deployed as follows:
"pg_ha" Docker Swarm encrypted network members:
I have tried building a simple Alpine-based container with the ping package on the same Swarm network, and it works as expected. I can successfully ping both nodes.
Could the problem be caused by the missing SSH package in the container image?
I’ve been trying for a while, but I just can’t get this to work.
Thanks.
The text was updated successfully, but these errors were encountered: