Bug 1488374

Summary: [RFE] Gnocchi storage plugin [python-collectd-gnocchi]
Product: Red Hat OpenStack Reporter: Martin Magr <mmagr>
Component: python-collectd-gnocchiAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: apannu, jbadiapa, jdanjou, jschluet, lars, lnatapov, marjones, markmc, mmagr, mrunge, pkilambi, rmccabe, srevivo
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-collectd-gnocchi-1.6.1-0.20171204185213.828e371.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1540239 (view as bug list) 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:
Bug Depends On:    
Bug Blocks: 1488155, 1540239, 1550313    

Description Martin Magr 2017-09-05 08:52:25 UTC
Description of problem:

In order to be able to configure Collectd to send metrics to Gnocchi DB, we need to provide relevant plugin for this.

https://copr.fedorainfracloud.org/coprs/mrunge/collectd-stuff/package/python-collectd-gnocchi/

Comment 10 Matthias Runge 2018-01-03 09:09:35 UTC
kolla change has been merged

python-collectd-gnocchi-1.4.1-0.1 was built for OSP 13

missing is the tht change

Comment 12 Matthias Runge 2018-02-07 11:41:14 UTC
This needs documentation: how to use and make sure the change in data storage is also mentioned to enable users to even maybe migrate metrics from one backend to the other.

Comment 14 Leonid Natapov 2018-02-14 17:55:13 UTC
Verified. collectd-gnocchi conf file successfully created 

()[root@controller-0 collectd.d]# cat 00-python.conf
# Generated by Puppet
<LoadPlugin python>
  Globals false
</LoadPlugin>

<Plugin "python">
  Import "collectd_gnocchi"
  <Module "collectd_gnocchi">

    ### Basic authentication
    Endpoint "http://10.35.64.7:8041"

    User "admin"


    ## Default resource type created by the plugin in Gnocchi
    ## to store hosts
    ResourceType "collectd"

    ## Minimum number of values to batch
    BatchSize 10
  </Module>
</Plugin>

Comment 16 Leonid Natapov 2018-02-15 09:21:55 UTC
There was some misunderstanding in what should be tested to verify this BZ.

I am moving this bug back to ON_QA because I couldn't test collectd-gnocchi functionality yet because of another bug the blocks me form doing that.

https://bugzilla.redhat.com/show_bug.cgi?id=1543499

Comment 22 Leonid Natapov 2018-03-07 08:34:50 UTC
metrics are being sent to the gnocchi DB running on the opstools server.

Comment 24 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