Update:

I scanned the centos libraries, and the lowest version of postgres that had
consistent package versions was 13. There was no libpq at the version 12
level in the centos RPM library.

I performed the manual installation process for the postgresql database at
the *Initializing the PostgreSQL Database* at
https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/
, using version 13 instead of version 12.

On completion of database configuration, engine-setup reports:
[root@ovirt1 engine.conf.d]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files:
/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf,
/etc/ovirt-engine-setup.conf.d/10-packaging.conf,
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
          Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20220612221218-ogmuo6.log
          Version: otopi-1.9.6 (otopi-1.9.6-1.el8)
[ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to
Engine database using existing credentials: engine@localhost:5432
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20220612221218-ogmuo6.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20220612221225-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Attempting to connect via psql:

*1. using db@localhost*
[root@ovirt1 engine.conf.d]# psql engine@localhost:5432
psql: error: FATAL:  database "engine@localhost:5432" does not exist

*2. using localhost*
[root@ovirt1 engine.conf.d]# psql -h localhost -U engine
psql: error: FATAL:  Ident authentication failed for user "engine"

*3. using 127.0.0.1*
[root@ovirt1 engine.conf.d]# psql -h 127.0.0.1 -U engine
Password for user engine:
psql (13.7)
Type "help" for help.

engine=>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MVWAEF3YGACTHNA3TOE2JPVQLK3FZ4NM/

Reply via email to