Bug 1628622 - Contribute to linux-system-roles/Logging role that configures rsyslog roles
Summary: Contribute to linux-system-roles/Logging role that configures rsyslog roles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ovirt-4.3.0
: ---
Assignee: Shirly Radco
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On:
Blocks: 1615974 1629437
TreeView+ depends on / blocked
 
Reported: 2018-09-13 15:00 UTC by Shirly Radco
Modified: 2019-03-13 16:37 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-13 16:37:45 UTC
oVirt Team: Metrics
Embargoed:
rule-engine: ovirt-4.3?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Shirly Radco 2018-09-13 15:00:50 UTC
Contribute to logging role to linux-system-roles https://github.com/linux-system-roles/logging, so it will be the base for deploying fluentd and rsyslog to collect oVirt logs.

Rsyslog and fluentd should collect engine.log and vdsm.log.

The ovirt-engine-metrics playbook will include this role and provide the necessary vars for it.

Comment 1 Lukas Svaty 2019-01-23 10:56:31 UTC
What are the verification steps here? From title and description, it seems like code change.

Comment 2 Shirly Radco 2019-02-18 17:38:17 UTC
Basic functionality needs to be tested.
That metrics and logs are sent to Elasticsearch. Logs records are parsed correctly and dashboards are working as before. Fields should remain like in 4.2.z.
Missing functionality that we know of is saving to file , sending to an Elasticsearch not on OpenShift , sending to remote rsyslog. They will be added in the future. Sending to a remote Fluentd is deprecated.

Comment 3 Jan Zmeskal 2019-02-25 14:03:50 UTC
Hello Shirly,
1. Please add some verification steps. They are completely missing.
2. You write: "The ovirt-engine-metrics playbook will include this role". Which playbook? There are several playbooks in that package.

Comment 4 Shirly Radco 2019-03-07 07:31:36 UTC
When installing the ovirt-metrics-engine rpm
There should be the role 
/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.linux-system-roles-logging
That was added automatically to the rpm using CI automation.

Comment 5 Ivana Saranova 2019-03-08 13:40:42 UTC
Steps:

1) Have engine with 4.3 RHV
2) Check if /usr/share/ansible/roles/oVirt.metrics/roles/ contains the oVirt.linux-system-roles-logging role

Result:
The package ovirt-engine-metrics contains the role for linux system roles logging

Verified in: ovirt-engine-4.3.2-0.1.el7.noarch, ovirt-engine-metrics-1.2.1-0.0.master.20190306114408.el7.noarch

Comment 9 Sandro Bonazzola 2019-03-13 16:37:45 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

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