summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .gitreview for stable/xenastable/xenaOpenStack Release Bot2021-09-101-0/+1
| | | | Change-Id: I2d90648b2945603722f6ea0a1dd4aa1b0dd0b3e4
* Merge "setup.cfg: Replace dashes with underscores"xena-em3.12.0Zuul2021-05-061-3/+3
|\
| * setup.cfg: Replace dashes with underscoresyangyawei2021-05-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: Ief2c7a217914dc5cacdffc6959ed0585fc6a1225
* | Merge "Use py3 as the default runtime for tox"Zuul2021-05-061-1/+1
|\ \ | |/ |/|
| * Use py3 as the default runtime for toxzhangboye2021-04-201-1/+1
| | | | | | | | | | | | | | Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Change-Id: I4a54455e7e8b1b4de2f9656d13f65ef090da68eb
* | Fix Typo in shell.pyjonasdlindner2021-04-291-1/+1
|/ | | | Change-Id: I2615e0d6b54d8cc020c24d1b5b4064e038f0934b
* Merge "Add Python3 xena unit tests"Zuul2021-03-261-1/+1
|\
| * Add Python3 xena unit testsOpenStack Release Bot2021-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ic272b2583f9e0ff5f1b542ce9596af9d3bf8edef
* | Update master for stable/wallabyOpenStack Release Bot2021-03-222-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: Idcc50c36c1fac81ed214bcbaf6a97307e3db7ee7
* Drop lower-constraints testingwallaby-em3.11.1Tim Burke2021-02-223-50/+2
| | | | | | | | | | | | 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 Change-Id: Ibf0c891782afe014cc453b713a94c187340d172e Depends-On: https://review.opendev.org/c/openstack/requirements/+/777025
* remove unicode from codezhangboye2021-01-032-9/+9
| | | | Change-Id: I791cc993aef832b30c08fdb5bdd7165a074d263f
* Merge "Make py39 voting"3.11.0Zuul2020-11-032-0/+5
|\
| * Make py39 votingTim Burke2020-10-192-0/+5
| | | | | | | | | | | | | | Also, add trove classifier for py39. Depends-On: https://review.opendev.org/#/c/758813/ Change-Id: I8d33b4dd6af990b09141acd52d36e44e9c871b3b
* | Have `delete --all` imply `--versions` for the CLITim Burke2020-10-162-5/+6
|/ | | | Change-Id: Id5a6d4cef3d4ed76c897a099a62a4ba3ed8f8dab
* Merge "Remove some py38 job cruft"Zuul2020-10-161-4/+0
|\
| * Remove some py38 job cruftTim Burke2020-10-151-4/+0
| | | | | | | | | | | | | | For a time, we wanted to flag it as being voting while it still wasn't voting for most of OpenStack. It's not needed now, though. Change-Id: Idccb731a0814335fc4d314eed5caa1f336212b22
* | Merge "Close connections created when calling module-level functions"Zuul2020-10-153-19/+75
|\ \ | |/ |/|
| * Close connections created when calling module-level functionsTim Burke2020-10-133-19/+75
| | | | | | | | | | | | | | | | Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com> Change-Id: Id62e63afc6f2ffa32eb8640787c78559481050f9 Related-Change: I200ad0cdc8b7999c3f5521b9a822122bd18714bf Related-Bug: #1873435 Closes-Bug: #1838775
* | Merge "tests: Make test_delete_container_versions less flakey"Zuul2020-10-141-1/+1
|\ \
| * | tests: Make test_delete_container_versions less flakeyTim Burke2020-09-211-1/+1
| |/ | | | | | | | | | | | | Hammering that test in a tight loop, I'd often see failures due to ordering issues. Make the delete single-threaded to avoid that. Change-Id: Iff45be32a7c3f258214cce78001fd33ad0a39b8c
* | Merge "Add cacert test config option"Zuul2020-09-234-2/+15
|\ \
| * | Add cacert test config optionTim Burke2020-04-134-2/+15
| | | | | | | | | | | | Change-Id: I3936f862e0fef176cad34f277598b136a40de1eb
* | | Merge "Add Python3 wallaby unit tests"Zuul2020-09-231-1/+1
|\ \ \
| * | | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I9a2e832e8165232c15731cfb97d401c84abf95c0
* | | | Merge "Update master for stable/victoria"Zuul2020-09-232-0/+7
|\ \ \ \ | |/ / /
| * | | Update master for stable/victoriaOpenStack Release Bot2020-09-212-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: Ic1dc50f7e9d0b38f04a114eb22de25466ba83e56 Sem-Ver: feature
* | | Merge "Include transaction ID in ClientException.__str__"Zuul2020-09-223-2/+30
|\ \ \
| * | | Include transaction ID in ClientException.__str__Tim Burke2020-09-093-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's fairly annoying getting a traceback in swift's probe tests then only having a URL and status code to go searching for in logs. Leave the shell.py output untouched, though, since we output the transaction ID on a new line anyway. Change-Id: Idb849848ec08b6c04812b088467c9a687c2a7e27
* | | | Merge "[goal] Migrate testing to ubuntu focal"Zuul2020-09-221-0/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-09-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I578abeb1552d73a2e5c5a24ba7afab975508ea0c
* | | | Merge "(Mostly) revert "Cleanup session on delete""Zuul2020-09-191-8/+10
|\ \ \ \
| * | | | (Mostly) revert "Cleanup session on delete"Tim Burke2020-09-081-8/+10
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1f26c5736949e1c3b57c024a315e33fc419f126e for py2. Apparently the existence of the __del__ method on Python 2 prevents us from cleaning up all file descriptors. Change-Id: Id6cff5dd7b9faf9c4240c0cb26b74d05ed37da5b Closes-Bug: #1873435 Related-Bug: #1838775
* | | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-09-184-13/+11
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Set openstackdocs_pdf_link to link to PDF file. Note that the link to the published document only works on docs.openstack.org where the PDF file is placed in the top-level html directory. The site-preview places the PDF in a pdf directory. Disable openstackdocs_auto_name to use 'project' variable as name. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I4418f86c3066353d43758118865baf66d1741c79
* | | Clean up some requirementsTim Burke2020-09-183-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | * 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/ 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>