Commit Graph

10 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 fd17f48547 Fix listing checkpoints by plan error with FS bank
When listing checkpoints by plan with using FS bank,
it will fail with 'could not be found' error. The reason
is, in the bank, checkpoints by plan are stored as
"<bank_path>/karbor/indices/by-plan/<plan_id>/<project_id>
/<date>/<checkpoint>", but the file bank plugin only list
the <date> level, not include the checkpoint level. This
patch will fix it.

Closes-Bug: #1802815

Change-Id: I8c1356269277647490925e0181e2cd1dfca1fa4e
2018-11-12 12:48:25 +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
jiaopengju a6b174d821 Fix image restore failed with file system bank
Change-Id: I98cc8abb445555d2ef23e5e4c5508bb2085f35b7
Closes-Bug: #1735877
2017-12-27 12:37:52 +08:00
Jenkins c8a03e5a34 Merge "Fix glance image restore error" 2017-07-26 16:19:03 +00:00
jiaopengju 0e56552b24 Fix glance image restore error
1. Currently, when doing image restore if the chunks num of an image
file is bigger than 10000, the restore will fail. It is because that
without 'full_listing=True', swift client can list 10000 objects at
most by default. So this should be fixed.

2. Fix a bug in image_protection_plugin when updating the chunk num

This patch fixes the above issues.

Change-Id: I40e89745c5fc0ae60ab3dc699abda4872bed08ff
Closes-Bug: #1703301
2017-07-26 16:30:10 +08:00
Jenkins d83240a5aa Merge "FS Bank: change umask to 022" 2017-07-25 09:07:16 +00:00
Yuval Brik dfb5c454d7 FS Bank: raise correct exceptions
In 2 places, 'raise' was used without value, and with no exception
context, causing NoneType to be raised. Fix that by raising the correct
exception type. In list_objects, return an empty response if no objects
are found.

Change-Id: Ib7e902bd1f4d491ba0d53c6f9c85559fb7292a4c
2017-07-24 17:24:08 +03:00
Yuval Brik 9347d41aa6 FS Bank: change umask to 022
0 is an unsecure umask. Change the umask to 022, making directories
writeable only to owner.

Change-Id: I35b2b7c40eda269c0057e4eed7de08c992009ed0
2017-07-24 15:23:51 +03:00
chenying 85af00153a The file system based bank implementation
Currently we only suppport Swift as a bank implementation. This means
that anyone that uses Karbor must also install Swift. This might be
unacceptable or over complicated for some deployments.

I suggest adding an FS based implementation. It will use files for
objects storing objects and object metadata.

Change-Id: I9093f9b28ab9b3241107ec028b12c1e2a74f7002
Implements: blueprint file-system-bank
2017-06-05 11:52:58 +08:00