Commit Graph

18 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
jiaopengju abab99c0eb Add all tenants support for checkpoints listing
Change-Id: Ic02a60a0eec1e7d3b0ca7b1a355a5d62d5c0046c
Implements: bp checkpoint-all-tenants
2018-11-19 09:35:33 +08:00
chenying d85ec6aa58 Add content parameter for checkpoint and bank modules
Add optional content parameter for checkpoint interface, so that other
checkpoint bank plugin like database bank plugin can be introduced to
Karbor.

Change-Id: I4eaad0b3fe38cb95a668b83acba39cd831bbb7df
Closes-Bug: #1745909
2018-01-31 14:52:10 +08:00
ericxiett 29b264eb7c Add filter parameter for provider list API
The provider list API layer supports the filter parameter, but
in protection service it was not supported. This patch fixed it.

Change-Id: Ie98a3e8dda45757d98da9cc5b7383d76ecf0f09c
Closes-Bug: #1745058
2018-01-29 14:05:38 +08:00
jiaopengju 99283590e7 Fix 'limit' and 'marker' error in provider listing
Currently, providers API's parameters like 'limit' and
'marker' are not really used, but python-karborclient
use them. This patch will add the processing of 'limit'
and 'marker' in providers API.

Change-Id: I6a6206948adc1c417177a1b9c0f54aa2c0b8ef7e
Closes-Bug: #1717827
2017-11-22 14:28:51 +08:00
jiaopengju fde94b28e3 Add tenant isolation of checkpoints
Change-Id: Iaae21b4c7339f6453c391cb958fb828694b083fd
Implements: blueprint checkpoint-tenant-isolation
2017-10-20 09:22:38 +08:00
jiaopengju e402bb9056 Add option to enable or disable providers
1. Add configuration option in provider configuration file to enable
or disable the provider.

2. Skip the protectable resources when get the dependent resources
failed.

Change-Id: Ie67fbacbebb887a76e57273c3dd36d1f333b615d
Closes-Bug: #1702907
2017-07-19 21:52:03 +08:00
Vu Cong Tuan b8c6a56459 Trivial fix typos
Change-Id: I52fd27c7b4637c78681137b436e6163b0e0142d1
2017-05-31 13:52:32 +07:00
Jenkins 08a671b135 Merge "Replace six.iteritems() with .items()" 2017-03-21 13:50:20 +00:00
zhangshuai 9b88f73b87 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I62bf3bda7a0769fc8ff941d8238222beb392cf68
2017-03-17 05:11:16 +08:00
wangzhenyu e2d636cfb6 Replace six.iteritems() with .items()
we should avoid using six.iteritems to achieve iterators.
We can use dict.items instead, as it will return iterators in PY3 as well.
And dict.items/keys will be more readable.

In py2, the performance about list should be negligible

Change-Id: Ie3059edf2925b690191f628b32743bc6520a706d
2017-03-14 03:04:53 +08:00
Yuval Brik a808a5bcf3 keystone: move to v3
Change-Id: I2bd316e52aede8ca207d364d247b2a0ffeccf9c4
2017-02-07 14:00:45 +02:00
zhangshuai 198ea44701 Checkpoint list bug
When I create some checkpoints by "OS Infra Provider" and "Noop",
and I query checkpoints by one provider(such as "OS Infra Provider"),
it return all checkpoints include "OS Infra Provider" and "Noop".

Change-Id: Ia93d3131b2d9df8fea6a5d7a66027ae652d4cfa1
Closes-Bug: #1657394
2017-01-23 05:01:40 +08:00
Yuval Brik 04e2086ad9 Use parenthesis instead of slash for multiline
Change-Id: I4111fb46613cf44645cb2f276a21be685de865d8
2016-12-25 10:23:19 +02:00
Yuval Brik a80b9cc283 Stabilize Protection Plugin API
Protection plugin now needs to implement methods for each operation
(protect, delete, restore). Each protection plugin is created in the
context of the flow, while each operation is created in the context of
the resource.

A protection plugin is responsible for returning an Operation class for
each operation. Such Operation class defines the behavior of the
protection plugin by implementing these optional hooks:

- on_prepare_begin hook is invoked before any hook of this resource and
  dependent resources has begun
- on_prepare_finish hook is invoked after any prepare hooks of dependent
  resources are complete.
- on_main hook is invoked after the resource prepare hooks are complete
- on_complete hook is invoked once the resource's main hook is
  complete, and the dependent resources' on_complete hooks are complete

HeatTemplate is now created and supplied from a task instead of being
created and passed to resource tasks before the restore operation began.

Change-Id: I847eec6990b2d24a66a12542d242fbfb682272fe
Co-Authored-By: Saggi Mizrahi <saggi.mizrahi@huawei.com>
Implements: blueprint protection-plugin-is-design
2016-12-19 15:09:55 +02:00
chenying 42168b374f Print the stack trace logs when the plugins are not successfully loaded
Change-Id: Iad7e4c832adb9b092b7f8379fe8f8a2c1104a167
Closes-Bug:#1648330
2016-12-08 15:53:26 +08:00
Yuval Brik 223eeaf1cf Raise ProviderNotFound from ProviderRegistry
ProviderRegistry used to return None when the provider was not found.
Change this behavior - ProviderRegistry raises ProviderNotFound, and
it is the caller responsibility to handle the exception.

Change-Id: I249875412c7307161f9022190807f8907e8f5f1e
2016-11-28 17:32:21 +02:00
chenying 1c60dac7fa Change Smaug to Karbor
There was a decision in the community to change the project name.

Change-Id: I8b3d538b9573ebaa2a873f4696e1f1a500c941a8
2016-08-18 22:55:34 +08:00