Browse Source

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
(cherry picked from commit 3566c5145a)
(cherry picked from commit fa6f7d3d31)
(cherry picked from commit 186fb25d04)
tags/13.0.8^0
Eric Harney 3 months ago
parent
commit
ce951a3b58
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cinder/image/image_utils.py

+ 1
- 1
cinder/image/image_utils.py View File

@@ -62,7 +62,7 @@ CONF = cfg.CONF
CONF.register_opts(image_helper_opts)

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



Loading…
Cancel
Save