5655 Commits

Author SHA1 Message Date
Dr. Jens Harbott
2e09b2bf3e Update branch regexes for tips jobs
Using negative lookahead is deprecated, let the jobs be run simply only
on the master branch for now.

Change-Id: Ia53fffb0a3f61cbf85edd96fbeeb5138a88d4d0a
2023-09-20 07:08:09 +02:00
2737e063b5 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I608edcb863038522677beb8bd2e1eb98c1eec363
2023-09-15 16:03:09 +00:00
Zuul
08faf81d0d Merge "tests: Add image v1, v2 FakeClientMixin" 6.3.0 2023-09-06 12:29:14 +00:00
Zuul
6ae38b2888 Merge "tests: Use consistent shortcut to fake image client" 2023-09-06 12:26:00 +00:00
Zuul
98c62dfbe0 Merge "tests: Remove FakeImagev1Client, FakeImagev2Client" 2023-09-06 12:16:35 +00:00
Zuul
09eb21ea35 Merge "tests: Add network v2 FakeClientMixin" 2023-09-06 12:08:34 +00:00
Zuul
6423b61326 Merge "tests: Use consistent shortcut to fake network client" 2023-09-05 19:35:50 +00:00
Zuul
d69d738c74 Merge "tests: Remove FakeNetworkV2Client" 2023-09-05 19:30:07 +00:00
Zuul
9e2316fd06 Merge "Remove project purge image commands" 2023-09-05 19:30:05 +00:00
Zuul
876c120a9c Merge "Migrate 'extension list' to SDK" 2023-09-05 19:30:04 +00:00
Zuul
5ab1b13d5e Merge "Migrate 'availability zone list' to SDK" 2023-09-05 19:30:02 +00:00
Zuul
16bdb17fee Merge "tox: Bump min_version to 4.3.0" 2023-09-01 10:43:30 +00:00
Zuul
94caaa487d Merge "Migrate backup commands to SDK" 2023-09-01 02:45:27 +00:00
Artem Goncharov
c7c79c9fe4 Propocol release versions properly
On the index page we stopped updating versions table since train. Add
missing entries.

Also small rephrasement in the into on backwards compatibility not to
stick with an ancient release name.
Set oldest release on unreleased page correspondingly.

Change-Id: I4a442708a5b47f573cd2333545531499b9eae0f1
2023-08-31 09:51:41 +00:00
Artem Goncharov
010ef0fdf5 Fix ReleaseNotes build
for some reason (clearly another change somewhere in the Sphinx)
extlinks extension used in the releasenotes is failing when extlink
caption is not having substitues same as in the link itself.

>     title = caption % part
>             ~~~~~~~~^~~~~~
> TypeError: not all arguments converted during string formatting

Now the extension supports setting link capturion to None which works as
we need.

Change-Id: Ie1a61e9b3ee5d727d59525efe34aea696538e2b3
2023-08-31 10:45:01 +02:00
Stephen Finucane
e1a86368bd tests: Add image v1, v2 FakeClientMixin
This ensures we are speccing the image proxy API, as we did previously
for the network tests in Ic203964c7dede7dd80ae2d93b8fa1b7e6634a758.

Change-Id: I09539cbf35444272fb3aaabfecd5d731d1ecc4a8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
28b1267921 tests: Use consistent shortcut to fake image client
This removes the need for a number of base test case subclasses. We use
'image_client' rather than 'client' to avoid conflicts with clients for
other services.

Note that this highlights a minor bug with the 'volume create' command
when using the v1 block storage API and creating a volume from an image.
This is corrected, though it can be assumed that no one is actually
using this code path to say it hasn't been reported in the few years
since the bug was introduced in Ussuri.

Change-Id: I571be27f68bb7669dcb883f3b4799731b4a35479
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
a823228527 tests: Remove FakeImagev1Client, FakeImagev2Client
These no longer makes any sense since all image calls use the SDK proxy
API now.

Change-Id: I48e1d90f9c0dfa904fe37caa0de60d20945f1118
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
a39bde5c3a tests: Add network v2 FakeClientMixin
This ensures we are speccing the network proxy API. Future changes will
do the same for the image proxy API and eventually the compute proxy API
(once everything has been converted).

Change-Id: Ic203964c7dede7dd80ae2d93b8fa1b7e6634a758
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
b25742499a tests: Use consistent shortcut to fake network client
This removes the need for a number of base test case subclasses. We use
'network_client' rather than 'network' for consistency with other
services.

Change-Id: I61f7c43341acf19ae16d06db34e18970297fbb93
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
84dd5b0018 tests: Remove FakeNetworkV2Client
This no longer makes any sense since all network calls uses the SDK
proxy API now.

Change-Id: I0d57d7561b697270b24acd7b8ff62db73a83f49a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
601d9717c2 Remove project purge image commands
This was still using glanceclient-style calls despite us having switched
all image command to SDK way back in 5.2.0 (Ussuri). It therefore hasn't
worked since then, so we remove without deprecation.

Change-Id: Ibea79ea10bb272cba194debfe4bcbaeebf3875b7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
Stephen Finucane
b87b57551b Migrate 'extension list' to SDK
Migrate the block storage aspects of this command to SDK. This means the
'extension list' command, like the 'availability zone list' command
previously, is now using SDK entirely.

While we're here, we also make some fixes to the unit tests for the
network and compute aspects of the command. While we migrated the
network and compute extension commands from neutronclient and novaclient
respectively some time back, we never fully updated the tests. Do this
now.

Change-Id: I631a6a09dfd9d614b1dd7b322dcee8490a52cc43
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/885132
2023-08-28 13:51:34 +01:00
Stephen Finucane
44cf963d8e Migrate 'availability zone list' to SDK
This is a bit of an odd one. Because this is a "common" command, there
are three clients in play here: a compute client, a block storage
client, and a networking client. The networking aspects of this command
are already using SDK though the tests were mistakenly using a fake
version of the legacy neutron client (albeit one with the correct SDK
properties). We were still using legacy clients for the other two.
Correct the networking tests and migrate the compute and block storage
aspects of the command.

Change-Id: I292e1a712bca97e1270e8a97606e02a8a44c2954
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:51:33 +01:00
Zuul
78988d1786 Merge "Add --skip-resource option to project cleanup" 2023-08-26 12:44:20 +00:00
Zuul
fd4ed3be8e Merge "doc: Split image command documentation" 2023-08-25 12:08:21 +00:00
Zuul
8a070b852d Merge "docs: Add examples of common auth methods" 2023-08-25 12:08:19 +00:00
Zuul
d10185380b Merge "volume: Make better use of argparse" 2023-08-25 12:08:16 +00:00
Zuul
356bc2566e Merge "volume: Add 'volume type set --private/--public'" 2023-08-25 12:08:10 +00:00
Zuul
0183e7203c Merge "docs: Migrate volume commands to autoprogram-cliff" 2023-08-25 12:08:09 +00:00
Stephen Finucane
194f59bea3 tox: Bump min_version to 4.3.0
tox 4 is significantly faster when it comes to creating virtualenvs and
is far better and detecting e.g. changes to requirements. tox 4.3.0
includes many of the fixes for bugs introduced by tox 4.0 and is a good
default candidate.

Change-Id: I0bb7f75ed3e03965ecd4d260c1299b46dcbf4b1b
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2023-08-25 11:35:16 +01:00
Zuul
29f2444866 Merge "Add the flavor-id option to router create" 2023-08-22 16:05:20 +00:00
Jan Hartkopf
f29e3ccc37 Add --skip-resource option to project cleanup
Story: 2010370
Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/878646
Change-Id: I9eb10cfd8612fa9faf2a734a517078b12a9ca3c3
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
2023-08-21 11:47:24 +02:00
Miguel Lavalle
f8f174c458 Add the flavor-id option to router create
The --flavor-id option is added to the router create command. The
flavor_id attribute has been supported by the Neutron API for router
POST operations since a long time ago [0].

Partial-Bug: #2020823

[0] https://review.opendev.org/c/openstack/neutron-lib/+/494289

Change-Id: If88499533a92c09e67b0827d1d64156682a3bb8e
2023-08-17 10:03:28 -05:00
whoami-rajat
bfd6170b03 Migrate backup commands to SDK
This patch migrates the following backup commands to SDK:

* Create Backup
* Show Backup
* List Backup
* Restore Backup
* Delete Backup

Change-Id: Icfadd65b92f4cd343bc327d33e29767bc9b969f9
2023-08-17 11:04:46 +05:30
Mridula Joshi
18a6199ed0 Adding image stores info command
This is an equivalent for ``glance stores-info``.

Depends-on: https://review.opendev.org/c/openstack/openstacksdk/+/883493
Change-Id: I15d2c2c523ace1cfb32045328ecee8ce8beea63f
2023-08-10 07:34:19 +00:00
Zuul
7dc1276f40 Merge "Adding `image delete --store and image import info` commands" 2023-08-09 19:01:35 +00:00
Zuul
afdec1d2ca Merge "Add image metadef resource type command 'list'" 2023-08-09 19:01:33 +00:00
Mridula Joshi
b347347986 Adding `image delete --store and image import info` commands
Change-Id: Ia5fc44c6738f8ee3a0781d824c7f7fa458185e0c
2023-08-07 17:13:33 +00:00
Zuul
9846092b33 Merge "Neutron port hints" 2023-08-07 13:27:49 +00:00
Zuul
7ea78b6ef6 Merge "Migrate 'volume summary' command to SDK" 2023-07-24 12:29:14 +00:00
Tony Breeds
deab1a7ad8 Update the underlying python containers to "3.10-bookworm"
The existing 3.9 is based on debian buster and isn't getting security
updates ... or any updates really.  This change updates to a base
container that will get updates for a while.

I picked 3.10 rather than 3.11 as 3.10 is part of the bobcat[1]

[1] https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I606389a81ab189b1abf2c700acf5c5543a09165a
2023-07-18 20:24:53 +10:00
Stephen Finucane
c05be82de0 docs: Add examples of common auth methods
Took me a bit to figure out how to do token auth today. Document it.

Change-Id: I3edce59efd5ca5a6e31eef8c7cf3cf255234c82e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-10 13:50:34 +01:00
Stephen Finucane
9cd6204a5d doc: Split image command documentation
This document is growing a bit too big now.

Change-Id: Iadf7f28d2307d1598e378bd49a09e75e1235d779
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-06 17:35:56 +01:00
Antonia Gaete
52bf194741 Add image metadef resource type command 'list'
This patch will add ``image metadef resource type list`` using
SDK, output matches glance client output.

Change-Id: I29850abdbb06d5a4eaf8a9a60f565b46f4009f85
2023-07-06 17:27:21 +01:00
Zuul
46431ed203 Merge "Allow multiple --remove-tag in project set" 2023-07-05 11:07:48 +00:00
whoami-rajat
4dfbc5011e Migrate 'volume summary' command to SDK
This patch modifies the existing volume summary call from
cinderclient to SDK.

Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/884397
Change-Id: I364211a597b6ec155b154fa9d3c67239e750b5ad
2023-07-05 10:04:01 +00:00
Stephen Finucane
717837153b tests: Use a new project for quota tests
These mess with quotas on the main project, which can have knock-on
effects for other tests. Use a new project.

Change-Id: I687ec3a0985eab4d01c918dae73d2fbdc7ac25fa
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-06-09 14:35:58 +01:00
Jake Yip
b4ba04698b Allow multiple --remove-tag in project set
The help text for this arg says 'repeat option to delete multiple tags'.
Fix to reflect what docs says.

Also add missing test for this argument.

Change-Id: Ib1069ce7a441c1ff10d2dca05095eb6bf53e7fb6
2023-06-08 18:22:48 +10:00
Zuul
a0971501a9 Merge "tox: Disable E501" 2023-06-06 17:24:00 +00:00