diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-04-18 16:32:19 +0000 |
---|---|---|
committer | Matt Riedemann <mriedem@us.ibm.com> | 2016-06-10 17:21:27 -0400 |
commit | c8ec9ebf379c61d73c5671a75dd2a4e4ae1403fb (patch) | |
tree | d69ca90b83c3e04152a191633a3c5130acb95c28 /releasenotes/notes/rm_volume_manager-78fed5be43d285b3.yaml | |
parent | 73820214bf06a30821879dc12e43dbc47a80e86e (diff) | |
download | nova-c8ec9ebf379c61d73c5671a75dd2a4e4ae1403fb.tar.gz |
virt: set address space & CPU time limits when running qemu-img13.1.0
This uses the new 'prlimit' parameter for oslo.concurrency execute
method, to set an address space limit of 1GB and CPU time limit
of 2 seconds, when running qemu-img.
This is a re-implementation of the previously reverted commit
commit da217205f53f9a38a573fb151898fbbeae41021d
Author: Tristan Cacqueray <tdecacqu@redhat.com>
Date: Wed Aug 5 17:17:04 2015 +0000
virt: Use preexec_fn to ulimit qemu-img info call
NOTE(mriedem): The backport depends on raising the minimum
required oslo.concurrency>=3.7.1 which contains the prlimits
fix for this change, the code fails without it.
Depends-on: I157a6fc88836da73814ae46c8991ddefc5066c96
Closes-Bug: #1449062
Change-Id: I135b5242af1bfdcb0ea09a6fcda21fc03a6fbe7d
(cherry picked from commit 068d851561addfefb2b812d91dc2011077cb6e1d)
Diffstat (limited to 'releasenotes/notes/rm_volume_manager-78fed5be43d285b3.yaml')
0 files changed, 0 insertions, 0 deletions