Bug 1680647 - Bug when setting "collect_ovirt_collectd_metrics" to false
Summary: Bug when setting "collect_ovirt_collectd_metrics" to false
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.5-1
: 1.3.1
Assignee: Shirly Radco
QA Contact: Ivana Saranova
URL:
Whiteboard:
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:
Environment:
Last Closed: 2019-07-31 10:57:52 UTC
oVirt Team: Metrics
Embargoed:
sradco: ovirt-4.3?
lleistne: testing_ack+


Attachments (Terms of Use)


Links
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):
1.2.0.2

How reproducible:
100%

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
3.

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
Steps:
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

Result:
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:
ovirt-engine-4.3.5.4-0.1.el7.noarch
ovirt-engine-metrics-1.3.3.2-1.el7ev.noarch

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.