commit 9404eb1591cd5133d8ed9d1675f809b221ff2cde
Author: Jay S. Bryant <email address hidden>
Date: Mon Aug 12 11:46:06 2013 -0500
Fix handling ImageUnacceptable in create_volume
In the create_volume flow ImageUnacceptable exceptions are
not properly handled. _copy_image_to_volume can receive an
ImageUnacceptable exception from copy_image_to_volume if fetch_to_raw
is used. Currently the ImageUnacceptable exception is changed to
a generic ImageCopyFailure exception which does not make the cause
of the excpetion clear.
This change adds handling and raising ImageUnacceptable exceptions
in _copy_image_to_volume. It also adds the exception to
no_reschedule_types as it doesn't make sense to keep retrying the
copy if the image was found to be unacceptable.
Reviewed: https:/ /review. openstack. org/41473 github. com/openstack/ cinder/ commit/ 9404eb1591cd513 3d8ed9d1675f809 b221ff2cde
Committed: http://
Submitter: Jenkins
Branch: master
commit 9404eb1591cd513 3d8ed9d1675f809 b221ff2cde
Author: Jay S. Bryant <email address hidden>
Date: Mon Aug 12 11:46:06 2013 -0500
Fix handling ImageUnacceptable in create_volume
In the create_volume flow ImageUnacceptable exceptions are to_volume can receive an ptable exception from copy_image_ to_volume if fetch_to_raw
not properly handled. _copy_image_
ImageUnacce
is used. Currently the ImageUnacceptable exception is changed to
a generic ImageCopyFailure exception which does not make the cause
of the excpetion clear.
This change adds handling and raising ImageUnacceptable exceptions to_volume. It also adds the exception to reschedule_ types as it doesn't make sense to keep retrying the
in _copy_image_
no_
copy if the image was found to be unacceptable.
fixes bug 1209021
Change-Id: I9aacf23dfaaa1a 4df0a869d1c9544 c376488f01b