latest master merge#4
Open
deepanshusagar wants to merge 1317 commits into
Open
Conversation
These arguments were deprecated in the kilo release in favor of a combined --sort argument. This drops support for the deprecated arguments. Change-Id: If8f8ac44cc81f553009a15ca67257e86cb925b6f Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: Ibe8494e386365c15cb8473c6dbf992b1f72888a8 Sem-Ver: feature
On my environment, the cinderclient CLI reports: /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.6) or chardet (2.2.1) doesn't match a supported version! When running any command. This is fairly irritating to have pop up in the context of cinder bash-completion calls, i.e., when you hit tab after "cinder" at the shell. Just hide errors there rather than pollute the screen with them. Change-Id: I40019dcc845015de8cfe8165656829cdaa446666
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I1ae708f0753249226ceb47610a1a4d0b558c1d0e
This tests that the expected subcommands register in the shell client, by looking at the output that would show up in "cinder help". The purpose of this is to help prevent us from accidentally deleting some commands when refactoring shell code. TODO: cover commands post-3.0 Change-Id: Ifcbc08ae9184fa33049b18f8ad7ef5d92003a7b8
When we use `--poll` parameter with cinder create command, it waits for the volume to become available but doesn't update the data displayed to the user. Due to this, there are inconsistency between several parameters in the output after 'poll' and 'cinder show' command. Eg: cinder create 1 --image <image-id> --poll shows 'bootable' flag as false whereas, cinder show <vol-id> shows 'bootable' as true Change-Id: I1502e88f1cd84d225b75c07313e4eb252cc2d645 Closes-Bug: #1855224
In revert_to_snapshot method, snapshot param must be a object and also has 'id' attribute, so before use the method, we have to use snapshot.get method to get snapshot information. But revert_to_snaoshot only use id of snapshot, we can use snapshot instead of snapshot.id. Change-Id: Ifbdbae3ee66d72f9d34cf4a8fdf2bde388b2b6f0
We've kept hacking capped for a long time now. This raises the hacking package version to the latest release and fixes the issues that it found. Change-Id: I69e41a340c815090f25677607e971a8e75791f6d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Also adds support for py3.6 and py3.7 check and gate jobs. Co-authored-by: xuanyandong <xuanyandong@inspur.com> Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Closes-bug: #1853372 Change-Id: Ia978b692ade23ee6482957f41b17cb879c96fea7
Currently ``id`` and ``volume_id`` filters are working correctly for transfer-list command. support for filtering by ``name`` is handled in patch provided in Depends-On. Since filtering by all parameters is supported by API, we can happily add the filters option on the client for volume transfers. Also adds functional test for transfers. Related-Bug: #1860100 Depends-On: https://review.opendev.org/#/c/703658/ Change-Id: I2fd3a6a7b9add65a9a21388df44efb6747065a74
This patch standardizes the CONTRIBUTING.rst file and adds doc/source/contributor/contributing.rst Change-Id: I892e49f96573b77b46bd8847a5d2ac8254e8e5e1
This needs to go to "python-cinderclient" to work instead of "cinderclient". Add a "doc" tag to these bugs as well. Change-Id: I45ae03e9c071dd9b159b1c0183b53db4dd837453
The os_endpoint should be passed to the keystone session as the endpoint_override argument. This is particularly imprtant for talking to Rackspace, who seem to have an odd situation where the endpoint is V2 compatible [1], but the API is still at /v1/ [2] (i think?). To use the RAX API you need to find your account number, then something like: OS_USERNAME=xyz OS_PASSWORD=abc OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/ OS_VOLUME_API_VERSION=2 CINDER_ENDPOINT=https://dfw.blockstorage.api.rackspacecloud.com/v1/<account#> cinder volume list Should work Honestly I'm not 100% what's up with the unit test. I think endpoint override was not being processed previously, and now it is so it drops the "admin"? Story: #2007459 Task: #39138 [1] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/cbsv1-methods-vs-cinderv2-methods/ [2] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/service-access/ Change-Id: I6b9a1f088c84676ddf9894cf9524d3239f3cf3a9
This was removed with I3b951cc4eb3adff23f3d2cbe674971816261ef56; cleanup old references. Change-Id: I71e6da99dff04d86b9dd67a754764b1e742d366a
The --bypass-url argument was removed with I3b951cc4eb3adff23f3d2cbe674971816261ef56 so this name does not make sense now. Replace with os_endpoint. Change-Id: Ifa889cc2e885e9c621c8494995b2020195b696ca
This isn't autogenerated ... it would be good if it was, but it isn't. Change-Id: Iaf8b2375051e2dbd8cf6fd653fac4cdc60b4e7ea
Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove old sections from setup.cfg: Wheel is not needed for python 3 only repo Change-Id: I92d21453d610ba7f90ae9b150e6a245ce0e709e6
Change I1f43c37c2266e43146637beadc027ccf6dec017e adds time-comparison filtering to the volume list calls (summary and detail) in the Block Storage API microversion 3.60. The current cinderclient filter support will pass these filters correctly, so the only change needed on the client side is to bump the MAX_VERSION so that the client can make calls to mv 3.60. Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Change-Id: Ib4b7cbc7e527c0524336e139e127f19accfb7568 Partially-Implements: bp support-to-query-cinder-resources-filter-by-time-comparison-operators
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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>
Based on cinder change I7f7437d06b411726ede946dd58750c04bc0abd3c Change-Id: Ic15385e36ecf92dc6dda6c5315be5ef0ec41455d Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
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>
Also bump the minimum pbr. Change-Id: I228713f9444c956f6f6bf9eb4a5b7796e9f76e46 Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.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: 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
This has become a low-traffic repository, and during gazpacho development the gates had broken but we didn't notice until people were trying to merge changes just before the client freeze. So add periodic weekly jobs so we will get some advance notice when a job has broken. Change-Id: Ie74e41b060b66a74b21778c20e8766c018303968 Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
- remove Python 3.10 classifier - update requires-python to 3.11 - replace tox functional-py310 testenv with py314 - replace functional-py310 job with a voting functional-py311 job - update the periodic-weekly jobs to reflect [0] [0] https://governance.openstack.org/tc/reference/runtimes/2026.2.html Change-Id: I530c6d1bf12fffff04a63ddee894333955968343 Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.