Description of problem: Need to add README to the oVirt.logging role and parameterise the omelasticsearch (rsyslog elasticsearch output plugin) variables. Also, allow setting if to collect metrics / engine / vdsm logs or not. Default is to collect all.
Hi, could you please provide steps to test this? Thank you
Please review the logging role README file and test the following parameters: - `collect_ovirt_vdsm_log:` (default: `"true"`) By setting this variable to false, vsdm logs will not be collected. - `collect_ovirt_engine_log:` (default: `"true"`) By setting this variable to false, engine logs will not be collected. - `collect_ovirt_collectd_metrics:` (default: `"true"`) By setting this variable to false, Collectd metrics will not be collected. By setting them false you should be able to configure rsyslog to collect only parts of the data. But when I think about this more I need to add additional logic to the Collectd role if "collect_ovirt_collectd_metrics" is set to false. Please check only "collect_ovirt_engine_log" and "collect_ovirt_vdsm_log" I Opened a separate bug for the "collect_ovirt_collectd_metrics" variable - #1680647
Where can I see which logs were collected? Thank you
I'm sorry, you will not be able to verify the variables at this point due to a bug. Please only test that the README of the oVirt.linux-system-roles-logging role exists. If it is there then this bug can be verified. There is an open bug about the variables for not collecting collectd data and the functionality should be tested there. Bug #1680647
Steps: 1] Go to oVirt.linux-system-roles-logging role folder and check that valid README file is present 2] Check contents of the oVirt.logging role folder and check that these parameters are present: - `collect_ovirt_vdsm_log:` (default: `"true"`) By setting this variable to false, vsdm logs will not be collected. - `collect_ovirt_engine_log:` (default: `"true"`) By setting this variable to false, engine logs will not be collected. - `collect_ovirt_collectd_metrics:` (default: `"true"`) By setting this variable to false, Collectd metrics will not be collected. Results: READMEs are in the specified folders and have expected content. Verified in: ovirt-engine-4.3.3.3-0.1.el7.noarch ovirt-engine-metrics-1.3.0.2-1.el7ev.noarch
This bugzilla is included in oVirt 4.3.4 release, published on June 11th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.4 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.