[karbor] karbor 0.5.0 (pike)
We contentedly announce the release of: karbor 0.5.0: Application Data Protection as a Service for OpenStack This release is part of the pike stable release series. The source is available from: https://git.openstack.org/cgit/openstack/karbor Download the package from: https://tarballs.openstack.org/karbor/ Please report issues through launchpad: https://bugs.launchpad.net/karbor For more details, please see below. Changes in karbor 0.4.0..0.5.0 ------------------------------ 06a06e7 Convert DOS newlines to Unix newlines 4df1160 Fixes the wrong resources status after restore was finished 705dfa9 Fix port restore in neutron protection plugin 283586f Set OperationLog operation_type to be a string 3a534f0 Fix neutron protection plugin exceptions 926564b Sql: change Restore parameters types to text f45d272 docs: add protection plugins developer guide cb4c3ec Add Protectable Plugins Development Guide doc to Karbor 3f062aa Add the extra_info parameter when checkpoint being created manually d5e2023 Support swift auth domain name 8254eaf Fix log info error c76eb10 Ignore plan parameters for unloaded plugins 30972d9 Imported Translations from Zanata 84a37f8 Updated from global requirements 70ee912 Add api definition doc for operation log RESTful API e4fc4e4 Update the configuration options in the karbor.conf.sample 9947cb4 Remove all codes about Heat 0d6867d Updated from global requirements 6cef7d5 Update the exception class of the plugins 702fb89 Add spec for operation log RESTful API c739815 Add usage for other providers in devstack dir e6103c6 Add extra_info when creating checkpoint in scheduled operation f4c8f9e Remove 'HeatTemplate' 18c07ba Remove install-guide env which is no longer effective 355ad02 Fix a method name typo of nova protection plugin a0cb9eb Add troveclient to test-requirements 04a43d4 Install some providers on devstack only 3af8c8c Updated from global requirements 9db4aac Add Bank Plugins Development Guide doc to Karbor 9193337 Add operation_log API for karbor a7b2eb6 Docs: Arrange Admin Guide a78fc9d Docs: Arrange Contributor Guide aa1ddce Add deletion of the failed image 0e56552 Fix glance image restore error 525457d Docs: Arrange Configuration Guide 516becf Docs: Arrange Install Guide 0324a8b Docs: enable warning-is-error, fix errors dfb5c45 FS Bank: raise correct exceptions 9347d41 FS Bank: change umask to 022 f5ff79c Refactor network restore function 1915411 Add trove database instance protection plugin for karbor b7a94c8 Add trove database instance protectable plugin for karbor 498a127 Update the data module of operation_log Diffstat (except docs and test files) ------------------------------------- .gitignore | 2 +- api-ref/source/v1/index.rst | 1 + api-ref/source/v1/karbor-v1-operation-logs.inc | 136 +++++ api-ref/source/v1/parameters.yaml | 90 ++++ .../v1/samples/operation-log-show-response.json | 16 + .../v1/samples/operation-logs-list-response.json | 48 ++ devstack/devstackgaterc | 1 - devstack/local.conf.sample | 3 - devstack/plugin.sh | 1 + devstack/providers.d/eisoo.conf | 24 + devstack/providers.d/openstack-fs-bank.conf | 14 + .../openstack-infra-volume-snapshot.conf | 20 + devstack/providers.d/openstack-s3-bank.conf | 23 + .../contributor/protectable_plugins_guide.rst | 79 +++ .../contributor/protection_plugins_guide.rst | 262 +++++++++ .../protection-service/protection-service.rst | 16 +- .../protection-service/restore-design-spec.rst | 16 +- etc/oslo-config-generator/karbor.conf | 2 - etc/policy.json | 5 +- etc/providers.d/eisoo.conf | 24 - etc/providers.d/openstack-fs-bank.conf | 14 - .../openstack-infra-volume-snapshot.conf | 20 - etc/providers.d/openstack-infra.conf | 1 + etc/providers.d/openstack-s3-bank.conf | 21 - install-guide/source/common_configure.rst | 74 --- install-guide/source/common_prerequisites.rst | 131 ----- install-guide/source/conf.py | 301 ----------- install-guide/source/get_started.rst | 10 - install-guide/source/index.rst | 20 - install-guide/source/install-source.rst | 57 -- install-guide/source/install-ubuntu.rst | 31 -- install-guide/source/install.rst | 25 - install-guide/source/launch-instance.rst | 188 ------- install-guide/source/next-steps.rst | 12 - install-guide/source/verify.rst | 35 -- karbor/api/openstack/wsgi.py | 3 +- karbor/api/v1/operation_logs.py | 243 +++++++++ karbor/api/v1/plans.py | 8 +- karbor/api/v1/providers.py | 4 + karbor/api/v1/restores.py | 2 - karbor/api/v1/router.py | 6 + karbor/api/versions.py | 4 +- karbor/common/constants.py | 16 +- karbor/common/opts.py | 18 +- karbor/context.py | 2 +- .../migrate_repo/versions/001_karbor_init.py | 13 +- karbor/db/sqlalchemy/models.py | 11 +- karbor/exception.py | 24 +- karbor/objects/operation_log.py | 17 +- .../engine/executors/green_thread_executor.py | 2 + .../executors/scheduled_operation_executor.py | 2 + .../timetrigger/timeformats/calendar_time.py | 12 +- .../engine/triggers/trigger_manager.py | 4 +- .../services/operationengine/operation_manager.py | 4 +- .../operations/protect_operation.py | 12 +- .../bank_plugins/file_system_bank_plugin.py | 13 +- .../protection/bank_plugins/s3_bank_plugin.py | 42 +- .../protection/bank_plugins/swift_bank_plugin.py | 10 +- karbor/services/protection/clients/heat.py | 113 ---- karbor/services/protection/clients/s3.py | 2 +- karbor/services/protection/clients/swift.py | 12 +- karbor/services/protection/clients/trove.py | 76 +++ karbor/services/protection/flows/delete.py | 31 +- karbor/services/protection/flows/protect.py | 29 +- karbor/services/protection/flows/restore.py | 147 +----- karbor/services/protection/flows/utils.py | 97 ++++ karbor/services/protection/flows/workflow.py | 10 +- karbor/services/protection/manager.py | 3 +- .../protection/protectable_plugins/database.py | 90 ++++ karbor/services/protection/protection_plugin.py | 4 - .../protection_plugins/database/__init__.py | 0 .../database/database_backup_plugin.py | 305 +++++++++++ .../database/database_backup_plugin_schemas.py | 51 ++ .../image/image_protection_plugin.py | 38 +- .../network/neutron_protection_plugin.py | 586 ++++++++++++--------- .../server/nova_protection_plugin.py | 33 +- .../volume/cinder_protection_plugin.py | 19 +- .../volume/volume_snapshot_plugin.py | 1 + karbor/services/protection/resource_flow.py | 5 +- karbor/services/protection/restore_heat.py | 92 ---- .../operations/test_protect_operation.py | 2 +- .../plugins/test_database_protectable_plugin.py | 108 ++++ .../protection/test_cinder_protection_plugin.py | 13 +- .../protection/test_database_protection_plugin.py | 200 +++++++ .../protection/test_neutron_protection_plugin.py | 2 +- karbor/utils.py | 2 +- .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 54 ++ requirements.txt | 12 +- setup.cfg | 10 + test-requirements.txt | 10 +- tox.ini | 8 +- 154 files changed, 5461 insertions(+), 3209 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c5580bb..5049753 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12 +12 @@ icalendar>=3.10 # BSD -keystoneauth1>=2.21.0 # Apache-2.0 +keystoneauth1>=3.1.0 # Apache-2.0 @@ -23 +23 @@ oslo.policy>=1.23.0 # Apache-2.0 -oslo.serialization>=1.10.0 # Apache-2.0 +oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0 @@ -28 +28 @@ PasteDeploy>=1.5.0 # MIT -python-glanceclient>=2.7.0 # Apache-2.0 +python-glanceclient>=2.8.0 # Apache-2.0 @@ -30 +30,2 @@ python-novaclient>=9.0.0 # Apache-2.0 -python-cinderclient>=2.1.0 # Apache-2.0 +python-cinderclient>=3.1.0 # Apache-2.0 +python-troveclient>=2.2.0 # Apache-2.0 @@ -42,2 +43 @@ python-swiftclient>=3.2.0 # Apache-2.0 -python-heatclient>=1.6.1 # Apache-2.0 -python-karborclient>=0.2.0 # Apache-2.0 +python-karborclient>=0.6.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index a0d69cd..9ff128d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16 +16 @@ python-swiftclient>=3.2.0 # Apache-2.0 -python-glanceclient>=2.7.0 # Apache-2.0 +python-glanceclient>=2.8.0 # Apache-2.0 @@ -18,2 +18,2 @@ python-novaclient>=9.0.0 # Apache-2.0 -python-cinderclient>=2.1.0 # Apache-2.0 -python-karborclient>=0.2.0 # Apache-2.0 +python-cinderclient>=3.1.0 # Apache-2.0 +python-karborclient>=0.6.0 # Apache-2.0 @@ -21 +21 @@ python-neutronclient>=6.3.0 # Apache-2.0 -python-heatclient>=1.6.1 # Apache-2.0 +python-troveclient>=2.2.0 # Apache-2.0 @@ -23 +23 @@ reno!=2.3.1,>=1.8.0 # Apache-2.0 -openstackdocstheme>=1.11.0 # Apache-2.0 +openstackdocstheme>=1.16.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org