vitabaks / postgresql_cluster

PostgreSQL High-Availability Cluster (based on Patroni). Automating with Ansible.
https://postgresql-cluster.org
MIT License
1.56k stars 405 forks source link

Error while installing on Ubuntu 24 cluster nodes #690

Closed Jamic28 closed 3 months ago

Jamic28 commented 3 months ago

Playbook deployed DB Cluster on Debian 12 without error, but with Ubuntu 24 consisted of 3 nodes giving this error:

TASK [packages : Install system packages] ** fatal: [192.168.99.114]: FAILED! => {"msg": "[\"{{ os_specific_packages[ansible_distribution ~ '-' ~ ansible_distribution_major_version] }}\", 'python3', 'python3-dev', 'python3-psycopg2', 'python3-setuptools', 'python3-pip', 'curl', 'less', 'sudo', 'vim', 'gcc', 'jq', 'iptables', 'acl', 'dnsutils']: 'dict object' has no attribute 'Ubuntu-24'"}
fatal: [192.168.99.113]: FAILED! => {"msg": "[\"{{ os_specific_packages[ansible_distribution ~ '-' ~ ansible_distribution_major_version] }}\", 'python3', 'python3-dev', 'python3-psycopg2', 'python3-setuptools', 'python3-pip', 'curl', 'less', 'sudo', 'vim', 'gcc', 'jq', 'iptables', 'acl', 'dnsutils']: 'dict object' has no attribute 'Ubuntu-24'"}
fatal: [192.168.99.115]: FAILED! => {"msg": "[\"{{ os_specific_packages[ansible_distribution ~ '-' ~ ansible_distribution_major_version] }}\", 'python3', 'python3-dev', 'python3-psycopg2', 'python3-setuptools', 'python3-pip', 'curl', 'less', 'sudo', 'vim', 'gcc', 'jq', 'iptables', 'acl', 'dnsutils']: 'dict object' has no attribute 'Ubuntu-24'"}
...

vitabaks commented 3 months ago

Ubuntu 24.04 is not supported yet

See Supported Linux Distributions

Related https://github.com/vitabaks/postgresql_cluster/pull/642