Bug 1717954
Summary: | Collectd failed to send message due to 'libvirt.conf' | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | David Vaanunu <dvaanunu> |
Component: | ovirt-engine-metrics | Assignee: | Shirly Radco <sradco> |
Status: | CLOSED ERRATA | QA Contact: | Ivana Saranova <isaranov> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3.0 | CC: | amashah, bugs, didi, lleistne, pelauter, sgoodman, sradco |
Target Milestone: | ovirt-4.3.6 | Keywords: | ZStream |
Target Release: | --- | Flags: | lsvaty:
testing_plan_complete-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, when you used the oVirt config files to edit the libvirt.conf config file, running 'systemctl status collectd' failed to collect metrics data, instead displaying errors such as the following:
collectd[38874]: write_syslog plugin: wr_callback_init failed.
collectd[38874]: write_syslog plugin: error with wr_send_message
When upgrading the collectd package, libvirt.conf is automatically regenerated if it is missing. So now this bug is fixed by replacing libvirt.conf with the following message:
'included in 20-builtins-conf-for-ovirt.conf'
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-10 15:38:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Vaanunu
2019-06-06 14:09:48 UTC
Can you please attach sos report from the host where you see the failure? Shirly, does this reproduce on our systems? Also, please provide output of: rpm -qa | grep collectd rpm -qfi /etc/collectd.d/libvirt.conf What repos did you use for installation? Thanks. Re-targeting to 4.3.6 not being identified as blocker for 4.3.5. Shirly, does this happen _always_ and is a real problem? If it does not happen always but is a real problem, I suggest to try to find the root cause and fix that one. If it happens always and is a real problem, I suggest to try to add our own file before or after libvirt.conf so as to override it, not change/remove it. In "always" I mean e.g. something like this: Perhaps our custom configuration for libvirt (e.g. to make it require a password) causes this plugin (which expects to work without a password) fail. If this is the case, I wonder how come we do not get more reports. Did you manage to reproduce? If so, can I have a look there? Thanks. It always happens when the file exists. Hi, what should be tested here? Thanks That collectd does not fail. sync2jira sync2jira Steps: 1) Have clean engine and host with RHEL 7.7 and RHV 4.3.6 and working metrics store 2) Configure metrics according to the documentation 3) Check that collectd did not fail and data are successfully gathered in Kibana Result: Collectd did not fail, successfully connected to the engine database and data are successfully gathered in Kibana Verified in: collectd-5.8.1-3.el7ost.x86_64 ovirt-engine-metrics-1.3.4-1.el7ev.noarch ovirt-engine-4.3.6.3-0.1.el7.noarch 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. https://access.redhat.com/errata/RHBA-2019:3018 |