cinder/cinder/message
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 User messages API for error cases 2016-04-29 18:41:10 +00:00
api.py Explicit user messages 2017-06-16 14:35:24 +08:00
defined_messages.py Remove Ocata's data migrations 2017-02-15 11:41:15 +01:00
message_field.py Add insufficient space async error in create vol 2017-07-12 13:45:29 +00:00