nova/nova/tests/unit/api/openstack
Kevin_Zheng 1b59d60f95 Catch exception.OverQuota when create image for volume backed instance
When create image for a volume backed instance, nova will
create snapshots for all volumes attached to the instance
in Cinder, and if quota exceed in Cinder, HTTP 500 will
raise, we should capture this error and raise 403.

Change-Id: Ic62478e22a7477cfaefac3e63c383082d66bd635
Closes-Bug: #1689284
(cherry picked from commit 29c8ae3cd9)
2017-05-23 06:28:00 +00:00
..
compute Catch exception.OverQuota when create image for volume backed instance 2017-05-23 06:28:00 +00:00
placement [TrivialFix] Fix comment and function name typo error 2016-12-22 15:20:23 +08:00
__init__.py
common.py [python3] Webob request body should be bytes 2015-12-28 13:51:29 -05:00
fakes.py Merge "Remove mox in unit/api/openstack/test_wsgi.py" 2017-01-11 13:36:54 +00:00
test_api_version_request.py Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
test_common.py conf: Move api options to a group 2016-11-25 16:32:31 -06:00
test_faults.py [Py34] api.openstack.test_faults.TestFaultWrapper 2015-12-10 20:56:42 +00:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_mapper.py [Py34] Enable api.openstack.test_mapper unit test 2015-10-05 18:59:28 +03:00
test_wsgi.py Remove mox in unit/api/openstack/test_wsgi.py 2017-01-10 06:31:00 +00:00