Commit Graph

140 Commits

Author SHA1 Message Date
Ghanshyam Mann 4e6e8cc73f Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I5f399edc6c553c65581b02d043d29f2170ac41e3
2024-01-04 01:10:02 -08:00
wu.chunyang b739fe40ad Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I743d463c7cf559d089bf5343bba0bca8675f7a27
2023-06-21 17:03:17 +08: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
wu.chunyang 00a54650d5 Add python3.9 support
This ps adds py39 support and replaces dashes with underscores

Change-Id: I5245be419244c8bd93c7099b61ce0a382f7a5065
2022-04-28 22:14:03 +08:00
likui 5188cc77c5 add python37 setup.cfg
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
2021-01-12 09:28:03 +08:00
likui 7c89521ae4 remove py37
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
2020-12-26 12:50:39 +08:00
Lingxian Kong c04e299b1d Revert "Remove flavor API"
Story: 2008341
Task: 41242

This reverts commit 27cf71299e.

Change-Id: I036a0423263b1a0332415c6403647ae82c9e34c4
2020-11-13 20:53:10 +13:00
Lingxian Kong 28d7981eac Support updating datastore version
Change-Id: Ie6f22493d1722f41db5aa1a601a652e7eefa29c4
2020-10-09 01:09:38 +13:00
Lingxian Kong 09aff4df80 Support rebuild instance CLI
Change-Id: Ieae9216033d1c9ce0078554c7519bc891f50dc35
2020-08-06 21:47:40 +12:00
Lingxian Kong 40af556264 Support backup strategy
Change-Id: Ic8c20109b287f2f9220379cb249669d18b52893d
2020-07-16 23:03:53 +12:00
Zuul a05020128d Merge "Add py38 package metadata" 2020-06-23 12:05:46 +00:00
Lingxian Kong b86ff27e35 Support to create datastore version
Change-Id: Ibc7c191a3dbbe8d03cfbc9d41e30833b47ab429f
2020-06-11 00:13:10 +12:00
zhangboye 39b6a22f2c Add py38 package metadata
Change-Id: Ie080e6808b2857624111d604462bdc01ec48f693
2020-05-22 16:04:44 +08:00
Lingxian Kong b9d65b6249 Re-define replication commands
Change-Id: I440fda06a6a98f8d92ff67aeb05f76b4fc291069
2020-05-11 18:10:28 +12:00
Lingxian Kong 27cf71299e Remove flavor API
Change-Id: I5a35911b5658fdf6bc08844b31cc1325b749526a
2020-05-08 00:30:49 -06: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
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
Zuul cee4ed81d8 Merge "Support log tail/save for instance" 2019-12-16 03:19:01 +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
Corey Bryant 8e56d90af2 Add Python 3 Train unit tests
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

Also fix the CI failure due to:
https://docs.python.org/3/whatsnew/3.5.html#pep-479-change-stopiteration-handling-inside-generators

Change-Id: Ica582f99730c5019a1212d4f58d7d854ad2996fd
Story: #2005924
Task: #34254
2019-08-23 20:47:13 +12:00
Ghanshyam Mann 489321ad86 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Ib2b1297f75a245dbd2209f958a89a510bc62965c
2019-04-15 02:03:35 +00:00
Zuul f471ebeaa5 Merge "Add Python 3.6 classifier to setup.cfg" 2018-12-12 00:22:57 +00:00
sunjia a446475c16 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ic6ce8f7fad2375b37c0fae477ca43803ff907280
2018-12-03 22:05:50 -05:00
qingszhao 6b9efeba90 Add Python 3.6 classifier to setup.cfg
Change-Id: Id9bd181ef7d76f228484e0f610e31904eca52b8a
2018-11-30 07:38:57 +00:00
Zuul 3adf5fe392 Merge "Add promote-to-replica-source to OSC" 2018-07-18 06:21:52 +00:00
Zuul 048dd502fa Merge "Add execution-delete to OSC" 2018-07-18 05:52:02 +00:00
Zuul cb1d3672ab Merge "Add configuration-default to OSC" 2018-07-17 14:32:37 +00:00
wangyao cfa82f0478 Add configuration-default to OSC
This change adds database support to the python-openstackclient
project for the configuration-default command.

The trove command configuration-default is now:
    openstack database configuration default

Change-Id: I9403df629e893bb1c4d75566cffd3d49697a543d
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 16:51:34 +08:00
wangyao 42913d9248 Add detach-replica to OSC
This change adds database support to the python-openstackclient
project for the detach-replica command.

The trove command detach-replica is now:
    openstack database instance detach replica

Change-Id: Ia6034eccbd3490696270d44d00966c3da94b3999
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 16:36:02 +08:00
wangyao 83eb65cc84 Add execution-delete to OSC
This change adds database support to the python-openstackclient
project for the execution-delete command.

The trove command execution-delete is now:
    openstack database backup execution delete

Change-Id: I9934a047d48daed53567b59bb51a2eab4d6e37b5
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 16:20:58 +08:00
wangyao 3f705bd0c8 Add promote-to-replica-source to OSC
This change adds database support to the python-openstackclient
project for the promote-to-replica-source command.

The trove command promote-to-replica-source is now:
    openstack database instance promote to replica source

Change-Id: I0009b3e1074ddabaed6b02f5578f28cffc995b30
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 16:03:41 +08:00
Zuul 36e231b06f Merge "Add log-list to OSC" 2018-07-17 06:03:02 +00:00
Zuul 8a36ac25ad Merge "Add configuration-instances to OSC" 2018-07-17 03:41:52 +00:00
wangyao 09c686c483 Add log-list to OSC
This change adds database support to the python-openstackclient
project for the log-list command.

The trove command log-list is now:
    openstack database log list

Change-Id: If048a653df01244882a451e3fddf28a8faac59f6
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 09:24:52 +08:00
wangyao a199d90aa1 Add eject-replica-source to OSC
This change adds database support to the python-openstackclient
project for the eject-replica-source command.

The trove command eject-replica-source is now:
    openstack database instance eject replica source

Change-Id: I674e78e310b2953b28d0829cbe6fda62c00b6ea8
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-13 16:59:01 +08:00
wangyao 61e8de4e55 Add configuration-instances to OSC
This change adds database support to the python-openstackclient
project for the configuration-instances command.

The trove command configuration-instances is now:
    openstack database configuration instances

Change-Id: I4ad52cc8772534c95b708b49d018f4b2e35d6f86
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-12 15:56:06 +08:00
wangyao bca0410100 Add cluster-modules to OSC
This change adds database support to the python-openstackclient
project for the cluster-modules command.

The trove command cluster-modules is now:
    openstack database cluster modules

Change-Id: Ib16578de1520163e9b9bc6894a079e8f0fcef37b
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-06-20 12:25:06 +08:00
Nguyen Hai 3c70f8f69e Follow the new PTI for document build
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I078e2ed32da04303203d6c2a3e498f82b9a15939
2018-04-21 11:37:53 +00:00
Zhao Chao a2da920ef4 Add cluster-grow and cluster-shrink to OSC
This change adds database support to python-openstackclient
project for the cluster-grow and cluster-shrink commands.

The trove command cluster-grow is now:
    openstack database cluster grow
The trove command cluster-shrink is now:
    openstack database cluster shrink

Change-Id: I449e7f7d841ea266611ff79f8a41f6e730fced3c
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-02-13 20:11:23 +08:00
Zuul 0bc788e55c Merge "Fix log-enable high priority error" 2018-01-23 16:26:56 +00:00
caishan e30e8db7e7 Fix log-enable high priority error
1. Modify setup.cfg to make command openstack database log enable run
correctlly. class EnableDatabaseInstanceLog should be in database_instances,
not in database_limits. This is a HIGH priority error.

2. Originally, trove log-enable will return a log info when execute successfully.
This change makes OSC log_enable acts like the origin troveclient enable_log.

Change-Id: I68c5ef451c8e6c7fb189d6270bad002da7ffc9a6
2018-01-22 05:38:27 -08:00
Zhao Chao bf24669d60 Add 'update' command to OSC
This change adds database support to the python-openstackclient
project for the 'update' command.

The trove command update is now:
    openstack database instance update

Change-Id: I426c892540f82bc19b7b28d7845a2f6699c3f526
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-22 10:00:48 +08:00
caishan 38b870575f Add restart to OSC
This change adds database support to the python-openstackclient
project for the restart command

The trove command restart is now:
    openstack database instance restart

Change-Id: I24eeb001d27eae39be5c33650e9bc04287053c8c
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-01-21 06:44:56 -08:00
caishan 34dbc53ec2 Add log-enable to OSC
This change adds database support to the python-openstackclient
project for the log-enable command

The trove command log-enable is now:
    openstack database log enable

Change-Id: Ia5bb395264946f79673970336e4c1f23857bb77d
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-01-21 00:51:51 +00:00