1872 Commits

Author SHA1 Message Date
8dbb93ba0b Update master for stable/2026.1
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: I34d6e7577233dd1ea425c1ddf5aaf477c674d895
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
2026-03-03 08:59:33 +00:00
Brian Rosmaita
b917248874 Migrate setup configuration to pyproject.toml
Also bump the minimum pbr.

Change-Id: I228713f9444c956f6f6bf9eb4a5b7796e9f76e46
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
9.9.0
2026-02-26 08:38:51 -05:00
Brian Rosmaita
437551758e Fix pylint job
The old version of pylint we were using couldn't be installed because
of conflicting requirements versions, so update it to the most recent
pylint, 4.0.5, which supports python 3.14, since we will be supporting
it too.

Also update our lintstack scripts to use the modern name for do_exit,
namely, 'exit'.

Change-Id: I8d8bf8064aaea4e5de25634f0d86fb5e619b8503
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-25 17:05:46 -05:00
Brian Rosmaita
db819a6584 Add pyproject.toml file
Based on cinder change I7f7437d06b411726ede946dd58750c04bc0abd3c

Change-Id: Ic15385e36ecf92dc6dda6c5315be5ef0ec41455d
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-25 15:34:29 -05:00
Brian Rosmaita
4a193c8aa4 Update classifiers for Gazpacho
Gazpacho supports python 3.10 through 3.13 [0].

[0] https://governance.openstack.org/tc/reference/runtimes/2026.1.html

Change-Id: Id7db3e34dd9e8c7cac3cd0f1b111426ef9fb231d
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-25 15:32:56 -05:00
Brian Rosmaita
650b5c5b8e Update CI for Gazpacho
Add Python 3.13 functional tests, as per
https://governance.openstack.org/tc/reference/runtimes/2026.1.html

Given that our functional tests are devstack-based, the python 3.10
functional job is made non-voting because there is no supported
py3.10 platform for devstack following change I796eddac96313584f4a.

Change-Id: If75514f573ea16f7984919f4380ddd99f282a85a
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-24 15:20:10 -05:00
Takashi Kajinami
08b0a68a57 Remove unused Makefile for doc
We've not been using this for long since we introduced the tox targets
for doc lint and build.

Also remove .gitignore in the subdirectory to maintain ignored files
in a single place.

Change-Id: Ib1779deb1b7fecbaf04766cae506ae5a25dafec4
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2026-02-21 20:06:26 +09:00
b32c8e2f65 reno: Update master for unmaintained/2024.1
Update the 2024.1 release notes configuration to build from
unmaintained/2024.1.

Change-Id: I47b46a51807e308ad9fbeab8568bf8308fa8637d
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/change_reno_branch_to_unmaintained.sh
2025-10-31 11:37:11 +00:00
1d8c7becaf Update master for stable/2025.2
Add file to the reno documentation build to show release notes for
stable/2025.2.

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

Sem-Ver: feature
Change-Id: Ib3f514d8fc3a6ee1d553dae0aa2700a7a42bdfee
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
2025-09-05 12:20:07 +00:00
Zuul
e2d3049044 Merge "Remove Python 3.9 support" 9.8.0 2025-08-19 15:51:17 +00:00
Zuul
ba7defa998 Merge "Tests: Fix test_shell in py3.13" 2025-08-19 15:45:19 +00:00
Johannes Kulik
59824da6c7 Fix talking to older servers
Cinderclient currently supports version 3.71 as defined in
`cinderclient.api_versions.MAX_VERSION`. When doing version discovery,
we create a temporary client with the MAX_VERSION and use this client to
fetch the available versions. If the server doesn't support 3.71, yet,
the version discovery request fails with:

	cinderclient.exceptions.NotAcceptable: Version 3.71 is not supported by the API. Minimum is 3.0 and maximum is 3.70. (HTTP 406)
	ERROR: Version 3.71 is not supported by the API. Minimum is 3.0 and maximum is 3.70. (HTTP 406)

To fix this, we instead create a client with the MIN_VERSION, because
the versions endpoint should be available there already.

NOTE: Even when specifying an `--os-volume-api-version 3.70` the request
fails, because version discovery still takes place in case we have to
downgrade from the requested version.

Change-Id: I38b71cea6b92da7f451e2a02d55900fe18e9aab0
Signed-off-by: Johannes Kulik <johannes.kulik@sap.com>
Closes-Bug: #1998596
2025-07-14 08:52:39 +02:00
Takashi Kajinami
314bf711a2 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

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

Change-Id: I6767a26645b8139b60a0ca7960ca4ba391eecc09
2025-06-26 02:14:39 +00:00
Zuul
018955c310 Merge "Update python versions for testing" 2025-06-04 19:56:01 +00:00
Ivan Anfimov
0125495f92 Remove tags from README
The tags framework has been discontinued for a long time.

https://governance.openstack.org/tc/reference/tags/

https://governance.openstack.org/tc/resolutions/20211224-tags-framework-removal.html

Change-Id: I1ffae10bd034de52bb8287d8b0e3103e9e9835ae
2025-04-29 15:07:14 +00:00
Brian Rosmaita
7cda64277f Update python versions for testing
Given the 2025.2 (Flamingo) python runtimes [0], drop the
functional-py39 and functional-py311 jobs and add functional-py310
and functional-py312 jobs.  Also adjust tox.ini to drop the
functional-py39 definition and add functional-py313.

[0] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: Icd1a079cfab9367e52ac679fc86c3d055f4e9ee4
2025-04-28 16:27:50 -04:00
6efcf1c97d Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: I92b2b5a8f6d65db77296bfe93b59d3a6c3d62b1b
2025-03-18 09:04:54 +00:00
Zuul
63e3fa7b7d Merge "Fixed request logging" 9.7.0 2025-02-28 19:05:03 +00:00
Zuul
eb53ae8958 Merge "Use time.sleep() instead of eventlet.sleep()" 2025-02-27 22:55:29 +00:00
Takashi Kajinami
3a5a0411f2 Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

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

Change-Id: I848996fa6d35d0dddb3f9001977637ec4a752eda
2025-01-13 15:32:27 +00:00
Takashi Kajinami
a0aaed8c01 Adapt unit tests to keystoneauth 5.9.0
Since keystoneauth 5.9.0[1], LegacyJSONAdapter no longer inherits
the base Adapter class. Update mocks according to that change.

[1] 0383309ced09813d31150a1495b18073dc944308

Change-Id: I8495db0ca59681bb7888bb8b7b353f8b16aa42fc
2025-01-14 00:31:47 +09:00
Cyril Roelandt
9df662e053 Use time.sleep() instead of eventlet.sleep()
In a patched environment, time.sleep will be eventlet.sleep, so this
does not have any actual impact, but it removes one direct dependency on
eventlet.

Change-Id: I54112d061fa8118a9a6d91abf07442d8834425b5
2024-12-16 19:22:19 +00:00
Zuul
97bae52314 Merge "Fix outdated notes in requirement files" 2024-12-13 15:42:03 +00:00
Zuul
4282a8af89 Merge "reno: Update master for unmaintained/2023.1" 2024-12-12 15:45:20 +00:00
Takashi Kajinami
0549d6d9a1 Fix outdated notes in requirement files
Recent pip no longer requires specific order and can resolve
dependencies automatically.

Also add a note to explain that lower bounds of requirements are no
longer tested and these are now maintained on best-effort-basis.

Change-Id: I8287f379cb8d17254df8064af69279fe3361e7a4
2024-12-12 22:34:31 +09:00
Ghanshyam Mann
3120454508 Fix the pep8 error on Noble
pep8 job failing on Noble with below error.
Bumping the hacking version to 7.0.0 to fix it

     - AttributeError: 'EntryPoints' object has no attribute 'get'

Closes-Bug: #2088356

Change-Id: Ib168ad6842dfcf5cac8a85db973e339d2225b444
2024-12-11 19:59:26 -08:00
ed0b6a7701 reno: Update master for unmaintained/2023.1
Update the 2023.1 (Antelope) release notes configuration to build
from the 2023.1-eom tag, which is the last point at which the cinder
project team had responsibility for the branch.

Change-Id: I8f72a92b3dac4d47d2cb49e7364a4e0c517110cb
2024-11-15 22:16:54 +00:00
Eric Harney
e23f23c8d8 Tests: Fix test_shell in py3.13
Whitespace handling has changed in py3.13 around this
area -- rework the test to pass on 3.13 as well as
older versions by ignoring whitespace around the expected
description.

There may be a more complete fix in shell.py's
_find_actions but I didn't find it for now.

Closes-Bug: #2081633
Change-Id: I83a6a2bc311545811c5c32192494ee82b7903770
2024-09-23 11:44:45 -04:00
Zuul
7e30ba3d1c Merge "Update master for stable/2024.2" 2024-09-13 21:44:45 +00:00
Eric Harney
125e3d71b1 Fix pdf doc build
This gets pdf docs building again.

Change-Id: I11fee23dc75f57a344d5d3adcbbe6813a3ae7703
2024-09-13 12:00:09 -04:00
01f0aa115a Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: Ie9ddca92a35a895872ae0fdf0b20b75bbb59473f
2024-09-06 14:04:55 +00:00
Zuul
c4ecade6b1 Merge "Fix cinder command execution issue with a token" 9.6.0 2024-08-28 16:48:23 +00:00
Zuul
c95720029c Merge "Fix: transfer-delete command" 2024-08-28 16:15:06 +00:00
7a271a7d9f reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
zed-eom, which is the last point at which the cinder project
team had responsibility for the branch.

Change-Id: I10150deaaa60b0e5a5c240523d487a3fb15856de
2024-07-19 12:41:43 +00:00
Rajat Dhasmana
8e5fae8102 Fix: transfer-delete command
All of the cinder resource delete commands accept multiple
resources as arguments but in case of transfer-delete, we
can only pass one transfer.
This patch fixes the issue and allows multiple transfers to
be supplied to the transfer-delete command.

Closes-Bug: #2069992
Change-Id: Iaccb5dc72e8648b628ff6f1ca2594644b6682c8a
2024-06-23 22:06:03 +05:30
Tatsuya Hayashino
585c14fdf0 Fix cinder command execution issue with a token
This commit fixes the issue where the following error occurs when
executing cinder commands using a token:
> ERROR: argument --os-token: conflicting option string: --os-token

This issue arises because `os_token` is added to the parser in
`keystoneauth1.loading.register_auth_argparse_arguments()`, and then
`os_token` is set again by `parser.add_argument('--os-token')`.

Closes-Bug: #2061349
Change-Id: I8d1ff0f202bec24ed2982108b6cbba1b7981b356
2024-04-15 13:05:16 +09:00
Brian Rosmaita
a58bb92b28 Update CI for Dalmatian
Updates:
- added functional py312 testenv to tox.ini (not needed for unit
  tests)
- removed py38 classifier from setup.cfg, but did not change
  python_requires (currently it's >=3.8)
- run py311 func job in gate (was py310)

Change-Id: I661e397e597582404dcb33044844b7af7c64de5f
2024-04-10 17:33:52 -04:00
Zuul
4e71afe6ab Merge "Update master for stable/2024.1" 2024-03-15 15:03:59 +00:00
Zuul
bc5cd49287 Merge "reno: Update master for victoria Unmaintained status" 2024-03-12 18:34:42 +00:00
Zuul
76b4948bf2 Merge "reno: Update master for wallaby Unmaintained status" 2024-03-12 18:30:13 +00:00
c3131dbd86 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I7c0921f70283c5d1ddabdda01994980068e93a0b
2024-03-08 13:53:18 +00:00
6d0ffb5314 reno: Update master for xena Unmaintained status
The stable/xena branch has been deleted, so reno can't find its
release notes.  Use the xena-eom tag to indicate the end of the
Cinder project's maintenance of the Xena series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Ia0ecad37108abef7819518119950a279b8070a0c
2024-03-06 16:59:46 +00:00
274da7f65f reno: Update master for wallaby Unmaintained status
The stable/wallaby branch has been deleted, so reno can't find its
release notes.  Use the wallaby-eom tag to indicate the end of the
Cinder project's maintenance of the Wallaby series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: I7410621b98fd9b9b24c654cfe533f0542f8d6874
2024-03-06 16:55:22 +00:00
e199e6fd60 reno: Update master for victoria Unmaintained status
The stable/victoria branch has been deleted, so reno can't find its
release notes.  Use the victoria-eom tag to indicate the end of the
Cinder project's maintenance of the Victoria series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Iefd9121ad051b1dfd7ebd67dc5572f39252b2c1d
2024-03-06 16:48:49 +00:00
Zuul
e01516dbb0 Merge "Add os-extend_volume_completion volume action." 9.5.0 2024-02-27 18:41:48 +00:00
Konrad Gube
dd8ba12681 Add os-extend_volume_completion volume action.
Change-Id: Ifdeab1a8cd634bbe63c25fae17448c0789b297c9
2024-02-27 15:24:16 +00:00
Zuul
9720298611 Merge "Honour all_tenants in consistency group list" 2024-02-16 16:29:29 +00:00
9f8a5c767e reno: Update master for yoga Unmaintained status
The stable/yoga branch has been deleted, so reno can't find its
release notes.  Use the yoga-eom tag to indicate the end of the
Cinder project's maintenance of the Yoga series.

This strategy was agreed upon at today's cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Ib6af80aae60ba359bf02ceeb7626b1c0e0610142
2024-02-07 15:08:34 +00:00
Ghanshyam Mann
ba5e68e36b Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Iecc91f97afea4916a0ee619362b1a5eebd966f24
2024-01-08 20:20:59 -08:00
Zuul
c38dc223ac Merge "Mock sleep for client tests" 2023-12-15 17:24:00 +00:00