Bug 1381200 - force engine-setup to install EDB with different versions psql-server
Summary: force engine-setup to install EDB with different versions psql-server
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 4.0.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: RHV_EnterpriseDB_support
TreeView+ depends on / blocked
 
Reported: 2016-10-03 12:07 UTC by Lucie Leistnerova
Modified: 2022-04-16 09:37 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-04-04 19:43:59 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.3-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45759 0 None None None 2022-04-16 09:37:50 UTC

Description Lucie Leistnerova 2016-10-03 12:07:21 UTC
Description of problem:
e.g free EnterpriseDB server has higher version (now only 9.5 available) from postgres server installed with RHEL. engine-setup doesn't allow to install remote DB with different version, but we need it to force the installation because of EDB

Version-Release number of selected component (if applicable):
ovirt-engine-4.0.5-0.1.el7ev.noarch

Actual results:
[ ERROR ] Cannot connect to DWH database: Postgresql client version is '9.2.18', whereas the version on XX.XX.XX.XX is '9.5.0.5'. Please use a Postgresql server of version '9.2.18'.

Expected results:
not sure what to do, maybe engine-setup can inform about the difference and ask if the user wants to install engine anyway or it can check only first number in the version

Additional info:
The version check was added from this Bug 1331168

Comment 1 Yedidyah Bar David 2016-10-05 08:43:50 UTC
This was already discussed in bug 1331168.

Either we find a way to use EDB client on the engine machine (how?) or we allow giving up on backup during upgrade (and restore/rollback on failure).

Can you please try installing EDB client on the engine machine and see if engine-setup works? Also please try to upgrade, fail the upgrade, and see if it rolled back cleanly. Thanks.

Comment 2 Lucie Leistnerova 2016-10-07 16:01:36 UTC
I've installed EDB locally, had to overwrite psql/pg_dump/pg_restore in /usr/bin, add schema 'sys' to check of ownership. Engine runs without problems, backup/restore with problem described in Bug 1381180, but after restarting dwhd seems working also.


Note You need to log in before you can comment on or make changes to this bug.