Browse Source

Merge "Increase the memory limit for qemu-img" into stable/train

changes/49/795349/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
2ad982dd8d
2 changed files with 9 additions and 2 deletions
  1. +2
    -2
      ironic_python_agent/shell/write_image.sh
  2. +7
    -0
      releasenotes/notes/up-qemuimg-mem-1536183a02b3a235.yaml

+ 2
- 2
ironic_python_agent/shell/write_image.sh View File

@ -46,8 +46,8 @@ sgdisk -Z $DEVICE
log "Imaging $IMAGEFILE to $DEVICE"
# limit the memory usage for qemu-img to 1 GiB
ulimit -v 1048576
# limit the memory usage for qemu-img to 2 GiB
ulimit -v 2097152
qemu-img convert -t directsync -O host_device $IMAGEFILE $DEVICE
sync


+ 7
- 0
releasenotes/notes/up-qemuimg-mem-1536183a02b3a235.yaml View File

@ -0,0 +1,7 @@
---
fixes:
- |
Increase memory usage limit for ``qemu-img convert`` command to 2 GiB.
See `Story 2008667
<https://storyboard.openstack.org/#!/story/2008667>`_
for details.

Loading…
Cancel
Save