Skip to content

Synchronise 2024.1 with upstream - #226

Open
github-actions[bot] wants to merge 3 commits into
stackhpc/2024.1from
upstream/2024.1-2026-07-27
Open

Synchronise 2024.1 with upstream#226
github-actions[bot] wants to merge 3 commits into
stackhpc/2024.1from
upstream/2024.1-2026-07-27

Conversation

@github-actions

Copy link
Copy Markdown

This PR contains a snapshot of 2024.1 from upstream unmaintained/2024.1.

sbauza and others added 3 commits June 20, 2026 09:21
User-supplied scheduler hints can include internal keys like
"_nova_check_type" which cause the scheduler to bypass Placement
candidate selection, request pre-filters, and resource claims.
This can lead to instances being created without proper resource
accounting.

Rather than rejecting the request, silently strip any _nova-prefixed
hints before they reach the scheduler. This is consistent with the
existing hints behavior of ignoring unknown ones and ensures the
probe attempt still costs the attacker money.

Assisted-By: Cursor

Change-Id: Iac4fef93bef0bab3060d40a9ea3e0ebd69a38c37
Closes-Bug: #2151252
Signed-off-by: Sylvain Bauza <sbauza@redhat.com>
(cherry picked from commit 9666894)
(cherry picked from commit 32bd847)
(cherry picked from commit 0e969c5)
(cherry picked from commit 355edcb)
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.

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)
(cherry picked from commit faceea8)
@github-actions
github-actions Bot requested a review from a team as a code owner July 27, 2026 07:24
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Jul 27, 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