-
-
Notifications
You must be signed in to change notification settings - Fork 432
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
Support Ubuntu 24.04; Install Patroni via deb/rpm package #642
Conversation
The
|
Perhaps we will switch from pip to rpm/deb ( |
I was able to successfully set up the cluster on Ubuntu 24.04 by:
not sure how much of this is necessary, but I hope it at least helps! FWIW, I set up the basic failover cluster. |
In your case, the key is that you are using consul and you did not need to install the outdated python-etcd package. |
To ensure compatibility with Ubuntu 22.04 (and Python 3.12), the Patroni package will be installed from the deb/rpm package by default. |
Add support for Ubuntu 24.04
UPD:
To ensure compatibility with Ubuntu 22.04 (and Python 3.12), the Patroni package will be installed from the deb/rpm package by default. The latest available version of the package will be installed from the Postgres repository.
You also have the option to choose the installation method using the pip package (variable
patroni_installation_method
) if you prefer this installation method or, for example, want to have better control over the version of the Patroni package that you install on the cluster.Note: Consul package for OracleLinux missing in HashiCorp repository. Only the installation of a binary file is supported (consul_install_from_repo: false, patroni_installation_method: "pip")