Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1870133

Summary: Issue with dashboards creation when sending metrics to external Elasticsearch
Product: Red Hat Enterprise Virtualization Manager Reporter: Shirly Radco <sradco>
Component: ovirt-engine-metricsAssignee: Shirly Radco <sradco>
Status: CLOSED ERRATA QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.1CC: abpatil, bugs, gscott, lleistne
Target Milestone: ovirt-4.4.3Keywords: ZStream
Target Release: 4.4.3Flags: gdeolive: testing_plan_complete+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-metrics-1.4.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 13:09:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1862134    
Bug Blocks: 1880015    

Description Shirly Radco 2020-08-19 12:10:18 UTC
Description of problem:
When running the metrics role for sending data to external Elasticsearch, the example dashboards are not created.

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


How reproducible:
100%

Steps to Reproduce:
1. Configure metrics config.yml based on the k-base/blog
2. Run the configure_ovirt_machines_for_metrics.sh
3. Check for the searches, visualizations and dashboards in /etc/ovirt-engine-metrics/dashboards-examples

Actual results:
No directory /etc/ovirt-engine-metrics/dashboards-examples

Expected results:
Directory /etc/ovirt-engine-metrics/dashboards-examples exists and contains 3 files

Additional info:

Comment 8 Guilherme Santos 2020-10-26 23:34:18 UTC
Verified on:
ovirt-engine-metrics-1.4.2.1-1.el8ev.noarch
ovirt-engine-4.4.3.8-0.1.el8ev.noarch

Steps:
1. configured metrics config.yml based on the k-base/blog
2. ran the configure_ovirt_machines_for_metrics.sh
3. # ll /etc/ovirt-engine-metrics/dashboards-examples
total 68
-rw-r--r--. 1 root root  8780 Oct 26 22:27 dashboards.json
-rw-r--r--. 1 root root  1460 Oct 26 22:27 searches.json
-rw-r--r--. 1 root root 49233 Oct 26 22:27 visualizations.json

Results:
directory /etc/ovirt-engine-metrics/dashboards-examples exists and contains 3 files

Comment 12 errata-xmlrpc 2020-11-24 13:09:25 UTC
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 (Low: Red Hat Virtualization security, bug fix, and enhancement update), 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/RHSA-2020:5179