Bug 1534913 - Missing uuid-ossp extension on remote db causes engine-setup to die in the middle
Summary: Missing uuid-ossp extension on remote db causes engine-setup to die in the mi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.2
: ---
Assignee: Eli Mesika
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On: 1515635
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-16 09:39 UTC by Yedidyah Bar David
Modified: 2018-03-29 11:14 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.2.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:14:23 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86891 0 master MERGED setup:move uuid check to validation stage 2018-02-13 13:00:03 UTC
oVirt gerrit 87565 0 ovirt-engine-4.2 MERGED setup:move uuid check to validation stage 2018-02-14 08:48:46 UTC

Description Yedidyah Bar David 2018-01-16 09:39:57 UTC
Description of problem:

See comment in:

https://gerrit.ovirt.org/#/c/84832/25/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/db/configuration.py@308

engine-setup should check existence of the extension at an earlier stage, probably STAGE_VALIDATION, and perhaps also prompt the user to fix this instead of aborting.

Aborting in the middle of the transaction should be avoided as much as possible.

Comment 1 Martin Perina 2018-01-16 10:00:43 UTC
Let's improve it and add that extension check earlier in engine-setup in 4.2.2 release

Comment 2 Yedidyah Bar David 2018-01-16 12:33:34 UTC
See also documentation bug 1534928 for what to actually do with a remote database.

Comment 3 Lucie Leistnerova 2018-02-21 15:39:03 UTC
check for uuid-ossp is done in Stage: Setup validation, so before any action is done

verified in ovirt-engine-setup-4.2.2-0.1.el7.noarch

Comment 4 Sandro Bonazzola 2018-03-29 11:14:23 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, 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.