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

Bug 1408269

Summary: [RFE] Add support for OvS-DPDK plugin into collectd as part of OpsTool
Product: Red Hat OpenStack Reporter: Bertrand <brault>
Component: collectdAssignee: Matthias Runge <mrunge>
Status: CLOSED DUPLICATE QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: atelang, brault, fbaudin, jdonohue, jschluet, mbracho, mburns, mmagr, mrunge, parora, radoslaw.smigielski, tamar.inbar-shelach
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/collectd/collectd
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-05 08:41:10 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: 1411913    
Bug Blocks: 1419948    

Description Bertrand 2016-12-22 17:04:03 UTC
Scope / Description:
We need to be able to collect DPDK interface statistics.
To accomplish this, there is a need to  add support for OvS-DPDK plugin into collectd as part of OpsTool.

More about collectd:
http://collectd.org/



Additional Info:
Partner: Nokia CB
Name: Yossi Boaron
Contact Email: yossi.boaron
Name: Tamar Inbar-Shelach
Contact Email: tamar.inbar-shelach

Red Hat EPM: Bertrand Rault
Contact Email: Brault

Comment 1 Matthias Runge 2017-01-03 13:20:47 UTC
https://collectd.org/news.shtml
lists a dpdk plugin to be available in collectd-5.7.0 (and later)

Comment 4 Matthias Runge 2017-01-13 15:32:09 UTC
actually the build missed the plugin

Comment 7 Prateek Arora 2017-01-17 08:57:12 UTC
Here are my findings

The plugin has some linking problems. Enabling it with collectd throws the following errors repeatedly

In file included from /usr/include/dpdk/rte_ether.h:50:0,
                 from /usr/include/dpdk/rte_ethdev.h:185,
                 from dpdkstat.c:50:
/usr/include/dpdk/rte_memcpy.h: In function 'rte_memcpy':
/usr/include/dpdk/rte_memcpy.h:625:2: error: implicit declaration of function '_mm_alignr_epi8' [-Werror=implicit-function-declaration]
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
/usr/include/dpdk/rte_memcpy.h:625:2: error: incompatible type for argument 2 of '_mm_storeu_si128'
In file included from /usr/include/dpdk/rte_atomic.h:41:0,
                 from dpdkstat.c:43:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected '__m128i' but argument is of type 'int'
 _mm_storeu_si128 (__m128i *__P, __m128i __B)
 ^
In file included from /usr/include/dpdk/rte_ether.h:50:0,
                 from /usr/include/dpdk/rte_ethdev.h:185,
                 from dpdkstat.c:50:
/usr/include/dpdk/rte_memcpy.h:625:2: error: incompatible type for argument 2 of '_mm_storeu_si128'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);


The errors are related to the data reader from dpdk and as such collectd is not able to get the dpdk data.