Bug 917586

Summary: [RFE] Use /etc/ovirt-engine/engine.conf for local configuration instead of /etc/sysconfig/ovirt-engine
Product: Red Hat Enterprise Virtualization Manager Reporter: Alon Bar-Lev <alonbl>
Component: ovirt-engineAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED ERRATA QA Contact: movciari
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, adahms, bazulay, iheim, jkt, juan.hernandez, lpeer, mpavlik, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is1 Doc Type: Enhancement
Doc Text:
With this update, the ovirt-engine configuration file located in /etc/sysconfig/ has been migrated to /etc/ovirt-engine/engine.conf. This is because the configuration file is not only used by the ovirt-engine service, but by other tools as well, and because the /etc/sysconfig/ directory is not common in distributions other than Red Hat Enterprise Linux.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 17:14:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alon Bar-Lev 2013-03-04 11:35:54 UTC
commit 5a314140abbb813b7da1792af8a0587893beb93f
Author: Juan Hernandez <juan.hernandez>
Date:   Wed Feb 27 09:47:35 2013 +0100

    packaging: Use engine.conf for local configuration
    
    This change moves the content of the /etc/sysconfig/ovirt-engine file to
    the /etc/ovirt-engine/engine.conf file. The reason for this is that this
    file is not only used by the service, but also by other tools, and in
    other Linux distributions the sysconfig directory is not common.
    
    Change-Id: I9b48f1fd78ebd891e93949f19fafefcffd377254
    Signed-off-by: Juan Hernandez <juan.hernandez>

Comment 1 Martin Pavlik 2013-05-30 14:23:17 UTC
Any suggestion how to test this?

Comment 2 Juan Hernández 2013-05-30 14:40:22 UTC
(In reply to Martin Pavlik from comment #1)
> Any suggestion how to test this?

During installation from scratch the /etc/sysconfig/ovirt-engine file shouldn't have any content. All the configuration parameters should instead go in the /etc/ovirt-engine/engine.conf file or inside files in /etc/ovirt-engine/engine.conf.d directory.

During upgrade the parameters in /etc/sysconfig/ovirt-engine should be moved to the /etc/ovirt-engine/engine.conf directory.

Comment 3 Charlie 2013-11-28 00:21:05 UTC
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 5 errata-xmlrpc 2014-01-21 17:14:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHSA-2014-0038.html