cinder/cinder/image
Gorka Eguileor e4de4fb33d Ensure image utils don't block greenthreads
When doing image operations in Cinder we may start getting errors on
RabbitMQ and DB connections, which result in the volume service
appearing as down to the scheduler.

This is caused by file I/O operations, that in some cases block
greenthreads, preventing switching to another greenthread on I/O as they
should.

This results in many different errors, so this patch makes sure that
image operations (fetch, put, verify image, ...) that could prevent
greenthread switching are executed in native threads.

Closes-Bug: #1801958
Change-Id: I8a8fbf96875319a7e5ca167fcd2bca45f57649c8
2018-12-06 19:23:58 +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 Ensure image utils don't block greenthreads 2018-12-06 19:23:58 +00:00