Skip to content

Synchronise 2026.1 with upstream - #22

Merged
priteau merged 8 commits into
stackhpc/2026.1from
upstream/2026.1-2026-08-10
Aug 11, 2026
Merged

Synchronise 2026.1 with upstream#22
priteau merged 8 commits into
stackhpc/2026.1from
upstream/2026.1-2026-08-10

Conversation

@github-actions

Copy link
Copy Markdown

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

gouthampacha and others added 8 commits May 13, 2026 15:36
When manila services start simultaneously, they can race to
create the default availability zone. The get-or-create
pattern in _availability_zone_create_if_not_exist was not
handling the case where two services both see the AZ as
missing and both attempt to INSERT, causing a
DBDuplicateEntry on the az_name_uc constraint.

Use a savepoint (nested transaction) around the INSERT so
that a duplicate entry error only rolls back the INSERT
without poisoning the outer session, then retry the GET to
return the AZ that the other service created.

Change-Id: I35f1d9423da17e51b2399d81f2d6261e14323bd9
Closes-Bug: #2008813
Assisted-By: Claude Code (Opus 4.6)
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit 700fb3c)
The LOG.warning call in the create_backup_continue error handler
had %(backup). instead of %(backup)s., and the LOG.exception call
in the restore_backup_continue error handler had %(share). instead
of %(share)s., causing Python to raise a ValueError: incomplete
format when a backup continuation failure occurred.

This meant the except blocks would fail before the DB update
calls could execute, leaving shares and backups permanently stuck
in incorrect states.

Closes-Bug: #2147529
Closes-Bug: #2148041
Change-Id: I51cca129e24fd2dc831d0ffacbde526e90da7a86
Signed-off-by: sakumbha <sakumbha@redhat.com>
(cherry picked from commit 4a9ecb2)
The container driver's docker image was hosted as a
tarball on a personal GitHub account since 2016. Switch
to pulling from quay.io/openstack-manila where the
image is published by manila-image-elements CI.

Also fix import_docker_service_image_ubuntu to handle
file:// URLs (copy to $FILES before gunzip) and registry
references (docker pull + tag).

Change-Id: I6106959f0f2dc894b66f1a2c7b5c4a567fdf72a3
Partial-Bug: #2160440
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit 1334dc1)
The resource locks mechanism allows filtering locks by project
UUIDs. This feature is helpful for identifying the locks and
letting their users and/or administrators to quickly filter.

However, in the current code path, we were allowing unauthorized
cross-project visibility into resource locks data for users that
were not members, admin or readers of a given project.

This change fixes this issue by adding a check to ensure whether
the user has authorization to look up resource locks in the
project they are supplying as part of the query.

Closes-Bug: #2161287
Change-Id: I03eebf6bb951583378340365dbf69122f124ffc8
Signed-off-by: Carlos da Silva <ces.eduardo98@gmail.com>
(cherry picked from commit 8119570)
The LOG.error call was passing the string literal "exc" instead of
the exc variable, causing error logs to never show the actual
failure reason from a previous share-create attempt.

Closes-Bug: #2161592
Change-Id: Ic2d35329f071986d0264ff62be55c8cada31954c
Signed-off-by: sakumbha <sakumbha@redhat.com>
(cherry picked from commit aeeb082)
Quagga is no longer available on Ubuntu 22.04+.
Replace it with FRR (FRRouting), its maintained
fork and drop-in replacement.

Also fix BGP peering on single-host devstack by
giving FRR a separate IPv6 address and using
"bgp listen range" to accept connections from any
address in the public subnet.

Closes-Bug: #1998489
Change-Id: I189eaee03286dc7641537bb3548b4fcafdaed67e
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit b7037f1)
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 10, 2026
@github-actions
github-actions Bot requested a review from a team as a code owner August 10, 2026 06:45
@priteau
priteau merged commit eb51cf8 into stackhpc/2026.1 Aug 11, 2026
3 checks passed
@priteau
priteau deleted the upstream/2026.1-2026-08-10 branch August 11, 2026 11:59
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.

5 participants