Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1530919 - [RFE]Include a vars directory instead of only single config.yml file and not hard code the path
[RFE]Include a vars directory instead of only single config.yml file and not ...
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine-metrics
Classification: oVirt
Component: RFEs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity medium
: ovirt-4.2.2
: 1.1.3
Assigned To: Shirly Radco
Lukas Svaty
: FutureFeature
Depends On:
Blocks: 1475135
  Show dependency treegraph
 
Reported: 2018-01-04 02:44 EST by Shirly Radco
Modified: 2018-04-09 02:17 EDT (History)
3 users (show)

See Also:
Fixed In Version: ovirt-engine-metrics-1.1.3-1.el7ev
Doc Type: Enhancement
Doc Text:
There is now a vars directory for Metrics, instead of a single config.yml file, and the path is not hard coded. You can add a variable file to /etc/config.yml.d/, and it will be used in the Ansible playbook.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-29 07:07:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Metrics
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.2?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 86792 master MERGED ansible: add config.yml.d directory 2018-01-31 07:40 EST

  None (edit)
Description Shirly Radco 2018-01-04 02:44:09 EST
Description of problem:
Add a directory /etc/ovirt-engine-metrics/config.yml.d and read all *.yml files from it. 
This way a program can add a file there automatically without overwriting a user's manual changes.

Also, have the patch to oVirt metrics config.yml file. Process by make and use PKG_SYSCONF_DIR.
Comment 1 Yaniv Kaul 2018-01-04 03:47:38 EST
Is this a CodeChange (and why do we need a BZ for it?)
If it's RFE, it's lacking the '[RFE]' prefix we use.
what is the target milestone?
Comment 2 Yaniv Kaul 2018-01-11 08:33:25 EST
Pushing to 4.2.2. If it's ready before - great.
Comment 3 Lukas Svaty 2018-03-07 09:16:25 EST
verified in ovirt-engine-metrics-1.1.3.2-1.el7ev.noarch
Comment 4 Sandro Bonazzola 2018-03-29 07:07:06 EDT
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.