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 011ae614d5)
This commit is contained in:
Sean Dague 2017-07-24 10:51:49 -04:00 committed by Florian Haas
parent 2fffe19634
commit 862619b60a
1 changed files with 1 additions and 1 deletions

View File

@ -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)