Glance API returns a 500 response code for invalid request params
Bug #919244 reported by
Unmesh Gurjar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Kevin L. Mitchell |
Bug Description
When the Glance API for replace image members is provided with an invalid request body, it returns an Internal Server Error(500).
The API should return a Bad Request(400) response instead.
Here is the sample Json request body:
{"test": [ {"member_id": "demo", "can_share": false}]}
tags: | added: verification-needed |
Changed in glance: | |
assignee: | nobody → Kevin L. Mitchell (klmitch) |
milestone: | none → essex-3 |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/3228
Review: https:/