glance_store/glance_store/tests
Liang Fang 7377cf2638 Catch rbd NoSpace exception
Unhelpful error (HTTP 500, Internal Server Error) received if image
creation failed due to insufficient free space. This patch catches rbd
NoSpace exception and re-raise the exact exception
glance_store.StorageFull, and the http client will receive "HTTP 413
Request Entity Too Large".

Closes-Bug: #1808456
Change-Id: Id787d3ae6f761aaa31d2fc7dd26d2f7d327367d4
Co-authored-by: Stefan Dinescu <stefan.dinescu@windriver.com>
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-12-14 10:45:47 +08:00
..
etc Support V3 authentication with swift 2015-07-22 23:58:30 +00:00
functional Clean imports in code 2018-03-01 07:29:33 +00:00
unit Catch rbd NoSpace exception 2018-12-14 10:45:47 +08:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
base.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
fakes.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
utils.py Switch VMWare Datastore to use Requests 2016-02-24 22:53:15 -08:00