summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove sixwangzihao2020-10-1325-70/+46
| | | | | | | | | | | | Remove all usages of six. Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
* | Use importlib to take place of imp modulelikui2020-10-092-7/+15
| | | | | | | | | | | | | | | | | | The imp module is deprecated[1] since version 3.4, use importlib to instead [1]: https://docs.python.org/3/library/imp.html Change-Id: Ifb44be3b0a0c35dd99d0230e9c371dfcb97f6fdd
* | image is not required for creating datastore versionLingxian Kong2020-10-091-1/+2
| | | | | | | | Change-Id: Ic4efe1fec9b26b90d1412ab13b94939961bb4be3
* | Support updating datastore versionLingxian Kong2020-10-095-18/+125
| | | | | | | | Change-Id: Ie6f22493d1722f41db5aa1a601a652e7eefa29c4
* | Remove install unnecessary packageszhangboye2020-09-231-1/+0
|/ | | | | | | The docs requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: I0b3b6acac49846a8c9e8efb4de31b0be22283180
* Merge "Show project Id for backup"Zuul2020-09-153-6/+17
|\
| * Show project Id for backupLingxian Kong2020-09-153-6/+17
| | | | | | | | Change-Id: I7314abe06ac750c202382ffcf37eaa08bfabcede
* | Support region in CLILingxian Kong2020-09-161-1/+2
|/ | | | Change-Id: Ia0580a599fc2385d54def4e18e0780209b82eff7
* Merge "Support getting backups of a specific project"Zuul2020-09-134-6/+38
|\
| * Support getting backups of a specific projectLingxian Kong2020-09-144-6/+38
| | | | | | | | Change-Id: Ia590fa6aae23b7323963181d79c9b0097fd2e4d1
* | Merge "Remove install unnecessary packages when run tox -edocs"Zuul2020-09-111-1/+0
|\ \
| * | Remove install unnecessary packages when run tox -edocslikui2020-09-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | the requirements.txt is unnecessary when run tox -e docs docs relative stuffs is in doc/requirements.txt, this ps to remove the requirements.txt from tox.ini Change-Id: I4da4d4e862be137e919e4e94a239cc5461b208da
* | | Merge "Fix replica detach command"Zuul2020-09-102-2/+2
|\ \ \ | |_|/ |/| |
| * | Fix replica detach commandLingxian Kong2020-09-102-2/+2
| |/ | | | | | | Change-Id: I1d6ae85f93c4b2e549ba528f33ead1076daa601d
* | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-091-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: I14c58cad4989c561a73e325d301d24ddd11de7d2
* | Update master for stable/victoriaOpenStack Release Bot2020-09-092-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: I51085ba520ff44a1941ee232368e50fbb07a4080 Sem-Ver: feature
* Add support of subnet-id and ip-address for creating instance5.1.0Lingxian Kong2020-08-232-9/+59
| | | | Change-Id: Id88e8100a397b1512c73a0b28f14ab8edb221689
* Fix key error when getting private instanceLingxian Kong2020-08-231-1/+1
| | | | Change-Id: Iff7baea5719f5b94d3e89048d17b37c0682dfdb8
* Merge "[goal] Migrate testing to ubuntu focal"Zuul2020-08-191-3/+3
|\
| * [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-08-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40225 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal> Change-Id: Iffd84ecdcb9a44137b0d51b258183c80ab6f030a
* | Fix create instanceLingxian Kong2020-08-122-1/+84
| | | | | | | | Change-Id: I750434c7ebc9038b0acf0e657768f57981817e1f
* | Support getting and updating instance access infoLingxian Kong2020-08-116-60/+109
| | | | | | | | | | | | | | * Added "public" and "allowed_cidrs" fields for getting instance. * Added '--is-public/--is-private' and '--allowed-cidr' for updating. Change-Id: Ifc919667e83573bd6c3b7aff205fe08e82667457
* | Support rebuild instance CLILingxian Kong2020-08-065-0/+58
|/ | | | Change-Id: Ieae9216033d1c9ce0078554c7519bc891f50dc35
* Flavor is optional for creating instance5.0.0Lingxian Kong2020-07-264-18/+23
| | | | | | | When creating replicas, flavor is not needed. Replica has the same server settings as the primary. Change-Id: Ia9b43a464763234b84ba163d8c773b21f53f4ee7
* Support backup strategyLingxian Kong2020-07-1610-8/+288
| | | | Change-Id: Ic8c20109b287f2f9220379cb249669d18b52893d
* Merge "Add py38 package metadata"Zuul2020-06-231-0/+1
|\
| * Add py38 package metadatazhangboye2020-05-221-0/+1
| | | | | | | | Change-Id: Ie080e6808b2857624111d604462bdc01ec48f693
* | Merge "Replace assertItemsEqual with assertCountEqual"Zuul2020-06-231-1/+1
|\ \
| * | Replace assertItemsEqual with assertCountEqualJoel Capitao2020-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - https://github.com/testing-cabal/testtools/issues/286 [4] - https://github.com/testing-cabal/testtools/pull/277 Change-Id: I444b5919817b6b5cde2165872293076aff6bf6e9
* | | Merge "Use unittest.mock instead of mock"Zuul2020-06-232-3/+3
|\ \ \
| * | | Use unittest.mock instead of mockHervé Beraud2020-06-112-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Change-Id: Ida35e5f79ee17ef8ac6ea2186019ddd4040ec882
* | | Use primary instead of master for listing instancesLingxian Kong2020-06-171-1/+1
| | | | | | | | | | | | Change-Id: I0e597a64fae27016fc06195e8f3531a26753966f
* | | Support to create datastore version4.1.0Lingxian Kong2020-06-114-0/+73
| | | | | | | | | | | | Change-Id: Ibc7c191a3dbbe8d03cfbc9d41e30833b47ab429f
* | | Remove unnecessary API call for listing instancesLingxian Kong2020-06-113-19/+25
|/ / | | | | | | Change-Id: Ibd6a1ce15abc12524f49f4091acb38d6841a8476
* | Support role for listing instances4.0.0Lingxian Kong2020-06-035-977/+26
| | | | | | | | Change-Id: Ia3e8d5d65bc134f3c7bc62ca9c170018be54660c
* | Stop to use the __future__ module.Hervé Beraud2020-06-027-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I73b532283079d346b75a925e2aee707c4de8fa9e
* | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-224-16/+12
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-152-5/+1
| | | | | | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: Icad3221eddcc5f4e3b17f7d11266d938d1ea6201
* Re-define replication commandsLingxian Kong2020-05-113-3/+27
| | | | Change-Id: I440fda06a6a98f8d92ff67aeb05f76b4fc291069
* Remove flavor APILingxian Kong2020-05-0820-3431/+34
| | | | Change-Id: I5a35911b5658fdf6bc08844b31cc1325b749526a
* Support to change parameters for the config groupLingxian Kong2020-05-084-0/+111
| | | | | | | | * openstack database configuration parameter set <config> <values> * openstack database configuration set <config> <values> --name NAME \ --description DESC Change-Id: I5a576309daa1751c76a4a0d33c53a8596c8665e8
* Merge "Add Python3 victoria unit tests"Zuul2020-05-071-1/+1
|\
| * Add Python3 victoria unit testsOpenStack Release Bot2020-04-111-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: Icb0e73273aa81e2e06d2cbf8e335f7feae18d72b
* | Merge "Update master for stable/ussuri"Zuul2020-05-072-0/+7
|\ \ | |/
| * Update master for stable/ussuriOpenStack Release Bot2020-04-112-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: I66662ce9177ebd2c88685cc8a3c8e93dcf86ca62 Sem-Ver: feature
* | Use unittest.mock instead of third party mockSean McGinnis2020-04-1834-34/+35
| | | | | | | | | | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: Ib83e626f51e6e01898bb7931c1660a1a548500f3 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Fix KeyError when deleting datastore versionLingxian Kong2020-04-171-1/+1
|/ | | | Change-Id: Id744d7da68b6586c4b37ada80472a69a8892dbb1
* Cleanup py27 supportAndreas Jaeger2020-04-044-15/+1
| | | | | | | | | | | | | 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
* Update hacking for Python33.3.1Andreas Jaeger2020-03-318-24/+25
| | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I5da442bb2f1e634e6b3fe37a6ea3820cea1db96f
* Fix resize flavor for instance3.3.0Lingxian Kong2020-01-212-26/+17
| | | | | | Change-Id: I9192857a690585cb3f365b15707dfa98e521e788 Story: #2007188 Task: #38315