Bug 1490977 - engine-setup fails in dev env except for the first time
Summary: engine-setup fails in dev env except for the first time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Simone Tiraboschi
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-12 16:24 UTC by jniederm
Modified: 2017-12-20 11:22 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
engine-setup output.log (1.03 KB, text/plain)
2017-09-12 16:24 UTC, jniederm
no flags Details
engine-setup.log (189.95 KB, text/plain)
2017-09-12 16:29 UTC, jniederm
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81616 0 None MERGED plugins: command: on-demand get 2020-06-06 21:15:04 UTC

Description jniederm 2017-09-12 16:24:41 UTC
Created attachment 1324965 [details]
engine-setup output.log

Description of problem:
Running ${TARGET}/bin/engine-setup fails if running more that once in developer environment.

Workaround: remove ${TARGET}/etc/ovirt-engine/engine.conf.d/10-setup-database.conf before running ovirt-setup


Version-Release number of selected component (if applicable):
4.2 master, commit 0ae56b88a5

How reproducible:
100%

Steps to Reproduce:
1. Compile engine to a directory further referenced as ${TARGET} 
2. Run ${TARGET}/bin/engine-setup in dev mode
3. Run ${TARGET}/bin/engine-setup in dev mode

Actual results:
engine-setup fails

Expected results:
engine-setup properly configures the engine

Additional info:

Comment 1 jniederm 2017-09-12 16:29:39 UTC
Created attachment 1324966 [details]
engine-setup.log

Comment 2 jniederm 2017-09-12 16:31:09 UTC
Relates to http://lists.ovirt.org/pipermail/devel/2017-September/031313.html discussion.

Comment 3 Red Hat Bugzilla Rules Engine 2017-09-13 05:42:42 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 4 jniederm 2017-09-14 12:27:58 UTC
Verified that engine-setup can be executed twice in row in dev mode on current master (commit 86aaddda83) and with otopi-1.7.2-0.0.master.20170912135518.git85923b3.fc26.noarch

Comment 5 Sandro Bonazzola 2017-12-20 11:22:15 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.