Location add does not catch BadStoreUri
Bug #1502850 reported by
Niall Bunting
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Niall Bunting | ||
Kilo |
In Progress
|
Medium
|
Niall Bunting | ||
Liberty |
Fix Released
|
Medium
|
Niall Bunting |
Bug Description
Overview:
If you create an image and then use location-add to add a bad uri, the server returns a 500. As the BadStoreUri is not caught.
How to produce:
glance image-create
glance location-add de6d8022-
500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
2015-10-05 10:31:54.015 TRACE glance.common.wsgi raise exceptions.
2015-10-05 10:31:54.015 TRACE glance.common.wsgi BadStoreUri: The Store URI was malformed: http://
Output:
500
Expected:
400
Changed in glance: | |
assignee: | nobody → Niall Bunting (niall-bunting) |
Changed in glance: | |
status: | New → In Progress |
Changed in glance: | |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm guessing this is a subset of https:/ /bugs.launchpad .net/glance- store/+ bug/1501443