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 bda8202f6d Add support to rewrite the flavor id in restore
When using karbor to restore server to another openstack
cluster(cross keystone), and if the another cluster do not
have the same flavor id, the restore will fail. We should
add support for adding flavor id as a parameter to rewrite
the flavor id in checkpoint metadata.

Change-Id: Ie5c7a1adf07b7f9b1225ee4a5e16000a3453a7cc
Closes-Bug: #1811090
2019-01-09 21:36:27 +08:00
jiaopengju 05be900d31 Fix server restore failed if network rebuild
Currently, server restore can only use the networks
in checkpoint metadata. When the network was deleted
or rebuilded, the restore will fail. So this patch
add a new restore parameter to specify the restore
network id.

Change-Id: I003c68de094b8d11bbdd7dd07bec0c1d1e580652
Closes-Bug: #1713887
2017-11-23 13:46:58 +08:00
chenying a78cfa0270 Add verify action for the server backup protection plugin
Change-Id: I0c45753edd6c0a9ba7bf65d1a58c5c5765cd9bb0
Implements: blueprint support-verify-the-checkpoint-api
2017-10-25 11:04:01 +08:00
Jenkins 9fcdbd24f7 Merge "Update the exception class of the plugins" 2017-08-04 02:12:12 +00:00
Jenkins c36dd4894a Merge "Remove 'HeatTemplate'" 2017-08-03 07:27:19 +00:00
chenying 6cef7d51cf Update the exception class of the plugins
Change-Id: Id96edc25c12045453cc9c85c51bd826eaabda8e4
2017-08-02 17:55:46 +08:00
zengchen f4c8f9ee2a Remove 'HeatTemplate'
Use a dict to store the new restored resources, and parent
resource can get the new resource id of child resources from
that dict.

Change-Id: I4a3fbe009793d16514de89b520bd68581be401af
Implements: blueprint remove-heat
2017-07-31 17:39:12 +08:00
chenying 355ad02c6d Fix a method name typo of nova protection plugin
Change-Id: I08fcb85084d28970f1ab2d204dba711080b41e25
2017-07-31 15:05:45 +08:00
zengchen 04a2083fe2 Refactor server restore function
Change-Id: I4e45796b49784597fbb415ac5221dc55ac3a28ec
Implements: blueprint remove-heat
2017-07-04 19:35:14 +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 fa9fd3b1a1 Update the nova backup protection plugin
Refactor the nova backup protection plugin with the new protection plugin
API, using hooks.

Change-Id: I4239ea22fef2d294124bf661435e325388366127
2017-02-07 15:53:45 +02: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
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
bailinzhang 7c6aec02ef Replaces uuid.uuid4 with uuidutils.generate_uuid()
Change-Id: Iafef635bb867e5fe84ea5b3b9b15d2fd27e9e6ce
Closes-Bug: #1082248
2016-11-22 01:07:27 +00:00
Sean McGinnis 479b025b8c Correct logging translation markers
There were a few log strings that were not using the appropriate
translation marker for their given log level.

Also fixed a couple cases of passing in an exception to a LOG.exception
call. LOG.exception will automatically log whatever exception is in
scope, so switched these to be the equivalent LOG.error levels so the
exceptions do not get logged twice.

Change-Id: If1be4661174dfcf30567b5093bd5373c2c275cf5
2016-10-10 16:44:00 -05: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