From 46799c4ff57e818fad770c5266f553a30fab6de2 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 9 Mar 2017 11:25:53 -0500 Subject: [PATCH] Bump prlimit cpu time for qemu-img from 2 to 8 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) --- cinder/image/image_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/image/image_utils.py b/cinder/image/image_utils.py index b9041658538..6ebb2602701 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,