Bug 1490936 - automatic postgres upgrade fails on remote db
Summary: automatic postgres upgrade fails on remote db
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Core
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Simone Tiraboschi
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1459134
TreeView+ depends on / blocked
 
Reported: 2017-09-12 14:10 UTC by Lucie Leistnerova
Modified: 2019-04-28 14:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:26:26 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+
sbonazzo: devel_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81696 0 master POST postgresql95: fix detection of remote DBMS 2017-09-13 11:15:50 UTC

Description Lucie Leistnerova 2017-09-12 14:10:40 UTC
Description of problem:
Upgrade engine to 4.2 with remote postgres 9.2 fails while trying to connect to local db.

Version-Release number of selected component (if applicable):
ovirt-engine-setup-4.2.0-0.0.master.20170911195522.git5ddba50.el7.centos.noarch

How reproducible: always


Steps to Reproduce:
1. have engine 4.1 with remote postgres 9.2 database
2. try to upgrade to 4.2 with automatic postgres upgrade


Actual results: engine-setup fails with 
[ ERROR ] Failed to execute stage 'Misc configuration': could not connect to server: No such file or directory
         	Is the server running locally and accepting
         	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Expected results: don't offer automatic upgrade with remote db or fix the upgrade script that it can be done remotely

Comment 1 Red Hat Bugzilla Rules Engine 2017-09-12 14:44:07 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Lucie Leistnerova 2017-09-19 12:20:55 UTC
engine-setup fails with error Please upgrade engine PostgreSQL server to 9.5.7 and retry. Automatic upgrade is not offered.

verified in ovirt-engine-setup-4.2.0-0.0.master.20170918173214.git7183359.el7.centos.noarch

Comment 3 Sandro Bonazzola 2017-12-20 11:26:26 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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