cinder/cinder/image
Francois Deppierraz 864c074ff1 cinder-volume: Stop masking IOError different than ENOSPC
When glanceclient raises an IOError with a different errno than ENOSPC,
cinder-volume silently masked it and continued its volume creation
process. The result was volumes with invalid content being successfuly
created.

With the patch, an ImageDownloadFailed exception is raised in this case,
which makes the volume creation process fail and gives enough
information to operators for troubleshooting.

Change-Id: Ic011fe30b4840e5098db1a594ea276ec98768bff
Closes-Bug: #1799221
2019-01-04 18:09:46 +00:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
cache.py Fix image volume cache max size and max count limits 2018-09-17 10:14:11 -04:00
glance.py Handling unexpected python error "NoneType object is not iterable" 2018-10-17 20:04:14 +00:00
image_utils.py cinder-volume: Stop masking IOError different than ENOSPC 2019-01-04 18:09:46 +00:00