From 3566c5145ad676c7eb5952807f3ef1c44c142b74 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Tue, 29 Oct 2019 11:50:19 -0400 Subject: [PATCH] Increase cpu limit for image conversion The 8 second timeout is not always sufficient for large images. Bump to 30s, which matches what Nova currently uses for this same limit. Change-Id: I0c26c400f08d91c8c125c69e06e4c90302bcdbb1 Closes-Bug: #1705340 --- 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 93c66a4be26..83e8d57fc3e 100644 --- a/cinder/image/image_utils.py +++ b/cinder/image/image_utils.py @@ -69,7 +69,7 @@ CONF = cfg.CONF CONF.register_opts(image_opts) QEMU_IMG_LIMITS = processutils.ProcessLimits( - cpu_time=8, + cpu_time=30, address_space=1 * units.Gi)