Bug 1373101

Summary: [RFE][Metrics Store] Include collectd and fluentd in base node image
Product: [oVirt] ovirt-node Reporter: Shirly Radco <sradco>
Component: RFEsAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: medium    
Version: 4.1CC: bugs, dougsland, mgoldboi, sradco, ycui, ylavi
Target Milestone: ovirt-4.1.0-betaKeywords: FutureFeature
Target Release: 4.1Flags: rule-engine: ovirt-4.1+
rule-engine: exception+
cshao: testing_plan_complete+
ylavi: planning_ack+
fdeutsch: devel_ack+
ycui: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:50:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1371524, 1371530    
Bug Blocks: 1402901    

Description Shirly Radco 2016-09-05 08:05:32 UTC
Description of problem:
As part of the the metrics store solution we will need to have relevant Collectd packages installed during host deploy.

Comment 1 Fabian Deutsch 2016-09-05 15:45:32 UTC
Please list the relevant packages.

Comment 2 Shirly Radco 2016-09-26 11:44:31 UTC
This is still in process.
The relevant plugins should be:

collectd, collectd-virt, collectd-netlink

Comment 3 Fabian Deutsch 2016-09-26 15:51:07 UTC
Douglas, we need to understand how much the image will increase, before we can add the packages by default.

Comment 6 Douglas Schilling Landgraf 2016-12-07 15:58:41 UTC
I have sent a patch to review, to me looks good to include these packages:
   collectd, collectd-virt, collectd-netlink

squashfs image increased 1M
Uncompress all rpms and turns out of 2M

Comment 8 Sandro Bonazzola 2017-01-03 15:57:42 UTC
according to http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.1-pre_build-artifacts-el7-x86_64/43/artifact/exported-artifacts/ovirt-node-ng-image.manifest-rpm this can move to QE once we fix the job to build from 4.1 pre instead of master (current build says 4.2 while it should be 4.1)

Douglas can you look into it?

Comment 9 Shirly Radco 2017-01-12 10:40:05 UTC
What is the status of this?

Comment 10 Douglas Schilling Landgraf 2017-01-12 22:40:51 UTC
(In reply to Shirly Radco from comment #9)
> What is the status of this?

In 4.1 we have all requirements. I see during the deploy the requirement of collectd family and fluentd. Finally, the jenkins job is all set as well.

Comment 11 cshao 2017-01-26 03:09:03 UTC
Test version:
redhat-virtualization-host-4.1-20160120.0
imgbased-0.9.6-0.1.el7ev.noarch

Test steps:
1. Install redhat-virtualization-host-4.1-20160120.0
2. Check collectd relevant packages
3. Check fluentd relevant package
4. Register RHVH to engine, check RHVH status.

Test result:
1. After step 2
# rpm -qa| grep collectd
collectd-virt-5.7.0-2.el7.x86_64
collectd-write_http-5.7.0-2.el7.x86_64
collectd-netlink-5.7.0-2.el7.x86_64
collectd-5.7.0-2.el7.x86_64
collectd-disk-5.7.0-2.el7.x86_64
2. After step3:
# rpm -qa| grep fluent
rubygem-fluent-plugin-secure-forward-0.4.3-2.el7.noarch
fluentd-0.12.29-1.el7.noarch
rubygem-fluent-plugin-rewrite-tag-filter-1.5.5-3.el7.noarch
3. After step4, Register can successful, but met bug 1415471.

But in any case, the original bug was fixed, change bug status to VERIFIED.