Bug 1680647 - Bug when setting "collect_ovirt_collectd_metrics" to false
Summary: Bug when setting "collect_ovirt_collectd_metrics" to false
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.3.5-1
: 1.3.1
Assignee: Shirly Radco
QA Contact: Ivana Saranova
Depends On:
Blocks: 1710361
TreeView+ depends on / blocked
Reported: 2019-02-25 13:08 UTC by Shirly Radco
Modified: 2019-07-31 10:57 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-metrics-1.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-07-31 10:57:52 UTC
oVirt Team: Metrics
sradco: ovirt-4.3?
lleistne: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 98826 0 ovirt-engine-metrics-4.2 MERGED Configure Collectd based on collect_ovirt_collectd_metrics 2019-05-15 08:06:06 UTC
oVirt gerrit 100026 0 ovirt-engine-metrics-4.2 MERGED Configure Collectd based on collect_ovirt_collectd_metrics 2019-05-15 08:40:00 UTC

Description Shirly Radco 2019-02-25 13:08:04 UTC
Description of problem:
If users sets "collect_ovirt_collectd_metrics" to false the rsyslog configuration will not include Collectd but Collectd will be configured to send metrics

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Set the variables in config.yml and add the variable collect_ovirt_collectd_metrics: false
2. Configure hosts with /usr/share/ovirt-engine-metrics/configure_ovirt_machines_for_metrics.sh

Actual results:
Collectd is running and enabled but rsyslog is not configured to consume the metrics so collectd fails.

Expected results:
Collectd should be disabled and Rsyslog conf should not include collectd handling

Additional info:

Comment 1 Lucie Leistnerova 2019-07-16 12:59:25 UTC
We don't have capacity now to verify metrics bugs. Moving to async 4.3.5-1.

Comment 2 Ivana Saranova 2019-07-25 11:25:08 UTC
1) Have working metrics store and engine with/without hosts (installed according to the documentation)
2) Prepare the engine (and hosts) for deployment of collectd and rsyslog according to the documentation
3) Add `collect_ovirt_collectd_metrics: false` line to the /etc/ovirt-engine-metrics/config.yml.d/config.yml
4) Run the configuration script

Collectd is stopped without error. Rsyslog is started and running without error. Logs from the engine and hosts are processed and are present in Kibana, though there is no data in dashboards, which is intended.

Verified in:

Comment 3 Sandro Bonazzola 2019-07-31 10:57:52 UTC
This bugzilla is included in oVirt 4.3.5 first async release, published on July 31th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.5 first async 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.