Nothing actually tests these yet, but it is the desired behavior.
Change-Id: I3c89234a7a06e06f2740aec0bc7dc19da9cafeb5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
As done elsewhere in e.g. Ic203964c7dede7dd80ae2d93b8fa1b7e6634a758
Change-Id: I8183761513fb2d498d40bb6491e9ee1e61ae5fd1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
mention server migrate is 'offline', and mention live migration and how
it is different.
Change-Id: Ia9af8e4a21989c39deaf2f6f7e1039b3fc4a0eef
Signed-off-by: Pavlo Shchelokovskyy <shchelokovskyy@gmail.com>
These have the necessary type hints for the clientmanager and
should always be used.
Change-Id: I8420212be63dbeaff02c97823e1b80441cbc62ca
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This patch adds the '--cluster' optional argument to the 'volume
migration' command. This allows users to migrate volumes to a
destination cluster instead of a specific host, which is particularly
useful in Active-Active configurations.
The '--cluster' option requires Cinder API microversion 3.16 or
higher. The '--host' and '--cluster' options are mutually exclusive;
one of them must be provided for the migration to start.
Change-Id: Ibd45ac35e39a2a9f88a39f8041c06c4469727098
Signed-off-by: hongp <inyong.hong@samsung.com>
SDK returns generators, not lists, and we do not see errors until
they are iterated. Force early iteration by wrapping then in a list
to ensure we actually see the HTTP 403 errors we were expecting.
Change-Id: I0ab72e587bf4e16ae877db7a81023a226124e4d5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Nothing was setting haz_v1_api which means it was not possible
for these to run. Even if it had been, getting a cloud with the
v1 image API up and running is no easy feat nowadays.
Change-Id: Ic2ba82aedae4dbcae6313150335ee1c7412ce7b3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
testtools was recently bumped to a version that is typed, which means we
now see type hints for that library. As a result, we now see issues with
variables defined in tests via setUpClass. Note that the issue lies with
mypy and not testtools, however: mypy doesn't adding class variables via
assignment [1].
[1] https://github.com/python/mypy/issues/8723
Change-Id: I8b09846ff8fc6ee51ba03531f5b41039282ee1c0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2026.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2026.1.
Sem-Ver: feature
Change-Id: I81e3760add22809c94018921f6d9bc47f1710330
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh
Release notes to go with change
I4f1303b7b6c7ea2e67e5770745db060f08ba7761 that migrates the federation
protocol commands to SDK.
Change-Id: Ia2dbdefd505a44527c97c7549f33edcbdd7831c0
Signed-off-by: 0weng <oweng@osuosl.org>
This avoids the need to duplicate our dependency list in multiple
places and allows us to take advantage of tox's dependency management
infrastructure, to ensure we always get the latest and greatest version
of a package allowed by upper-constraints.
While here, we also update the versions of the remaining pre-commit
hooks and change the indentation of the tox file to align with the two
indent spacing used for other SDK projects. This makes copy-pasting
easier.
Change-Id: Ibde8ecda673b2346c82aab68d4f4b49be08414ae
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This makes sharing snippets between the two easier.
Change-Id: I8cf32d5ffd25d1b951f654c631ef06b18a5bade5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This flag is called "cascade" in the Cinder API.
The flag "purge" doesn't really communicate an obvious
meaning in the context of volume deletion. It also
has the danger of implying some kind of behavior about
volume wiping that does not exist.
Rename this flag to "--cascade" and preserve "--purge"
as a hidden flag for compatibility.
Change-Id: I8de27811222c17155697073fb9c512746d009266
Signed-off-by: Eric Harney <eharney@redhat.com>
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
In order for python-openstackclient to support image imports to
mutliple stores at the same time an update is needed to the --all-stores
argument used by the client whereby the argument is explicitly set to contain
a boolean value. This change makes the argument do what it's supposed to and
do it in a way consistent with the API contract exposed by Glance.
Amend tests to support the change in type of the --all-stores option.
Change-Id: If5a72ca3ca68656555b5eb478e104d43f419c77e
Closes-Bug: 2138903
Signed-off-by: Piotr Sipika <psipika@bloomberg.net>
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
When creating or listing projects, search for parent project in the
same domain as the child project.
Change-Id: I1912f06df353a64eb0573f080ac9ab067cb90632
Signed-off-by: 0weng <oweng@osuosl.org>
Fix `openstack quota show --usage` to correctly display resource usage
and reservations by applying proper name normalization for corresponding
sections of data.
Previously, name normalization was applied only for "limits" which is
the root section, leaving 'usage' and 'reservation' sections untouched.
Change-Id: Id14fe894b30a74b9b8d78b00c3d4ff151f8b4210
Closes-bug: #2137636
Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>