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

Bug 1543499

Summary: Connection between collectd and gnocchi fails because collectd is sending incorrect value to gnocchi.
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: python-collectd-gnocchiAssignee: Julien Danjou <jdanjou>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: apannu, apevec, jdanjou, jjoyce, jschluet, lhh, mrunge, pkilambi, sclewis
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-collectd-gnocchi-1.7.0-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:08:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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