Skip to content

Synchronise 2025.1 with upstream#197

Merged
priteau merged 7 commits intostackhpc/2025.1from
upstream/2025.1-2026-05-04
May 9, 2026
Merged

Synchronise 2025.1 with upstream#197
priteau merged 7 commits intostackhpc/2025.1from
upstream/2025.1-2026-05-04

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented May 4, 2026

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

sbauza and others added 7 commits October 17, 2025 10:59
The weigher is unable to get the right image metadata for existing
instances if they are not already on the HostState.

Change-Id: I5bccf854662ecffe1d469bacc6e4afcb746d6b4d
Signed-off-by: Sylvain Bauza <sbauza@redhat.com>
(cherry picked from commit 04afc45)
(cherry picked from commit 180d431)
When using the weigher, we need to target the right cell context for the
existing instances in the host.
fill_metadata was also having an issue as we need to pass the dict value
from the updated dict by keying the instance uuid, not the whole dict of
updated instances.

Change-Id: I18260095ed263da4204f21de27f866568843804e
Closes-Bug: #2125935
Signed-off-by: Sylvain Bauza <sbauza@redhat.com>
(cherry picked from commit 9888534)
(cherry picked from commit 4b54a14)
We don't want users creating BDMs with source_type=image,
destination_type=local and boot_index=0, since that redefines our root
disk definition which should be controlled by the flavor's 'disk'
property. We did have a check for this, but it explicitly checked for
the 'imageRef' being set to null - which isn't permitted by the schemas
-instead of the empty string that is expected when creating a BFV
instance. Correct this check.

Change-Id: Id3442c3d315e6bb63e6c3675f4ab104885b3884f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-Bug: #2077980
(cherry picked from commit 53eb2cd)
(cherry picked from commit 96b0126)
Preserve NVRAM variable store during stop/start, hard reboot, live
migration, and volume retype.

This does not affect cold migration or shelve.

For UEFI guests (hw_firmware_type=uefi), every time the instance is
started, the UEFI variable storage for that instance
(/var/lib/libvirt/qemu/nvram/instance-xxxxxxxx_VARS.fd) is deleted
and reinitialized from the default template.

The changes are based on this patch by Jonas Schäfer to preserve the
vTPM state:
https://review.opendev.org/c/openstack/nova/+/955657

Closes-Bug: #1633447
Closes-Bug: #2131730
Change-Id: I444a9285c07a04bf08a73772235f8dd73d75e513
Signed-off-by: Nicolai Ruckel <nicolai.ruckel@cloudandheat.com>
(cherry picked from commit 35b1945)
(cherry picked from commit 40f52a9)
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels May 4, 2026
@github-actions github-actions Bot requested a review from a team as a code owner May 4, 2026 07:19
@priteau priteau closed this May 9, 2026
@priteau priteau reopened this May 9, 2026
@priteau priteau enabled auto-merge May 9, 2026 14:21
@priteau priteau merged commit 60c43f5 into stackhpc/2025.1 May 9, 2026
4 checks passed
@priteau priteau deleted the upstream/2025.1-2026-05-04 branch May 9, 2026 14:31
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.

3 participants