We contentedly announce the release of: karbor 1.5.0: Application Data Protection as a Service for OpenStack This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/karbor Download the package from: https://tarballs.openstack.org/karbor/ Please report issues through: https://bugs.launchpad.net/karbor/+bugs For more details, please see below. 1.5.0 ^^^^^ Upgrade Notes * Python 2.7 support has been dropped. Last release of Karbor to support python 2.7 is OpenStack Train. The minimum version of Python now supported by Karbor is Python 3.6. Changes in karbor 1.4.0..1.5.0 ------------------------------ 7fc2b10 Remove unsupported calls 401c9bc [ussuri][goal] Drop python 2.7 support and testing 95c1a0e Fix unit test error 5cbb6dc Add unit tests for quota_class_update api d56877b Fix bug for running unittest with unittest module d1052b6 Fix unit test error e482ebe Add unit test for services api 66d007e Fix get min interval error 82f07c1 Use trustee project_name instead of fixed value 6093b5b Modify the time interval configurations in devstack 0970dae Add verifications api doc 28fabef Remove invalid exception catching e75309d Add services api doc 11ce26e Add some operation log 14c723a Update contributor doc 3ce0a84 Add unit test for triggers d8749ff Imported Translations from Zanata 2aac31c Update api ref of checkpoint reset 9863640 Add checkpoint reset state command in doc 63fff4d Added examples and verify options in install guide 07e7270 Remove invalid none value judgment f040c8a Add trgger start and end time value check 4355859 Optimize jsonschema validation when reset checkpoint state 813012d Switch to Ussuri jobs 09d5cc9 Add Wiki and admin guide links to readme fd07aca Update master for stable/train 798ba05 Do not use 'self' in classmethod 5557c50 Add unit test for quota api 7fd5d54 Remove the code which is unreachable d8187d7 Replace use of log.warn with log.warning a3fcd6d Fix unit tests failed 7dfb09b Correct spelling errors in test_quota_classes Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 3 +- README.rst | 2 + api-ref/source/v1/index.rst | 1 + api-ref/source/v1/karbor-v1-checkpoints.inc | 45 ++++- api-ref/source/v1/karbor-v1-services.inc | 115 +++++++++++++ api-ref/source/v1/karbor-v1-verifications.inc | 185 +++++++++++++++++++++ api-ref/source/v1/parameters.yaml | 140 ++++++++++++++++ .../samples/checkpoint-reset-state-response.json | 1 + .../source/v1/samples/services-list-response.json | 27 +++ .../source/v1/samples/services-update-request.json | 4 + .../v1/samples/services-update-response.json | 11 ++ .../v1/samples/verification-create-response.json | 12 ++ .../v1/samples/verifications-list-response.json | 25 +++ devstack/plugin.sh | 3 + devstack/settings | 3 + .../contributor/protection_plugins_guide.rst | 12 ++ karbor/api/schemas/checkpoints.py | 3 +- karbor/api/v1/providers.py | 12 +- karbor/api/v1/verifications.py | 13 +- karbor/common/karbor_keystone_plugin.py | 3 - .../timetrigger/timeformats/calendar_time.py | 26 +-- .../engine/triggers/timetrigger/utils.py | 9 + .../operations/protect_operation.py | 13 ++ .../operations/retention_operation.py | 36 ++++ karbor/services/protection/checkpoint.py | 2 +- karbor/services/protection/manager.py | 3 +- .../network/neutron_protection_plugin.py | 22 +-- .../volume/volume_glance_plugin.py | 8 +- .../unit/common/test_karbor_keystone_plugin.py | 16 ++ .../triggers/timetrigger/test_time_trigger.py | 16 +- .../timetrigger/test_time_trigger_multi_node.py | 6 +- .../timetrigger/timeformats/test_calendar_time.py | 10 ++ .../unit/plugins/test_pod_protectable_plugin.py | 6 +- .../unit/plugins/test_volume_protectable_plugin.py | 4 +- .../unit/protection/test_pod_protection_plugin.py | 3 +- playbooks/legacy/karbor-dsvm-fullstack/run.yaml | 2 +- .../notes/drop-py-2-7-84b4daca6e383f97.yaml | 6 + releasenotes/source/index.rst | 1 + .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 96 ++++++++++- releasenotes/source/train.rst | 6 + setup.cfg | 2 - test-requirements.txt | 3 +- tox.ini | 17 +- 60 files changed, 1151 insertions(+), 135 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index f2d4652..8a98731 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,2 +10 @@ python-subunit>=1.0.0 # Apache-2.0/BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD