Getting connection error on port 5432 (Postgresql) when upgrade Ansible Automation Platform
Issue
Connection error with Postgresql database when execute setup.sh on upgrade proccess from Ansible Automation Platform:
[user@hybrid-node-01 ~]$ ./setup.sh
TASK [ansible.automation_platform_installer.automationcontroller : Get the controller version] *******************
fatal: [controller]: FAILED! =>
Traceback (most recent call last):,
...
"psycopg.OperationalError: connection failed: Connection refused
Is the server running on host 'hybrid-node-01.example.com' (10.0.0.1) and accepting TCP/IP connections on port 5432?",
"The above exception was the direct cause of the following exception:",
Traceback (most recent call last):,
...
"django.db.utils.OperationalError: connection failed: Connection refused,
Is the server running on host 'hybrid-node-01.example.com' (10.0.0.1) and accepting TCP/IP connections on port 5432?",
Environment
- Red Hat Ansible Automation Platform
- 2.3
- 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.