posting poorly structured sample data to a /v2/meters/meter causes 500 instead of 400
Bug #1428185 reported by
Chris Dent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Chris Dent | ||
WSME |
Fix Released
|
Undecided
|
Mehdi Abaakouk |
Bug Description
When making a request like the following with poorly structured sample data the response is 500. It should be 400.
- name: post bad samples to meter
desc: bad data for samples
xfail: true
url: /v2/meters/apples
method: POST
request_
data:
samples:
- red
- blue
- yellow
status: 400
Changed in ceilometer: | |
assignee: | nobody → Lena Novokshonova (enovokshonova) |
Changed in ceilometer: | |
status: | New → Invalid |
Changed in wsme: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in ceilometer: | |
status: | Invalid → Triaged |
Changed in ceilometer: | |
assignee: | Lena Novokshonova (enovokshonova) → Mehdi Abaakouk (sileht) |
status: | Triaged → In Progress |
Changed in wsme: | |
milestone: | none → 0.8.0 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
assignee: | Mehdi Abaakouk (sileht) → Chris Dent (chdent) |
Changed in ceilometer: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | liberty-3 → 5.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/208459
Review: https:/