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

Bug 1514927

Summary: [RFE] Add ovirt metrics to the ovirt-ansible host deploy playbook
Product: [oVirt] ovirt-engine Reporter: Shirly Radco <sradco>
Component: Host-DeployAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: bugs, eheftman, lsvaty, lveyde, sradco, ylavi
Target Milestone: ovirt-4.2.2Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2+
ylavi: exception+
lsvaty: testing_plan_complete-
ylavi: planning_ack+
sradco: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.1.1 Doc Type: Enhancement
Doc Text:
Previously, newly deployed hosts had to be individually configured to collect metrics and logs. In this release, for systems in which both the Metrics Store server and the Manager and hosts have already been configured to collect metrics and logs, all newly-deployed hosts will be configured automatically.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 11:13:45 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: 1538998, 1549163    
Bug Blocks: 1523289, 1544241    

Description Shirly Radco 2017-11-19 14:02:29 UTC
Description of problem:

We would like to deploy oVirt metrics on every new host, in case there is already a metrics store configured.

Comment 1 Lukas Svaty 2017-12-07 16:30:55 UTC
Hi Shirly, can you please share some bits about the design of this RFE? What is expected behaviour?

Comment 2 Shirly Radco 2018-01-03 11:02:34 UTC
I created a new role oVirt.metrics.

All of the ovirt-engine-metrics roles will now be installed at /usr/share/ansible/roles/oVirt.metrics/ .

When a new hosts is added or reinstalled, the oVirt metrics role will be run as part of the ovirt engine host deploy ansible scripts.

If the metrics store is already configured, the host will be configured to send metrics and logs to the remote metrics store.

If it is not, the the playbook will end with a message that the metrics store is not configured so this host will not be configured to send metrics.

Comment 3 Lukas Svaty 2018-01-26 15:12:34 UTC
this is currently not working, and caused installation of new hosts to engine already set up with metrics to get stuck (see BZ#1538998)

Comment 4 Lukas Svaty 2018-03-20 11:23:47 UTC
verified in ovirt-host-4.2.2-2.el7ev.x86_64

Comment 5 Sandro Bonazzola 2018-03-29 11:13:45 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

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