Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1518199 - Old config.yml.example readme included in 1.0.7 release
Summary: Old config.yml.example readme included in 1.0.7 release
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Packaging
Version: 1.0.7.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-28 11:53 UTC by Lukas Svaty
Modified: 2017-11-28 12:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 12:56:14 UTC
oVirt Team: Metrics


Attachments (Terms of Use)

Description Lukas Svaty 2017-11-28 11:53:39 UTC
Description of problem:
SSIA

Actual results:

# This is an example file for oVirt metrics configuration.
# To use this file, copy it to /etc/ovirt-engine-metrics/config.yml and edit.

# Address of the central fluentd machine
fluentd_fluentd_host: fluentd-server.example.com

# Shared secret on the central fluentd machine
fluentd_shared_key: my_shared_key

# Path to the cert of the CA used to sign central fluentd cert
# To use the engine internal CA, use:
# local_fluentd_ca_cert_path: /etc/pki/ovirt-engine/ca.pem
local_fluentd_ca_cert_path: /path/to/fluentd_ca_cert.pem

# Environment name. Can be used to identify data collected in a single central
# store sent from more than one oVirt engine.
# Maximum field length is 49 characters.
# For more details see:
# https://bugzilla.redhat.com/1419858
# TODO replace above link with some nicer page on ovirt.org
ovirt_env_name: engine



Expected results:

# This is an example file for oVirt metrics configuration.
# To use this file, copy it to /etc/ovirt-engine-metrics/config.yml and edit.

# Environment name. Can be used to identify data collected in a single central
# store sent from more than one oVirt engine.
# Maximum field length is 49 characters.
# For more details see:
# https://www.ovirt.org/develop/release-management/features/metrics/metrics-store-installation/#ovirt-metrics-store-setup
ovirt_env_name: engine

# Address or hostname (FQDN) of the Elasticsearch server host.
fluentd_elasticsearch_host: elasticsearch-server.example.com

# UUID of the project/namespace used to store metrics records.
# This is used to construct the index name in Elasticsearch.
# For example, if you have ovirt_env_name: myenvname,
# then in logging OpenShift you will have a project named ovirt-metrics-myenvname.
# You need to get the UUID of this project like this:
# oc get project ovirt-metrics-myenvname -o jsonpath='{.metadata.uid}'
ovirt_env_uuid_metrics:

# UUID of the project/namespace used to store log records.
# This is used to construct the index name in Elasticsearch.
# For example, if you have ovirt_env_name: myenvname,
# then in logging OpenShift you will have a project named ovirt-logs-myenvname.
# You need to get the UUID of this project like this:
# oc get project ovirt-logs-myenvname -o jsonpath='{.metadata.uid}'
ovirt_env_uuid_logs:

# File containing the CA certificate of the CA that issued the Elasticsearch SSL server cert.
# Get it from the logging OpenShift machine like this:
# oc get secret logging-fluentd --template='{{index .data "ca"}}' | base64 -d > fluentd-ca
# and use the local_fluentd_elasticsearch_ca_file_path parameter in your ansible inventory
# or config file to pass in the file to use.
local_fluentd_elasticsearch_ca_cert_path:

# File containing the SSL client certificate to use with certificate authentication to Elasticsearch.
# Get it from the logging OpenShift machine like this:
# oc get secret logging-fluentd --template='{{index .data "cert"}}' | base64 -d > fluentd-cert
# and use the local_fluentd_elasticsearch_client_cert_path parameter in your ansible inventory
# or config file to pass in the file to use.
local_fluentd_elasticsearch_client_cert_path:

# File containing the SSL client key to use with certificate authentication to Elasticsearch.
# Get it from the logging OpenShift machine like this:
# oc get secret logging-fluentd --template='{{index .data "key"}}' | base64 -d > fluentd-key
# and use the local_fluentd_elasticsearch_client_key_path parameter in your ansible inventory
# or config file to pass in the file to use.
local_fluentd_elasticsearch_client_key_path:


Additional info:
This might be solved by tagging 1.1.1 release to ovirt-4.1.8

Comment 1 Lukas Svaty 2017-11-28 12:56:14 UTC
ovirt-engine-metrics-1.0.8-1.el7ev.noarch


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