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
Sean McGinnis 3df667582c
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ifd0d1b8aa419e39361e76a4f846cb4eeaf0d46ca
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-08-13 08:28:07 -05:00
Andreas Jaeger 0764f5dab1 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0.1 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I6691687f0cd2fe4c9e7f2a76d333ca9eacb0cbf3
2020-05-13 19:20:28 +00: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
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 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
sudhir_agarwal fa132e33b1 Fixed order of arguments in assertEqual
Some tests used incorrect order of arguments in
assertEqual(observed, expected). The correct order expected
by testtool is assertEqual(expected, observed).

Change-Id: I2f5d59b1115c82c2811aeb753404ac2c99d2746d
2017-07-14 11:56:41 +00: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
Yuval Brik 24e0ef24ad client_factory, keystone plugin: lazy init
Change-Id: I0aeddb50fea40d2ce6fd4b7abc9a759b6898e92f
2017-03-09 04:26:09 +08:00
chenying ec8e3bbcfb Unit test may failed without client_factory.init()
Such as the title

Change-Id: Ia1e77d29332ddbfb9462fa093858c1e9cda90b78
2017-02-14 04:49:04 +08:00
Jenkins 84d72e9baa Merge "Update the nova backup protection plugin" 2017-02-07 16:15:11 +00: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 a808a5bcf3 keystone: move to v3
Change-Id: I2bd316e52aede8ca207d364d247b2a0ffeccf9c4
2017-02-07 14:00:45 +02:00
Yuval Brik d37cd64106 bank: fix list_objects using stricter validations
Using list_objects with a prefix didn't work unless the prefix ended
with a slash. As a result, using list_objects on a BankSection with
prefix gives empty result.
Refactor the validations (and make them stricter) in order for bank
list_objects to work correctly:
 - limit the allowed characters (alpha-numeric, dots, slashes, dashes,
 at-sign, and underscores
 - keys must not end in a slash
Change-Id: I553d74af3b44fee49e1baef055239e47921bde0f
2017-02-01 12:45:59 +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 04e2086ad9 Use parenthesis instead of slash for multiline
Change-Id: I4111fb46613cf44645cb2f276a21be685de865d8
2016-12-25 10:23:19 +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