[ovirt-users] engine-setup failed because of postgres 9.4

Fabrice Bacchella fabrice.bacchella at orange.fr
Thu Dec 10 11:43:02 UTC 2015


I'm on a RHEL 7, trying to install a ovirt 3.6.0.3.

The database used is on a remote server, using a postgres 9.4.

The backup of the previous database fails with :
2015-12-10 12:04:13 DEBUG otopi.**FILTERED**_engine_setup.engine_common.database database.backup:661 db backup res {'result': [{'stderr': 'pg_dump: server version: 9.4.5; pg_dump version: 9.2.14\npg_dump: aborting because of server version mismatch\n', 'rc': 1}], 'stdout': ''}

But the good pg_dump is in the path:

~# type pg_dump
pg_dump is /usr/pgsql-9.4/bin/pg_dump

Although in the log file:

2015-12-10 12:40:19 DEBUG otopi.context context.dumpEnvironment:510 ENV COMMAND/pg_dump=str:'/bin/pg_dump'

Why ? How can I enforce the use of the latest pg_dump without rewrinting the '/bin/pg_dump' which is owned by the official postgres package ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151210/cda68e31/attachment-0001.html>


More information about the Users mailing list