Commit Graph

199 Commits

Author SHA1 Message Date
OpenStack Release Bot 77757daeb2 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: Id3246fb82b4850b44031c2d89c1b2ba904c3b4b5
2024-03-08 14:15:57 +00:00
OpenStack Release Bot dbe25fad30 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ic6976cd3fea8a68ae165c2fd14f7f7f1a774dabf
2024-02-19 09:19:09 +00:00
OpenStack Release Bot 61db51590c Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: Ib77debac4722852d2bf2610782938830750d6436
2023-09-08 14:50:53 +00:00
OpenStack Release Bot 81597a0a34 Update master for stable/2023.1
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
2023-02-24 15:01:14 +00:00
OpenStack Release Bot e8b2534e0d Update master for stable/zed
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
2022-09-09 15:15:24 +00:00
Takashi Kajinami ad6544e8a5 Update python testing as per zed cycle testing runtime
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
2022-07-17 00:54:51 +09:00
OpenStack Release Bot ef88f4d6c0 Update master for stable/yoga
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
2022-03-03 10:50:59 +00:00
OpenStack Release Bot 2475b3b8b0 Update master for stable/xena
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
2021-09-10 14:32:43 +00:00
Lingxian Kong e41d08d243 Support project name in quota CLI
Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
2021-04-29 14:17:48 +12:00
OpenStack Release Bot 23d3ed7db9 Update master for stable/wallaby
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
2021-03-18 10:45:55 +00:00
Lingxian Kong c7319d8fe8 Support to restore backup from data location
This feature needs to bump python-troveclient major version as it
introduced an incompatible change for backup creation CLI.

Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
2021-02-21 00:37:08 +13:00
Lingxian Kong 4c71809fad Bulk backup delete
Change-Id: I100f8a302aeb498e3c0cebd8d36ef5fa437d444d
2021-02-19 11:07:23 +13:00
likui 3bdae37673 remove unicode from code
Change-Id: Iadc87779bf513c9d04847b6cf8ecbc60b300d7db
Implements: blueprint remove-unicode
2021-01-03 13:03:32 +08:00
Lingxian Kong 23b5546f53 Support operating_status for instance
Change-Id: I3f5badc4d3bbb41de008d39e813d48f6aa670dc1
2020-12-09 11:10:28 +13:00
Lingxian Kong a57568397e Support datastore version number
- 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
2020-11-21 23:44:42 +00:00
Lingxian Kong 28d7981eac Support updating datastore version
Change-Id: Ie6f22493d1722f41db5aa1a601a652e7eefa29c4
2020-10-09 01:09:38 +13:00
Lingxian Kong e4d79c2cbc Support getting backups of a specific project
Change-Id: Ia590fa6aae23b7323963181d79c9b0097fd2e4d1
2020-09-14 00:07:12 +12:00
OpenStack Release Bot 868148805d Update master for stable/victoria
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: I51085ba520ff44a1941ee232368e50fbb07a4080
Sem-Ver: feature
2020-09-09 17:15:25 +00:00
Lingxian Kong 61b76377fd Support getting and updating instance access info
* Added "public" and "allowed_cidrs" fields for getting instance.
* Added '--is-public/--is-private' and '--allowed-cidr' for updating.

Change-Id: Ifc919667e83573bd6c3b7aff205fe08e82667457
2020-08-11 17:35:41 +12:00
Lingxian Kong 09aff4df80 Support rebuild instance CLI
Change-Id: Ieae9216033d1c9ce0078554c7519bc891f50dc35
2020-08-06 21:47:40 +12:00
Lingxian Kong c23da586e9 Flavor is optional for creating instance
When creating replicas, flavor is not needed. Replica has the same
server settings as the primary.

Change-Id: Ia9b43a464763234b84ba163d8c773b21f53f4ee7
2020-07-26 21:57:05 +12:00
Lingxian Kong 40af556264 Support backup strategy
Change-Id: Ic8c20109b287f2f9220379cb249669d18b52893d
2020-07-16 23:03:53 +12:00
Lingxian Kong b86ff27e35 Support to create datastore version
Change-Id: Ibc7c191a3dbbe8d03cfbc9d41e30833b47ab429f
2020-06-11 00:13:10 +12:00
Lingxian Kong 99126428ce Support role for listing instances
Change-Id: Ia3e8d5d65bc134f3c7bc62ca9c170018be54660c
2020-06-03 15:23:55 +12:00
Andreas Jaeger 0ce00bb569 Switch to newer openstackdocstheme and reno versions
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_auto_name to use 'project' as name.

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.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ib5706db978edfdddb88230ee81a563c7976f238a
2020-05-22 17:20:01 +00:00
Lingxian Kong b9d65b6249 Re-define replication commands
Change-Id: I440fda06a6a98f8d92ff67aeb05f76b4fc291069
2020-05-11 18:10:28 +12:00
Lingxian Kong 4b47eb6f7f Support to change parameters for the config group
* openstack database configuration parameter set <config> <values>
* openstack database configuration set <config> <values> --name NAME \
  --description DESC

Change-Id: I5a576309daa1751c76a4a0d33c53a8596c8665e8
2020-05-08 12:15:42 +12:00
OpenStack Release Bot a8f0d70156 Update master for stable/ussuri
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: I66662ce9177ebd2c88685cc8a3c8e93dcf86ca62
Sem-Ver: feature
2020-04-11 18:49:36 +00:00
Andreas Jaeger 4757668582 Cleanup py27 support
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 section from setup.cfg: Wheel is not needed for python
  3 only repo
- Remove html_last_updated_fmt from source/conf.py, this is not
  needed anymore.

Change-Id: If9708106263493396693771e9bd5265e26de460c
2020-04-04 11:21:19 +02:00
Lingxian Kong 1a4823dcb4 Support to delete datastore
Change-Id: Id0fe73eef95bb57ecee706b9eb9b7aae53236e3b
2020-01-12 23:40:33 +13:00
Lingxian Kong c4b1e91cc7 Support to delete datastore version
usage: openstack datastore version delete <datastore_version_id>

Change-Id: I4b781e68b81a3888d15d002fcf488a1f765c9f6a
2020-01-07 16:39:59 +13:00
Lingxian Kong 68e3ae83c1 Support to reboot instance
openstack database instance reboot <instance>

Change-Id: Id5ac985399797356165eaac68dd05bc46ee0124d
2020-01-04 18:07:35 +13:00
Lingxian Kong a0324f4109 Support to force delete instance
Change-Id: I20802f199ef943244f27a842743434e1c84c79e5
2020-01-04 00:22:51 +13:00
Zuul cee4ed81d8 Merge "Support log tail/save for instance" 2019-12-16 03:19:01 +00:00
Zuul 1090c94ae4 Merge "Update master for stable/train" 2019-12-16 03:02:49 +00:00
Zuul 48ce692617 Merge "Drop python 2.7 support and testing" 2019-12-16 03:02:47 +00:00
Lingxian Kong adde0d0bed Support log tail/save for instance
Support to show log content and save instance log files:

  openstack database log tail [--lines LINES] <instance> <log_name>
  openstack database log save [--file FILE] <instance> <log_name>

Change-Id: I2a4eecca663f9126f770fae4c4be28b3667f91c4
2019-12-16 15:21:25 +13:00
Lingxian Kong f5a57732a9 Support log actions in osc plugin
- openstack database log show <instance_id> <log_name>
- openstack database log set <instance_id> <log_name>
  [OPTIONS]

Change-Id: I86f414a53e6f6416f96e0040635bb010aa49cf41
2019-12-16 13:41:30 +13:00
Ghanshyam Mann 1680ef7af7 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-troveclient is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I425cb0d2f1487819fde9ebae46fe3570b72cbe88
2019-12-13 23:49:33 +00:00
OpenStack Release Bot 4da608ecd3 Update master for stable/train
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: I1ce51ea180be57b40faf084b25e0e214b0ce487a
Sem-Ver: feature
2019-09-20 17:43:50 +00:00
Lingxian Kong 960843de81 Release note for creating public instance
Change-Id: Ib21e950650237f8df8f8ed7860b5ba43f60f8491
Story: 2006500
Task: 36470
2019-09-11 21:42:50 +12:00
Lingxian Kong d0412beca7 Release note for backup filtering
Change-Id: I6d79bd4e668ba48114467859a7debc2e0eef1990
Story: #2006433
Task: #36347
2019-08-25 23:59:45 +12:00
Zuul 8d0bd0b6d1 Merge "Support to batch delete database instances" 2019-06-06 02:14:29 +00:00
Lingxian Kong 16d1dedb54 Support to batch delete database instances
Allow users to delete database instances in batch, usage:

usage: openstack database instance delete [-h] instance [instance ...]

Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
2019-06-06 13:38:35 +12:00
Lingxian Kong be04075d2e Add release note for --all-projects support
Change-Id: I3a1fd52759f22502fa9617f3dae017a0e132ec6a
2019-06-05 22:43:32 +00:00
Bartosz Zurkowski d2220578ff Add detailed list for instances
Currently, listing instances only allows to get basic information about
entities. To get the details, one need to query instance "show" endpoint
for each instance separately. This is inefficient and exposes API to a
heavier load.

There are use cases in which we want to obtain detailed information
about all instances. In particular, in services integrating with Trove.
For example, Vitrage project requires this information to build vertices
and edges in the resource graph for RCA analysis.

This change extends Trove client by optional parameter allowing user  to
specify whether API should include more instance details in the
response.

Change-Id: Iecea2f711a3e23fd63167beb6cab4cecc63bcabe
Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
2018-10-12 15:28:37 +02:00
Yotaro Konishi 84b1b0ae62 Fix wrong keyword arguments
Currently 'openstack database flavor list' command fails when using
'--datastore-type' and '--datastore-version-id' options. This change
fixes the issue by correcting keyword arguments.

This change also adds a test case of listing flavors with the optional
arguments.

Change-Id: I37be4911d4dda1529e2550344a912e0aa3c50558
Closes-Bug: #1794663
2018-10-02 16:49:06 +09:00
Zuul 80ecbbc337 Merge "Update reno for stable/rocky" 2018-08-10 06:22:57 +00:00
OpenStack Release Bot 106f2abe95 Update reno for stable/rocky
Change-Id: Ic360311c1c6897e60c9d0619b49fc4fc093b23aa
2018-08-08 09:36:17 +00:00
Marcin Piwowarczyk 9e737a2cf8 Support configuration groups for clusters
Handles API part implemented in change:
I7c0a22c6a0287128d0c37e100589c78173fd9c1a

So far passing configuration group was possible only for single instance
deployment.

As the trove api now already supports configuration attach and detach
for clusters, we are able to handle it in client.

Configuration will be applied to each cluster instance.

Partially implements: blueprint cluster-configuration-groups
Change-Id: Ic0840c995cbc34203c76494d7ba522f3e17141a7
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
2018-08-07 08:25:39 +02:00