summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update master for stable/2023.1HEADmasterOpenStack Release Bot2023-02-242-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/2023.1. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/2023.1. Sem-Ver: feature Change-Id: Ia04030e034d813fac8fa7983ee7e6569569af88f
* Switch to 2023.1 Python3 unit tests and generic template name8.1.0OpenStack Release Bot2023-01-281-1/+1
| | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. Also, updating the template name to generic one. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ied8fb9f8decc7322cd3ecea3a9e875e98bf63bcd
* Fixing tests with tox 4.2.6wu.chunyang2023-01-281-1/+1
| | | | | | Remove basepython from testenv Change-Id: Idb2a9d9dcc5a73e15e5cbab165b2b629a8b26afe
* Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: Ia836b341b287f4f2ca5e9c9690e3c83b89015445
* Update python testing as per zed cycle testing runtime8.0.0Takashi Kajinami2022-07-173-4/+7
| | | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Add release notes and update the python classifier for the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com> Change-Id: I8a07a79a976c82518a6a94b6725719b9375df3a2
* Add python3.9 support7.3.0wu.chunyang2022-04-283-5/+9
| | | | | | This ps adds py39 support and replaces dashes with underscores Change-Id: I5245be419244c8bd93c7099b61ce0a382f7a5065
* Merge "Adapts new API response schema"Zuul2022-04-181-1/+7
|\
| * Adapts new API response schemaHirotaka Wakabayashi2022-04-081-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR makes troveclient to handle API response in new data schema. Trove API response data schema has changed by the commit[1]. Original problem is that python-troveclient can't parse a API response data in new data schema, resulting in an error. [1]: https://opendev.org/openstack/trove/commit/429c39890e3242c6a502037673943b38452c5811 Task: 44986 Story: 2009979 Change-Id: I2e446c68c3b82c11d13f6bace54273c109e02069
* | Uses the "network_id" param creating a clusterHirotaka Wakabayashi2022-04-091-0/+8
|/ | | | | | | | | | | | | | | | | | | | This PR replaces a request parameter name "net-id" with "network_id" creating a cluster. When creating a cluster, Clusters API internally calls Instaces API to create a instance. A request parameter name to create instances has changed[1] but python-troveclient still uses old parameter name when creating a cluster. The original problem is instance creation error when creating a instance that belongs to a cluster. Troves's Instances API has changed a parameter name from "net-id" to "network_id", but Clusters API and python-troveclient still uses the "net-id" parameter name. We need to fix it. [1]: https://opendev.org/openstack/trove/commit/535417240709694080255c064c9d84a5ab1d5372 Task: 44925 Story: 2009958 Change-Id: Ia3d1d6f451296eba34f2389da184c41a7ee9e84e
* Update master for stable/yogaOpenStack Release Bot2022-03-032-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: I8143ca09cafc3bf2ae68c856f426f2acaa699b38
* Add Python3 yoga unit tests7.2.0OpenStack Release Bot2021-09-101-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ibb1f0b5a7740d36fda7be637f21802e31623baba
* Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: I62ae17b426c970e0e595210da0d7656f70b37352
* Fix detach configuration from instancexena-em7.1.1Lingxian Kong2021-07-094-14/+24
| | | | Change-Id: Id0853dfb207bbd219755d46a9c0d6b4e897bfbeb
* Changed minversion in tox to 3.18.0likui2021-06-031-2/+2
| | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: Ia9928d8fe69a6a3c593ff9b5846ef3123e7dda26
* Get backup list by instance ID or name7.1.0Lingxian Kong2021-05-192-4/+43
| | | | Change-Id: I97d3fcfa2935f76cb8753734fec6dab8669e732a
* Support project name in quota CLILingxian Kong2021-04-295-22/+47
| | | | Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
* Respect endpoint, cacert and debug optionsDmitriy Rabotyagov2021-03-301-1/+4
| | | | | | | | When troveclient is used as a plugin for osc, it does not respect provided endpoint type or cert via osc. This might result in CERTIFICATE_VERIFY_FAILED error with osc, but not with trove shell. Change-Id: I3d34774e87fcf0fe8efb024d4e6ff80a4e3f49c6
* Add Python3 xena unit testsOpenStack Release Bot2021-03-181-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: I6b35118b83af7c18baaefaddfdd6cd51912ee0c7
* Update master for stable/wallabyOpenStack Release Bot2021-03-182-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: I01e922d4a71d97f4342e5ec6d498c69359e2f987
* Support to restore backup from data locationwallaby-em7.0.0Lingxian Kong2021-02-215-36/+130
| | | | | | | This feature needs to bump python-troveclient major version as it introduced an incompatible change for backup creation CLI. Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
* Bulk backup deleteLingxian Kong2021-02-193-20/+53
| | | | Change-Id: I100f8a302aeb498e3c0cebd8d36ef5fa437d444d
* Switch to collections.abc.*Joel Capitao2021-02-111-1/+1
| | | | | | | | | | | | | | | | | The abstract base classes previously defined in 'collections' were moved to 'collections.abc' in 3.3. The aliases will be removed in 3.10. Preempt this change now with a simple find-replace: $ ag -l 'collections.($TYPES)' | \ xargs sed -i 's/\(collections\)\.\($TYPES\)/\1.abc.\2/g' Where $TYPES is the list of moved ABCs from [1]. [1] https://docs.python.org/3/library/collections.abc.html Credit for this commit message to Stephen Finucane <stephenfin@redhat.com> Change-Id: I782f2449832398cf2cfb886f561635de3d8ac18d
* add python37 setup.cfglikui2021-01-121-0/+1
| | | | | | | | | Add python3.7 from setup.cfg, Wallaby's python supported runtimes are python 3.7[1]: [1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019648.html Change-Id: Ia1e29c25df0b3f47b9513b863a6f3866a7e802c3
* remove unicode from codelikui2021-01-033-34/+34
| | | | | Change-Id: Iadc87779bf513c9d04847b6cf8ecbc60b300d7db Implements: blueprint remove-unicode
* Fix a bug in print_list when using formatterszhangjunhui2020-12-291-1/+1
| | | | | | | | | If using formatters it will raise a error that local variable 'data' referenced before assignment story: 2008472 task: 41511 Change-Id: I6c66139b54a203bd8af01e8534e4d7ce7735e02d
* remove py37likui2020-12-261-1/+0
| | | | | | | | | Remove python3.7 from setup.cfg, since Wallaby's python supported runtimes are python 3.6 and python 3.8[1]: [1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html Change-Id: I26e748d804743ffc3f30cd05347fdd51dedb051c
* Fix getting server id for listing instancesLingxian Kong2020-12-232-3/+2
| | | | | | | | Just use 'server_id' from the instance response instead. Story: 2008464 Task: 41496 Change-Id: Ib84dbd5fbd752ab7c7607ccb874663b01bfb7388
* Merge "update cliff to 3.5.0 support python3.8"Zuul2020-12-211-1/+1
|\
| * update cliff to 3.5.0 support python3.8likui2020-12-161-1/+1
| | | | | | | | | | | | [1] https://pypi.org/project/cliff/3.5.0/ Change-Id: I1d6fb5ca4e0856a2766a69f7fce9b56d7253f754
* | Support operating_status for instanceLingxian Kong2020-12-093-13/+53
|/ | | | Change-Id: I3f5badc4d3bbb41de008d39e813d48f6aa670dc1
* Show server_id for listing instance by adminLingxian Kong2020-12-093-42/+128
| | | | | | | Story: 2008420 Task: 41361 Change-Id: I4dd67cf9aa9a13a520e69872d2752d22f19e63cf
* Disable openstack-lower-constraints-jobsLingxian Kong2020-12-091-1/+1
| | | | | | | | | | | The community doesn't have a final solution, the following are what we found: * virtualenv 20.2.2 released recently with pip bumped to 20.3.1 * pip before 20.3 is not actually satisfying the full dependency set and those issues were uncovered by the newer version. * Disable this job for now until the community has a decent solution Change-Id: Ib4a59ae54cc6d86234226ad8b78fbb0058cc02de
* Fix creating datastore version6.0.1Lingxian Kong2020-12-052-2/+2
| | | | | | | Story: 2008419 Task: 41360 Change-Id: Ib14e5d56f75b68f32ee3ec23a198f618e5141931
* Add support for python 3.8likui2020-12-031-2/+2
| | | | | | | | | | | | | Introduce support of python 3.8 [1] and move tox and jobs to py38. jsonschema 3.2.0 [2] support python 3.8 pyOpenSSL 19.1.0 [3] support python 3.8 [1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria [2] https://github.com/Julian/jsonschema/pull/627 [3] https://pypi.org/project/pyOpenSSL/19.1.0/ Change-Id: I8f561325780a95173501f42e10b6fce617bb17f4
* Merge "Revert "Fix resize flavor for instance""6.0.0Zuul2020-11-262-11/+15
|\
| * Revert "Fix resize flavor for instance"Lingxian Kong2020-11-262-11/+15
| | | | | | | | | | | | | | | | | | Story: 2008341 Task: 41244 This reverts commit f859692cc3f3f9ad72546d6b94f991a1558d78af. Change-Id: I690956927fb2558950362d1f223596db92e53d1e
* | Fix getting datastore versions against previous trove service releaseLingxian Kong2020-11-221-2/+3
| | | | | | | | Change-Id: I9d08740b9e220d24aad7f691491d5eea8a7e16f9
* | Support datastore version numberLingxian Kong2020-11-2111-55/+119
|/ | | | | | | | | | | | | | - Support "--datastore-version-number" for creating configuration - Support "--datastore-version-number" for creating instance - Support "--version-number" for creating datastore version - Support "--version-name" for updating datastore version - Support showing version number for datastore version, instance and configuration Story: 2008358 Task: 41264 Change-Id: Ie84b4506736a82a214b0416f7e451d565552f651
* Merge "Revert "Remove flavor API""Zuul2020-11-1315-13/+429
|\
| * Revert "Remove flavor API"Lingxian Kong2020-11-1315-13/+429
| | | | | | | | | | | | | | | | | | Story: 2008341 Task: 41242 This reverts commit 27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5. Change-Id: I036a0423263b1a0332415c6403647ae82c9e34c4
* | Do not make extra API call for listing instancesLingxian Kong2020-11-131-0/+3
|/ | | | | | | Story: 2008343 Task: 41245 Change-Id: Id6a0dc82430dc601d4102729b3ac010e137881c6
* Raise error if trying to create an instance without a flavorSam Morrison2020-11-111-0/+4
| | | | | | Change-Id: Iee4d92921d75f4d72405342fb5147a8bbfd269e5 Story: 2008340 Task: 41241
* Fix up wrong import of exception classSam Morrison2020-11-112-2/+2
| | | | | | Change-Id: Ib0fb05c82477c4f081a5608012c7d64b3857a223 Story: 2008342 Task: 41243
* Fix help message of datastore version upgradeLingxian Kong2020-11-051-1/+1
| | | | Change-Id: I9399c62815c20f8db129bf22647e7457eaae0f57
* Update TOX_CONSTRAINTS_FILElikui2020-10-301-3/+3
| | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: Ieb7bf715f4d28814afe6b791fde90ab114d9793a
* Remove the unused coding style moduleswu.chunyang2020-10-231-1/+0
| | | | | | | | Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt they are not needed during installation. Change-Id: Ib9998802371dafa84042e3c4c71c7fac019fe996
* Merge "bump py37 to py38 in tox.ini"Zuul2020-10-221-1/+1
|\
| * bump py37 to py38 in tox.iniwu.chunyang2020-09-191-1/+1
| | | | | | | | | | | | | | | | in 'victoria' cycle, we should test py38 by default. also remove unused env pypy Trivial change Change-Id: Iafaa88482bf5e972e1c0eb9766254d3973685368
* | Support getting instances for a projectLingxian Kong2020-10-223-3/+54
| | | | | | | | Change-Id: I1b3e8dce864740221722070a710f5a2f867d6c4b
* | Remove Babel requirementlikui2020-10-152-2/+0
| | | | | | | | | | | | | | Remove babel.cfg and the translation bits from setup.cfg, those are not needed anymore. Change-Id: Ia70ca75cde26c41aab142ca7a8fff977aedc0f42