Bug 1543499 - Connection between collectd and gnocchi fails because collectd is sending incorrect value to gnocchi.
Summary: Connection between collectd and gnocchi fails because collectd is sending inc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-collectd-gnocchi
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M3
: 13.0 (Queens)
Assignee: Julien Danjou
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-08 15:14 UTC by Leonid Natapov
Modified: 2018-06-27 13:09 UTC (History)
9 users (show)

Fixed In Version: python-collectd-gnocchi-1.7.0-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 13:08:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gnocchixyz collectd-gnocchi pull 22 0 None None None 2018-02-08 15:32:04 UTC
Red Hat Product Errata RHEA-2018:2084 0 None None None 2018-06-27 13:09:31 UTC

Description Leonid Natapov 2018-02-08 15:14:20 UTC
Connection between collectd and gnocchi fails because collectd is sending incorrect value to gnocchi.

Collectd tries to send data to the gnocchi by using collectd-gnocchi plugin and fails because it sends incorrect value.

Here is the log that I get:

[2018-02-08 14:41:18] Traceback (most recent call last):
[2018-02-08 14:41:18] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 34, in inner_func
    return func(*args, **kwargs)
[2018-02-08 14:41:18] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 171, in flush
    measures, create_metrics=True)
[2018-02-08 14:41:18] File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric.py", line 235, in batch_resources_metrics_measures
    data=ujson.dumps(measures),
[2018-02-08 14:41:18] OverflowError: Invalid Nan value when encoding double

Comment 1 Julien Danjou 2018-02-08 17:25:36 UTC
This is fixed in 1.7.0, can we get a rebase? :)

Comment 10 Leonid Natapov 2018-03-07 08:13:22 UTC
Verified. python-collectd-gnocchi-1.7.0-1.el7ost

Comment 12 errata-xmlrpc 2018-06-27 13:08:58 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-2018:2084


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