From 862619b60aff74f9049baab1ba01e2b67226afd8 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 24 Jul 2017 10:51:49 -0400 Subject: [PATCH] Increase cpu time for image conversion Apparently the current 8 second timeout on qemu-info may not be sufficient if snapshot images are > 120G in size. This bumps that to 30s instead to provide a backstop, but not hurt people with large snapshots. Change-Id: I877b9401a671904a13bb07bae3636b72d7d20df8 Closes-Bug: #1705340 (cherry picked from commit 011ae614d5c5fb35b2e9c22a9c4c99158f6aee20) --- nova/virt/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/images.py b/nova/virt/images.py index fc4db6275e93..59e1ddf24dec 100644 --- a/nova/virt/images.py +++ b/nova/virt/images.py @@ -39,7 +39,7 @@ CONF = nova.conf.CONF IMAGE_API = image.API() QEMU_IMG_LIMITS = processutils.ProcessLimits( - cpu_time=8, + cpu_time=30, address_space=1 * units.Gi)