Skip to content

Commit

Permalink
Increase cpu time for image conversion
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sdague committed Jul 24, 2017
1 parent d2dbd4f commit 011ae61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/virt/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
IMAGE_API = image.API()

QEMU_IMG_LIMITS = processutils.ProcessLimits(
cpu_time=8,
cpu_time=30,
address_space=1 * units.Gi)


Expand Down

0 comments on commit 011ae61

Please sign in to comment.