Skip to content
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

Fix (Upgrade): Delegate maintenance mode tasks to 'balancers' group #699

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Jul 15, 2024

Issue: #666

Previously, we enabled maintenance mode for HAProxy on the Postgres servers of the cluster, which could cause errors in configurations that use dedicated load balancers. Now, we delegate these tasks directly to the HAProxy load balancer servers.

Fixed:

TASK [upgrade : Stop confd service] ********************************************************************************************************************************************************************************************************************
fatal: [***.**.**.***]: FAILED! => {"changed": false, "msg": "Could not find the requested service confd: host"}
fatal: [***.**.**.***]: FAILED! => {"changed": false, "msg": "Could not find the requested service confd: host"}

Additionally, delete the patroni.dynamic.json file before preparing the configuration for the new cluster.

@vitabaks vitabaks self-assigned this Jul 15, 2024
@vitabaks vitabaks merged commit 3b24f6e into master Jul 16, 2024
16 checks passed
@vitabaks vitabaks deleted the fix-maintenance-mode branch July 16, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant