Posting a sample with a string value for resource_metadata results in a 500 when it should be a 400
Bug #1428628 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
The following request to the ceilometer api results in an untrapped AttributeError and an eventual 500. It should result in a 400.
- name: post counter with wrong metadata
desc: metadata a string causes 500
xfail: true
url: /v2/meters/apples
method: POST
request_
data:
- counter_name: apples
description: | updated |
Changed in wsme: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in ceilometer: | |
status: | New → Triaged |
Changed in ceilometer: | |
assignee: | nobody → 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/208464
Review: https:/