Bug 1409876

Summary: [Intel OSP13] Libvirt Plugin Extension
Product: Red Hat OpenStack Reporter: damien Power <damien.power>
Component: collectdAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: aasmith, apannu, damien.power, fdinitto, lnatapov, mbracho, mmagr, mrunge, pkilambi, robert.h.armstrong, robert.w.love, sclewis, sgordon, sunku.ranganath, tony.b.mcmahon
Target Milestone: Upstream M1Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: collectd-5.8.0-11.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1409814 Environment:
Last Closed: 2019-01-11 09:51:28 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1458000, 1476900, 1501923    
Attachments:
Description Flags
libvirt stats added to collectd plugin none

Description damien Power 2017-01-03 17:01:53 UTC
+++ This bug was initially created as a clone of Bug #1409814 +++

1. Feature Overview:
a) Name of feature: Libvirt Plugin Extension 
b) Feature Description: 
libvirt plugin extended to support CMT, MBM, CPU Pinning, Utilization, State metrics on the platform.

2. Feature Details:
a) Architectures:
b) Bugzilla Dependencies:
c) Drivers or hardware dependencies: n/a
d) Upstream acceptance information: Spec and implementation in progress.

e) External links:

f) Severity (H,M,L): M
g) Feature Needed by:

3. Business Justification:
a) Why is this feature needed?
b) What hardware does this enable? n/a
c) Is this hardware on-board in a system (eg, LOM) or an add-on card? No
d) Business impact? n.a
e) Other business drivers:

4. Primary contact at Red Hat, email, phone (chat):

5. Primary contact at Partner, email, phone (chat):
Rob Love
robert.w.love

Comment 1 Stephen Gordon 2017-01-03 17:39:30 UTC
> libvirt plugin extended to support CMT, MBM, CPU Pinning, Utilization, State metrics on the platform.

Can you provide more clarity on exactly what you mean here? What specific metrics are you expecting that are not currently exposed in each case?

Comment 2 damien Power 2017-01-16 16:20:18 UTC
Created attachment 1241314 [details]
libvirt stats added to collectd plugin

Comment 3 damien Power 2017-01-16 16:21:27 UTC
attached a pdf of libvirt stats and the added collectd stats

Comment 4 damien Power 2017-03-30 13:34:27 UTC
PR opened to collectd for plugin
https://github.com/collectd/collectd/pull/2168

Comment 5 Robert Love 2017-04-06 16:39:03 UTC
Not yet upstream, RH concerned about capacity for OSP12, so moving to target Queen release.

Comment 6 Matthias Runge 2017-05-19 06:31:40 UTC
This feature is merged upstream in master branch, no release yet. Bumping to queens, until a new version has been cut.

Comment 7 Fabio Massimo Di Nitto 2017-06-06 15:08:39 UTC
Moving to OSP13.

Comment 11 tony.b.mcmahon 2017-12-15 13:14:13 UTC
Collect 5.8 was released November 11 2017

Comment 14 Matthias Runge 2018-01-25 11:58:32 UTC
This is included in collectd-5.8. Any idea, which additional options should be included by default?

Comment 17 damien Power 2018-02-05 15:54:44 UTC
LoadPlugin virt
By default extended virt plugin statistics are disabled.

The defaults are recommended. 

Is there a reason for enabling the extended options.

Comment 21 Matthias Runge 2018-04-16 09:41:26 UTC
How to test:

Make sure that collectd-virt is installed on the system
and make sure, there is a config file containing:

LoadPlugin virt

<Plugin "virt">
   Connection "qemu:///system"
   HostnameFormat "hostname uuid" 
   ExtraStats "disk disk_err domain_state pcpu perf vcpupin cpu_util"
</Plugin>

Start collectd

Launch a vm on the machine running collect

You should see the stats mentioned in https://github.com/collectd/collectd/pull/2168

Comment 30 errata-xmlrpc 2019-01-11 09:51:28 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, 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/RHEA-2019:0047