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
wangyu 798ba058ae Do not use 'self' in classmethod
'cls' should be used in classmethd, instead of 'self'.
This patch corrects this in the following places:
    - karbor/services/protection/checkpoint.py
    - karbor/services/protection/protection_plugins/network/neutron_protection_plugin.py

Change-Id: I70c5ae7d3ea79ef5868a222509e583d510d8607c
2019-09-29 16:21:10 +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
jiaopengju 0a756778ed Checkpoint marker not working when using plan or date
When listing checkpoints by plan or by date with marker,
the result is not correct. It is because that the marker
that generated in the process is not right, this patch
will fix it.

Closes-Bug: #1803409

Change-Id: I3d6c1a93e6408de1ca95552531d9ff2d2395afa2
2018-11-15 02:01:26 +08:00
jiaopengju 705040dbe3 Fix listing checkpoints by plan and start_date
Now when listing checkpoints by plan and doing filter
by start_date, it will fail with ValueError. It is
because the process of datetime is not right when specify
start_date and plan_id at the same time. This patch will
fix it.

Closes-Bug: #1803035

Change-Id: Ifa2c0e03a0b83d0e5a59e53425cec5be663e13fb
2018-11-13 13:00:37 +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
chenying cf1fb3610d Add the checkpoint copy API for Karbor
Change-Id: I203733f9e810e16bcaba8e3ac7d11d06e4347372
Implements: blueprint support-copy-the-checkpoint-api
2017-11-13 15:28:09 +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
Yuval Brik dca5ff046a Remove redundant ctor super calls, add missing
Change-Id: Iad10fe2d520a056a66bda85951c02d80f49020a4
2017-05-14 12:10:31 +03: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
chenying 9ee39b54b9 Add metadata parameter to checkpoint API
Co-Authored-By: zhangshuai <446077695@qq.com>

Change-Id: I34c3f2996b11a0597091276eedd120c5222073b4
blueprint smaug-checkpoint-metadata
2017-03-09 23:28:36 +08:00
Yuval Brik 5ab9fc3733 bank: Remove create_object
Object store interface has no difference between create and update.
Remove create_object from any Bank or BankSection. update_object can be
used instead in order to create and/or update objects.

Change-Id: I70bf5b7b4ffcc5ac43281d1be7f8ff10e5451b39
2017-02-01 11:53:14 +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
Jenkins dc7aefed5d Merge "Stabilize Protection Plugin API" 2016-12-20 04:42:58 +00: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
jeckxie 28ee2d37db [TrivialFix] Fix comment typo error
Change-Id: Ice4809705d2e9cc82e80bc226975946852f2b3d3
2016-12-14 14:13:13 +08:00
sloblee 2e4878b69a Add Created_at field to checkpoint list/show API
Checkpoint model had the 'Created_at' field, but it cannot
be shown in the CLI and UI, this patch is to add this field
to the API.

Change-Id: I332ae814848f0d5ee7ae9814df6f878ca461cff0
Closes-Bug: #1578563
2016-11-30 16:51:09 +08: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