glance_store/glance_store/tests/unit
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
..
__init__.py Move glance_store tests into the main package 2015-06-12 15:15:10 +00:00
test_backend.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_cinder_store.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_connection_manager.py Multi store support for http, swift, sheepdog and vmware driver 2018-07-15 15:42:08 +00:00
test_driver.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_exceptions.py Improving GlanceStoreException 2015-10-06 15:34:34 +00:00
test_filesystem_store.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_http_store.py Fix argument order for assertEqual to (expected, observed) 2016-06-15 13:28:51 +08:00
test_location.py use only exceptions for uri validations 2018-06-07 14:11:02 +00:00
test_multistore_cinder.py Multi store support for cinder driver 2018-07-17 03:50:46 +00:00
test_multistore_filesystem.py Address multi store nits 2018-07-17 08:01:17 -05:00
test_multistore_rbd.py Catch rbd NoSpace exception 2018-12-14 10:45:47 +08:00
test_multistore_sheepdog.py Multi store support for http, swift, sheepdog and vmware driver 2018-07-15 15:42:08 +00:00
test_multistore_vmware.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_opts.py Buffered reader: Upload recovery for swift store 2017-03-15 21:05:33 +00:00
test_rbd_store.py Catch rbd NoSpace exception 2018-12-14 10:45:47 +08:00
test_sheepdog_store.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_store_base.py An unit test passes because is launched as non-root user 2017-03-02 14:01:23 +00:00
test_store_capabilities.py Move glance_store tests into the main package 2015-06-12 15:15:10 +00:00
test_swift_store.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_swift_store_multibackend.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
test_swift_store_utils.py Move glance_store tests into the main package 2015-06-12 15:15:10 +00:00
test_vmware_store.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00