refuse to post sample which is not supported

Bug #1435868 reported by OpenStack Infra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

https://review.openstack.org/164401
commit 5fd28cb74b426132cc39aaeb1547c267652cfc5d
Author: ZhiQiang Fan <email address hidden>
Date: Sat Mar 14 13:55:32 2015 +0800

    refuse to post sample which is not supported

    Currently, if we remove wildcard * in pipeline.yaml and explictly
    configure which metrics are supported, then post an unsupported sample
    via API, then API will return 201 but that sample will not be stored
    to database since pipeline don't support it.

    This patch adds a check for each posted sample, if any of them is not
    supported, then a 409 code will be returned.

    Change-Id: I1f115929508c1ea432829d7d7dc2fe758e7d77ac
    Closes-Bug: #1432077
    DocImpact

Tags: ceilometer
Tom Fifield (fifieldt)
affects: openstack-manuals → openstack-api-site
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

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

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/251075
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=34714a740d8571a5e233c6011ec5023d36367677
Submitter: Jenkins
Branch: master

commit 34714a740d8571a5e233c6011ec5023d36367677
Author: Diane Fleming <email address hidden>
Date: Sat Nov 28 20:53:11 2015 -0600

    Add 409 response code to add samples to meter

    Change-Id: I5e34915032710afa504078d5fa165ac65d2cf151
    Closes-Bug: #1435868

Changed in openstack-api-site:
status: In Progress → Fix Released
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.