deb-cinder/cinder/image
Chaynika Saikia bc52ae4219 Add insufficient space async error in create vol
cinder does not provide an async error message when a new volume
is created from an image if there is insufficient space to download
the image. The changes are made such that if there is an IOError
in fetch() or insufficient space error from check_available_space()
cinder message API generates an async error message for the user.

A new exception ImageTooBig() has been created to handle this
error and whenever this exception is come across, cinder generates
an error message. Changes are made in the create_volume flow to
handle this exception and generate the message.

Changes are made in image_utils.py so that whenever there is not
enough space, the appropriate exception is raised. New action and
detail are added to message_field.py for this type of error.

Change-Id: I184acd9c26d2a2a140c8205e4c93164204e8674d
2017-07-12 13:45:29 +00:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
cache.py Fix image cache db query when limits are enabled 2017-06-30 11:22:19 -07:00
glance.py Send global_request_id to nova/glance when calls are made 2017-06-08 07:48:30 -04:00
image_utils.py Add insufficient space async error in create vol 2017-07-12 13:45:29 +00:00