blazar/blazar/api/v1
Tetsuro Nakamura 2bd5b65118 Expose placement exception code to end users
Attempting to create an existing host already in DB resulted in a 409
Conflict response status code in the Rocky release. However, on the
current master, using the placement API support has changed it to return
a 500 Internal Server Error.

This patch changes it back to 409 by bubbling up the exception code
occured in the placement resource provider creation.

Change-Id: I5c02a8fe9a83adf83358062fcc5470e38e643550
Closes-Bug: #1812642
2019-03-18 22:37:03 +00:00
..
leases Pass query parameters in GET request to list handler 2019-01-08 12:13:55 +00:00
oshosts Expose List/Get Allocations API 2019-01-08 12:32:30 +00:00
__init__.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
app.py Fix directory structure 2018-07-23 19:46:44 +09:00
utils.py Expose placement exception code to end users 2019-03-18 22:37:03 +00:00
validation.py Replace six.iteritems() with .items() 2017-04-05 19:51:51 +08:00