summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .gitreview for stable/victoriastable/victoriaOpenStack Release Bot2021-03-091-0/+1
| | | | Change-Id: I500e57d706b93f7a8d6a56e1e34fd1be6e2ee7db
* Fix multiple CI failuresTim Burke2021-03-017-59/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Clean up some requirements * Drop the py26 marker for futures; we don't support 2.6 anymore. * Split hacking version used based on python version. * Clean up sphinx split -- 2.0+ aren't available to install on py2, anyway. Depends-On: https://review.opendev.org/#/c/752340/ Depends-On: https://review.opendev.org/#/c/752736/ (cherry picked from commit 5cb906148709ccc74ca96463fd69a5cae2381edb) 2. Drop lower-constraints testing The OpenStack community consensus seems to be that it's not worth the hassle of fixing. *Maybe* we can revisit this if we ever drop py2 support? Reasonable spot to start on ML threads: http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019672.html (cherry picked from commit 06b36ae0e2ee6054162bfb1d9f3cdda39eacbad5) 3. [goal] Migrate testing to ubuntu focal As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). - Keep py2 functional job run on Bionic node Story: #2007865 Task: #40221 (cherry picked from commit 9f69908f759daafc99a162b136b24570a2822ee2) tests: Make test_delete_container_versions less flakey Hammering that test in a tight loop, I'd often see failures due to ordering issues. Make the delete single-threaded to avoid that. (cherry picked from commit c73792c2e55e4fbdff78a192a991e064a317e840) Change-Id: I5a6ba8e65c23ada7297f6684dcbdd886591d0af5
* Merge "Speed up test_lazy_connections"victoria-em3.10.1Zuul2020-09-031-1/+1
|\
| * Speed up test_lazy_connectionsTim Burke2020-07-281-1/+1
| | | | | | | | | | | | It doesn't really need to sleep a full second. Change-Id: Ida80f0c5a983edb33a93662badb6aa1a25f9a27c
* | Add max_backoff and starting_backoff for get_conn in swift serviceMeuh2020-07-281-2/+4
|/ | | | Change-Id: I45f5d3009e0e2015c7366384ee826113fc27c70b
* Clean up some warningsTim Burke2020-06-172-28/+31
| | | | Change-Id: Iae149533d04c7b173c4ef88fb775f5fe13c16466
* Merge "Application credential support follow-up"Zuul2020-06-173-17/+24
|\
| * Application credential support follow-upTim Burke2020-05-273-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the recent v3applicationcredentials patch, if you have your environment variables set up to work with python-openstackclient using swiftclient's v1password plugin, swiftclient won't work: $ env | egrep '^(OS|ST)_' ST_KEY=testing ST_USER=test:tester OS_AUTH_URL=http://saio/auth/v1.0 ST_AUTH=http://saio/auth/v1.0 OS_USERNAME=test:tester OS_AUTH_TYPE=v1password OS_PASSWORD=testing $ openstack object store account show +------------+----------------------------+ | Field | Value | +------------+----------------------------+ | Account | AUTH_test | | Bytes | 0 | | Containers | 11 | | Objects | 0 | +------------+----------------------------+ $ swift stat Only "v3applicationcredential" is supported for --os-auth-type We don't really want to allow (and mostly ignore) arbitrary OS_AUTH_TYPE values, though -- there are a whole bunch of plugins we don't remotely support. But it seems OK to allow any of the password plugins; while we won't actually use them (currently), we provide roughly equivalent functionality. Handful of other drive-bys: * Use a None sentinel to determine whether keystoneauth1 is installed instead of trying to catch a NameError. * Clarify error state when keystoneauth1 is not installed. * Fix a typo: "sses" -> "sess". Change-Id: Id7ea9c3ea8278ae86a04d057a472a8f8a87b8eae Related-Change: I9190e5e7e24b6a741970fa0d0ac792deccf73d25
* | Merge "Remove references to swift-specs and blueprints"3.10.0Zuul2020-06-031-5/+1
|\ \
| * | Remove references to swift-specs and blueprintsTim Burke2020-06-021-5/+1
| | | | | | | | | | | | | | | | | | Those have been dead for a long while. Change-Id: I21306a40479ad319c0ef48aa8bfb88f261011390
* | | Merge "Ussuri contrib docs community goal"Zuul2020-06-013-12/+28
|\ \ \ | |/ / |/| |
| * | Ussuri contrib docs community goalMatthew Oliver2020-05-133-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch standardizes the CONTRIBUTING.rst file and adds the required doc/source/contributor/contributing.rst The contibuting.txt points to the Swift contributor documentation. Change-Id: Ia6c105698dd0269479536645270d12a7c1061bc7
* | | Fix pygments stylefuzihao2020-05-202-2/+2
| |/ |/| | | | | | | | | | | | | New theme of docs (Victoria+) respects pygments_style. Since we starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Change-Id: Iad418798277b9d7a1190e42e9079080a3d2707f3
* | Merge "Support v3 application credentials auth."Zuul2020-05-135-14/+215
|\ \ | |/ |/|
| * Support v3 application credentials auth.Charles Hsu2020-04-165-14/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use keystoneauth1 application credential plugin and session to fetch a token and endpoint catalog url. $ swift --os-auth-url http://172.16.1.2:5000/v3 --auth-version 3\ --os-application-credential-id THE_ID \ --os-application-credential-secret THE_SECRET \ --os-auth-type v3applicationcredential auth Change-Id: I9190e5e7e24b6a741970fa0d0ac792deccf73d25 Closes-Bug: 1843901 Closes-Bug: 1856635
* | Merge "Fixed capability discovery endpoint hardcode"Zuul2020-04-252-2/+47
|\ \
| * | Fixed capability discovery endpoint hardcodeIvan Kolodyazhny2020-04-242-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fixes get_capabilities() method to process correctly endpoints like: 'https://<ip>:<port>/v1', 'https://<ip>:<port>/swift/v1'. Co-Authored-By: Daniel Cech <dcech@mirantis.com> Change-Id: Ib4037d0b49da1bce959947100629370805f510d5 Closes-bug: #1712358
* | | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: I7bc7d7a49de746cc8fdb58a44619bc5ce66b7003 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Add py38 classifierTim Burke2020-04-201-0/+1
| | | | | | | | Change-Id: I28bf4aeb12c1f3833d2c6501b49d184b54d36093
* | Update docs buildingAndreas Jaeger2020-04-194-18/+5
|/ | | | | | | | | | | Update docs building: * Switch to sphinx-build * Update requirements for Sphinx and openstackdocstheme for python 3 * Remove unneeded doc and translation sections from setup.cfg * Remove install_command, it's unneeded, the default is fine. Change-Id: Ib9fe754b700bceb164ba0f596cbcc6d864ccbadc
* Merge "Change recommended test config to use auth_uri"Zuul2020-04-141-8/+2
|\
| * Change recommended test config to use auth_uriTim Burke2020-04-131-8/+2
| | | | | | | | | | | | | | ...instead of piecing it together from auth_host, auth_port, auth_ssl, auth_prefix, and (sort of, sometimes) auth_version. Change-Id: Ie9c36e778d6a03f905899074d7136b767812ea11
* | Merge "Add Python3 victoria unit tests"Zuul2020-04-131-1/+1
|\ \ | |/ |/|
| * Add Python3 victoria unit testsOpenStack Release Bot2020-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I2fa8505451caadbe895cc3262c0bf1470795968b
* | Merge "Update master for stable/ussuri"Zuul2020-04-132-0/+7
|\ \ | |/
| * Update master for stable/ussuriOpenStack Release Bot2020-04-132-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: I75dc03a9d29c65b8d104b8d3a95915094cba6320 Sem-Ver: feature
* | Merge "Improve `list --versions` output"Zuul2020-04-132-9/+59
|\ \
| * | Improve `list --versions` outputTim Burke2020-04-102-9/+59
| |/ | | | | | | | | | | | | | | | | | | Have `--versions` imply `--long` and add a new column for version_id. Also, have version-aware listings show all versions as "null" on old Swifts that don't support object versioning (or when object versioning is not enabled). Change-Id: I0e009bce2471d1c140ac9b83700591cb355fee3f
* | Drop pypy testingAndreas Jaeger2020-04-122-2/+1
|/ | | | | | The pypy job is always failing, drop it. Change-Id: Ibc80d23846b364bfcd82043430ef71ad4b6e271b
* object versioning featuresClay Gerrard2020-04-086-59/+611
| | | | | | | | | | * add --versions to list * add --versions to delete * add --version-id to stat * add --version-id to delete * add --version-id to download Change-Id: I89802064921778fee7efe57c7d60c976cdde3a27
* Blacklist stestr 3.0.0Tim Burke2020-04-082-2/+2
| | | | | | | | | It claims py2 support, but that's a lie. Also, switch our tempest job to the py3 variant, now that glance (at least) is py3-only and tempest-full is broken. Change-Id: Ic30fe82ff72fe4d138ec4823d36f2a1cc56f1ac7
* Authors/changelog for 3.9.03.9.0Tim Burke2020-02-123-0/+26
| | | | Change-Id: I661503e0d6bb7934f7e7a28b094264a2ee73a419
* Merge "Make py38 job voting"Zuul2020-01-251-0/+4
|\
| * Make py38 job votingTim Burke2020-01-221-0/+4
| | | | | | | | | | Depends-On: https://review.opendev.org/#/c/693401/ Change-Id: Ifb4e466eda0c45b49c16e63b0c77023f65b039b8
* | packaging: Properly flag universal wheelTim Burke2020-01-201-1/+1
|/ | | | | | | I'm not sure we've *ever* done this properly; see the PyPA docs: https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels Change-Id: I8bb9e05f386076aa652b3955f0abf757d229afed
* Merge "Add test for bulk-delete-attempt-counter fix"Zuul2020-01-162-2/+22
|\
| * Add test for bulk-delete-attempt-counter fixTim Burke2019-11-152-2/+22
| | | | | | | | | | | | Change-Id: Ifdeefeb4a5a3fc6895bd6cda695684de02f8c602 Related-Change: If4af9141fe4f3436a4e9e0e2dfc24c6ec7292996 Related-Bug: #1852808
* | Merge "Cleanup session on delete"Zuul2019-12-091-0/+9
|\ \ | |/ |/|
| * Cleanup session on deleteAlex Schultz2019-12-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | If an external http connection was not passed into the client, we create one with a requests.Session() on our own. Once this is used, it may still have an open socket when the connection is closed. We need to handle the closing of the requests.Session() ourselves if we created one. If you do not close it, a ResourceWarning may be reported about the socket that is left open. Change-Id: I200ad0cdc8b7999c3f5521b9a822122bd18714bf Closes-Bug: #1838775
* | Fix printed object names on successful bulk-deleteSébastien Blaisot2019-11-151-4/+2
| | | | | | | | | | | | | | | | | | Replace the 1 always concatenated to printed object names for each successfully deleted object in bulk-delete with an optional [after x attempts] if x > 1 Change-Id: If4af9141fe4f3436a4e9e0e2dfc24c6ec7292996 Closes-Bug: 1852808
* | v1auth: support endpoint_data_for() apiTim Burke2019-11-066-63/+221
| | | | | | | | | | | | | | | | ...so we can be used with openstacksdk. Also, add a few functests that use openstacksdk. Change-Id: Ie6987f5de48914ec8932254cde79a973a0264877
* | Rename "tests" directory to be "test" like in the swift repoTim Burke2019-11-0617-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | In addition to being less confusing for devs, this lets us actually run tempauth tests in swiftclient dsvm jobs. The job definition (over in the swift repo) specifies test/sample.conf, which does not exist in this repo. As a result, those tests would skip with SKIPPING FUNCTIONAL TESTS DUE TO NO CONFIG Change-Id: I558dbf9a657d442e6e19468e543bbec855129eeb
* | Switch to Ussuri jobskangyufei2019-10-221-1/+1
| | | | | | | | Change-Id: Ibf51928ce55e4a96f0d674c693559b2bf9256f11
* | Update master for stable/trainOpenStack Release Bot2019-09-132-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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: I8831476757575fd54fc07154450c6d545fbe6463 Sem-Ver: feature
* | Authors/changelog for 3.8.1train-em3.8.1Tim Burke2019-09-123-0/+30
| | | | | | | | Change-Id: I4f178c30723e0da6ba1ec8c8c171137ada631496
* | PDF Documentation Build tox targetMatthew Oliver2019-09-042-1/+12
| | | | | | | | | | | | | | | | | | | | | | This patch adds a `pdf-docs` tox target that will build PDF versions of our docs. As per the Train community goal: https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html Story: 2006122 Task: 35514 Change-Id: I7e0ee410ac603774e4b03f859ac3aa20e5afc9b8
* | docs: Fix warning treated as errorTim Burke2019-09-041-0/+6
| | | | | | | | Change-Id: I669533334419e94ca925e859f2b0d5d2afe9f7f1
* | Merge "Add Python 3 Train unit tests"Zuul2019-08-153-5/+2
|\ \ | |/ |/|
| * Add Python 3 Train unit testsCorey Bryant2019-07-053-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I764b9765484e1d8217d56796d984f910aa5f9c5a Story: #2005924 Task: #34249
* | Merge "Fix up requests so we can send non-RFC-compliant headers on py3"Zuul2019-08-022-2/+21
|\ \