Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1409844 - [Intel OSP12] Intel RDT Plugin
[Intel OSP12] Intel RDT Plugin
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: collectd (Show other bugs)
12.0 (Pike)
Unspecified Linux
medium Severity medium
: Upstream M2
: 13.0 (Queens)
Assigned To: Matthias Runge
Leonid Natapov
: FutureFeature, Triaged
Depends On: 1526188 1415656 1435765 1558465 1559557 1559558 1559559
Blocks: 1419948 1422243 intel-collectd 1488155
  Show dependency treegraph
 
Reported: 2017-01-03 10:40 EST by damien Power
Modified: 2018-06-27 09:10 EDT (History)
13 users (show)

See Also:
Fixed In Version: collectd-5.8.0-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1409814
Environment:
Last Closed: 2018-06-27 09:08:58 EDT
Type: Feature Request
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
RDO 11583 None master: MERGED centos-opstools/collectd: Add config for intel rdt plugin (I0484e71c27b5eb0664f5022f6c46a4a69d8843a5) 2018-03-29 10:38 EDT
Red Hat Product Errata RHEA-2018:2084 None None None 2018-06-27 09:10 EDT

  None (edit)
Description damien Power 2017-01-03 10:40:31 EST
+++ This bug was initially created as a clone of Bug #1409814 +++

1. Feature Overview:
a) Name of feature: Intel RDT Plugin 
b) Feature Description: 
The intel_rdt plugin collects information provided by monitoring features of Intel Resource Director Technology (Intel(R) RDT) like Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM).  These features provide information about utilization of shared resources. 

This plugin is upstreamed and is on release https://collectd.org/wiki/index.php/Version_5.7

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@intel.com
Comment 1 damien Power 2017-01-03 10:50:42 EST
This plugin is upstreamed and is on release https://collectd.org/wiki/index.php/Version_5.7
(https://github.com/collectd/collectd/pull/1970)
Comment 3 Matthias Runge 2017-05-19 02:20:24 EDT
bumping this to queens, until the library has been sorted out.
Comment 4 Red Hat Bugzilla Rules Engine 2017-05-19 02:20:29 EDT
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.
Comment 7 damien Power 2017-10-13 09:30:10 EDT
Available in collectd 5.7
Comment 8 Matthias Runge 2017-10-24 09:26:15 EDT
available for testing purposes on CentOS 7 from here: https://cbs.centos.org/koji/buildinfo?buildID=20407 or via 

yum install centos-release-opstools 
and enabling opstools-testing repo
Comment 10 tony.b.mcmahon 2017-12-15 07:00:49 EST
Additional patches merged into collectd 5.8 release, release completed November 11th 2017
Comment 12 Matthias Runge 2018-01-25 05:13:54 EST
The collectd build is there, but it needs to get into containers as well.
Comment 14 Matthias Runge 2018-01-29 02:56:35 EST
patch to add this was merged into kolla https://review.openstack.org/#/c/537891/
Comment 16 Matthias Runge 2018-02-05 06:30:53 EST
The last remaining piece (config snippet) was merged into centos-opstools
Comment 20 Matthias Runge 2018-02-20 05:50:55 EST
new build adds config
Comment 22 Leonid Natapov 2018-03-20 03:43:44 EDT
Failed QA. Plugin was unable to load.

Getting thw following message in collectd.log

ntel_rdt: Error initializing PQoS library!

Probably intel-cmt-cat missing
Comment 24 Matthias Runge 2018-03-20 05:32:02 EDT
it seems, this is getting blocked by selinux

type=AVC msg=audit(1521538176.491:1898): avc:  denied  { add_name } for  pid=28227 comm="collectd" name="libpqos" scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=dir
type=AVC msg=audit(1521538176.491:1898): avc:  denied  { create } for  pid=28227 comm="collectd" name="libpqos" scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file
type=AVC msg=audit(1521538176.491:1898): avc:  denied  { write open } for  pid=28227 comm="collectd" path="/run/lock/libpqos" dev="tmpfs" ino=423477 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file
Comment 28 Leonid Natapov 2018-04-04 04:09:39 EDT
Verified. plugin loaded. interl_rdt statistics received by gnocchi.

[root@seal07 ~]# gnocchi metric list | grep rdt
| 042c2376-e7da-47dd-8098-1e3d0f851b9e | low                 | intel_rdt-20@bytes-llc                             | None | a5b82d54-b727-512a-a815-0c11e08ddc61 |
| 06095ad4-5b4c-4565-874a-6ade9059c341 | low                 | intel_rdt-0@ipc                                    | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
| 066c1ffe-4f3f-4d04-8ab7-808b2ad506bd | low                 | intel_rdt-12@ipc                                   | None | a5b82d54-b727-512a-a815-0c11e08ddc61 |
| 0991c583-b6e3-4496-8a0f-e395572d9356 | low                 | intel_rdt-18@bytes-llc                             | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
| 0af3eb43-9dd8-4d75-903d-47e6663a2454 | low                 | intel_rdt-31@bytes-llc                             | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
| 0c29bce4-90d6-479c-adb8-082c114a0323 | low                 | intel_rdt-23@ipc                                   | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
| 0c61e337-26ee-4faa-8eba-1774180fe0f2 | low                 | intel_rdt-14@bytes-llc                             | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
| 0d584aec-8503-4228-b6cb-3233ee55ed5b | low                 | intel_rdt-31@ipc                                   | None | 30700b5a-b13b-5334-aba4-72d73aca1b58 |
Comment 30 errata-xmlrpc 2018-06-27 09:08:58 EDT
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-2018:2084

Note You need to log in before you can comment on or make changes to this bug.