Skip to content

Synchronise 2025.1 with upstream - #229

Open
github-actions[bot] wants to merge 3 commits into
stackhpc/2025.1from
upstream/2025.1-2026-08-03
Open

Synchronise 2025.1 with upstream#229
github-actions[bot] wants to merge 3 commits into
stackhpc/2025.1from
upstream/2025.1-2026-08-03

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR contains a snapshot of 2025.1 from upstream stable/2025.1.

kk7ds and others added 3 commits July 3, 2026 07:31
The websocket proxy mutates the CONF host list with the Host header
from the request, which would then poison future requests and/or
lead to a slow resource exhaustion attack. Simply making a copy before
mutation avoids the issue.

Conflicts:
  nova/console/websocketproxy.py

Generated-By: Claude Opus 4.6
Closes-Bug: #2158919
Change-Id: Ib13e479337f9b1c8b16952089d1d5f6979976b86
Signed-off-by: Dan Smith <dansmith@redhat.com>
(cherry picked from commit 0612fed)
(cherry picked from commit e488194)
(cherry picked from commit 5fe20b9)
Currently the CPU time and address space process limits for qemu-img
are hard-coded to 30 seconds and 1G respectively.

With more recent versions of Ceph in upstream CI, we have experienced
test failures that suggest 1G is no longer large enough for encrypted
RBD images. In the failures the following error is raised:

  nova.exception.InvalidDiskInfo: Disk info file is invalid: qemu-img
    failed to execute on
    rbd:volumes/volume-c83c9b7f-0f38-4bb8-a40a-300a66080d21:id=cinder :
    Unexpected error while running command.
  Command: /opt/stack/data/venv/bin/python3.12 -m
    oslo_concurrency.prlimit --as=1073741824 --cpu=30 -- env LC_ALL=C
    LANG=C qemu-img info
    rbd:volumes/volume-c83c9b7f-0f38-4bb8-a40a-300a66080d21:id=cinder
    --force-share --output=json
  Exit code: -6
  Stdout: ''
  Stderr: 'failed to allocate memory for stack: Cannot allocate memory\n'

This adds config options ``images_cpu_time_limit`` and
``images_address_space_limit`` to the ``[libvirt]`` section to allow
for tuning of the qemu-img process limits, similar to how Cinder and
Ironic make qemu-img process limits configurable.

Stable Only Changes
- the defautl value is updated to 1G to maintain stable
  branch behavior
- the ci jobs are updated to use 2G to match master
- the release note is updated to reflect this.

Closes-Bug: #2116852

Change-Id: I10e53de27b063b1e514e04066d0eb56a86188e9a
Signed-off-by: melanie witt <melwittt@gmail.com>
Signed-off-by: Sean Mooney <work@seanmooney.info>
(cherry picked from commit 7f43431)
(cherry picked from commit 8595b8e)
(cherry picked from commit 7a1a8a2)
@github-actions
github-actions Bot requested a review from a team as a code owner August 3, 2026 07:23
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants