Samples created with '--direct' are not dispatched to Gnocchi backend

Bug #1507476 reported by Yurii Prokulevych
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
ZhiQiang Fan

Bug Description

When samples are create with 'sample-create' command and with '--direct True' option set are not dispatched to Gnocchi backend.

Regards,
Yurii

ZhiQiang Fan (aji-zqfan)
Changed in ceilometer:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
status: New → Confirmed
Julien Danjou (jdanjou)
Changed in ceilometer:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/236856

Changed in ceilometer:
status: Confirmed → In Progress
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

When gnocchi is enabled and database is in dispatcher list, things will get complicated, because such scenario api will consider Gnocchi is not enabled, so when user post sample with direct option, then such data only exist in ceilometer storage but will not be in Gnocchi, I think such result is acceptable, because the 'direct' word is explicit.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/236856
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=67c6338bf555ed5b8d256c9e61220b10312d1072
Submitter: Jenkins
Branch: master

commit 67c6338bf555ed5b8d256c9e61220b10312d1072
Author: ZhiQiang Fan <email address hidden>
Date: Mon Oct 19 03:16:14 2015 -0600

    Reject posting sample with direct=true if Gnocchi is enabled

    Gnocchi acts as a third party service which receives data via
    dispatcher, not a direct storage backend, we need to reject
    requests which attempt to post sample via direct way.

    Change-Id: Id741b7dfecbaaba19bf70c761b65cf76e57cbe60
    Closes-Bug: #1507476

Changed in ceilometer:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ceilometer 6.0.0.0b1

This issue was fixed in the openstack/ceilometer 6.0.0.0b1 development milestone.

Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Liusheng (liusheng)
Changed in ceilometer:
milestone: none → mitaka-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.