summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2017-03-09 11:25:53 -0500
committerEric Harney <eharney@redhat.com>2017-03-13 16:44:58 +0000
commit46799c4ff57e818fad770c5266f553a30fab6de2 (patch)
treebd746df897a81e7968f553849762a4c688a43fac
parentdf539f51d4db2904b30d6f835b967758d0ab098e (diff)
downloadcinder-46799c4ff57e818fad770c5266f553a30fab6de2.tar.gz
Bump prlimit cpu time for qemu-img from 2 to 89.1.3
Users have reported that the current CPU limit is not sufficient for processing large enough images when downloading images to volumes. This mirrors a similar increase made in Nova (b78b1f8ce). Closes-Bug: #1646181 Change-Id: I5edea7d1d19fd991e51dca963d2beb7004177498 (cherry picked from commit 52310fa8645cc10b91de7d2b4e10a3b42d4ef073) (cherry picked from commit 2a5e0086e130e5e7960f743b6db8344caf65b9e5)
-rw-r--r--cinder/image/image_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cinder/image/image_utils.py b/cinder/image/image_utils.py
index b90416585..6ebb26027 100644
--- a/cinder/image/image_utils.py
+++ b/cinder/image/image_utils.py
@@ -55,7 +55,7 @@ CONF = cfg.CONF
CONF.register_opts(image_helper_opts)
QEMU_IMG_LIMITS = processutils.ProcessLimits(
- cpu_time=2,
+ cpu_time=8,
address_space=1 * units.Gi)
# NOTE(abhishekk): qemu-img convert command supports raw, qcow2, qed,