I am also struggling with this as I try to install a self-hosted engine.  I have read every thread in the forum and tried all the suggestions. 

 

Here is my most recent attempt (RHEL 8.5, installing oVirt 4.4):

Start the hosted engine deployment, then run the command [ # dnf downgrade postgresql-jdbc ] from a virsh console, to downgrade postgresql as soon as the packages are done updating.  The downgrade appears to be successful, however the system still fails at ‘Check if engine health page is up’.  Restarting the oVirt engine [ # systemctl restart oVirt-engine ] immediately after downgrading postgresql does not make any difference.  The system times out at the ‘Check if engine health page is up’.  The log entry where the latest failure started to occur is below.  I can include the entire log if needed.  Interestingly, the status was 503 this time.  In many prior attempts that status was 500.

 

2022-05-06 09:42:49,744-0400 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:110 fatal: [localhost -> 192.168.222.150]: FAILED! => {"attempts": 30, "changed": false, "connection": "close", "content": "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n</body></html>\n", "content_length": "299", "content_type": "text/html; charset=iso-8859-1", "date": "Fri, 06 May 2022 13:42:49 GMT", "elapsed": 0, "msg": "Status code was 503 and not [200]: HTTP Error 503: Service Unavailable", "redirected": false, "server": "Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6", "status": 503, "url": http://localhost/ovirt-engine/services/health}

 

I would like to know if anyone has had success doing a fresh install of a self-hosted environment since the postgresql issue arose.  If so, any pointers would be greatly appreciated.  If I get this working I will follow up with exactly what I did.