[monasca-api] metric-statistics does not respond "409 Conflict"

Bug #1520061 reported by Shinya Kawabata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
Fix Committed
Undecided
Shinya Kawabata

Bug Description

When metric-statistics without --merge_metrics is called and which has multiple metrics matching metric name and dimensions,
it is expected to respond "409 Conflict".
But currently "500 Internal Server Error" is returned at python monasca-api.

Thus tempest test "test_list_statistics_with_no_merge_metrics" in test_statistics.py fails.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to monasca-api (master)

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

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

Reviewed: https://review.openstack.org/250148
Committed: https://git.openstack.org/cgit/openstack/monasca-api/commit/?id=c55cb860353b84ec3366ea6bbf74ac742a26993d
Submitter: Jenkins
Branch: master

commit c55cb860353b84ec3366ea6bbf74ac742a26993d
Author: Shinya Kawabata <email address hidden>
Date: Thu Nov 26 13:31:27 2015 +0900

    Fix metric-statistics doesn't respond "Conflict"

    When metric-statistics without --merge_metrics is called
    and which has multiple metrics matching metric name and dimensions,
    it is expected to respond "409 Conflict" instead of
    "500 Internal Server Error".

    Change-Id: I26edf216b68385bf3bce11ba186d2b285b46874b
    Closes-Bug: #1520061

Changed in monasca:
status: In Progress → Fix Committed
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.