-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[postgresql-repmgr] All commands that require SSH are failing #75579
Comments
Hi, the issue may not be directly related to the Bitnami container image/Helm chart, but rather to how the application is being utilized, configured in your specific environment, or tied to a particular scenario that is not easy to reproduce on our side. If you think that's not the case and want to contribute a solution, we'd like to invite you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here. Your contribution will greatly benefit the community. Please feel free to contact us if you have any questions or need assistance. Suppose you have any questions about the application, customizing its content, or technology and infrastructure usage. In that case, we highly recommend that you refer to the forums and user guides provided by the project responsible for the application or technology. With that said, we'll keep this ticket open until the stale bot automatically closes it, in case someone from the community contributes valuable insights. |
Hello, I would like to understand how this could be related to the way I'm deploying the DBs. If the SSH binary is not present on the container image, how can the SSH-based commands actually work? I would also like to know if anyone has successfully managed to make commands like "standby switchover" work. I look forward to your answer. Thanks for your help. |
You can try building your own image modifying the Dockerfile present in this repo adding the
|
Hello, thanks for the suggestion.
Could this be fixable with a different type of deployment? Has anyone at Bitnami or any user managed to get these SSH-based commands to actually work? Thanks. |
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: