Bug 1408269 - [RFE] Add support for OvS-DPDK plugin into collectd as part of OpsTool
Summary: [RFE] Add support for OvS-DPDK plugin into collectd as part of OpsTool
Keywords:
Status: CLOSED DUPLICATE of bug 1409846
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: collectd
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Upstream M2
: ---
Assignee: Matthias Runge
QA Contact: Leonid Natapov
URL: https://github.com/collectd/collectd
Whiteboard:
Depends On: 1411913
Blocks: 1419948
TreeView+ depends on / blocked
 
Reported: 2016-12-22 17:04 UTC by Bertrand
Modified: 2018-08-22 03:59 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-05 08:41:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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