ironic-lib/ironic_lib
Julia Kreger 000ea74d34 Fix other out of memory error for qemu-img convert
qemu-img convert makes a number of allocation requests, and less
common than the "Resource temporarily unavailable" error is
"Cannot allocate memory". The first seems to be largely raised
upon a thread creation for the image conversion, where the first
appears to be on buffer setup on the original process.

Regardless, we should check for both and retry conversion
automatically.

rhbz# 1892773

Note: Because of a later patch which transformed the retry logic to
leverage tenacity, this change has been modified accordingly.

Change-Id: If435ed0efe034d4bb99f0281ebc73840c0f38fb3
(cherry picked from commit 9be6afc751)
(cherry picked from commit 9790280301)
2020-12-14 10:49:59 -08:00
..
common Remove translation of log messages 2017-03-21 12:12:56 -07:00
tests Fix other out of memory error for qemu-img convert 2020-12-14 10:49:59 -08:00
__init__.py Initial commit for ironic-lib 2015-02-26 04:15:08 -08:00
disk_partitioner.py Add logic to create PReP partition for ppc64* arch 2018-07-16 14:26:50 +00:00
disk_utils.py Fix other out of memory error for qemu-img convert 2020-12-14 10:49:59 -08:00
exception.py Stop using six library 2019-12-06 01:49:46 +01:00
mdns.py Merge "Stop using six library" 2019-12-11 18:32:06 +00:00
metrics_statsd.py Convert str to bytes for py3 socket compatibility 2020-04-13 03:16:16 +00:00
metrics_utils.py Stop using six library 2019-12-06 01:49:46 +01:00
metrics.py Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
utils.py Bump hacking to 3.0.0 2020-03-30 11:34:27 +02:00
version.py Add framework for doc building in ironic-lib 2016-08-18 09:14:52 -07:00