summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
3 daysMerge "modify grammatical errors"HEADmasterZuul
2019-01-11Merge "Add support to rewrite the flavor id in restore"1.2.0Zuul
2019-01-09Add support to rewrite the flavor id in restorejiaopengju
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 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Code-Review+2: liushuai <liushuai@cmss.chinamobile.com> Workflow+1: liushuai <liushuai@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 11 Jan 2019 01:21:31 +0000 Reviewed-on: https://review.openstack.org/629482 Project: openstack/karbor Branch: refs/heads/master
2018-12-17Merge "Replace Chinese quotes with English quotes"Zuul
2018-12-10Merge "Update links in README"Zuul
2018-12-04Change openstack-dev to openstack-discusspandatt
Change-Id: I58f525516c4b9cf4d1ab9afe43e8e606f6c5c89a Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: liushuai <liushuai@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 07 Dec 2018 09:43:35 +0000 Reviewed-on: https://review.openstack.org/622015 Project: openstack/karbor Branch: refs/heads/master
2018-12-03Merge "Add support to update plan description"Zuul
2018-12-03Merge "Add support to reset checkpoint state"Zuul
2018-12-03Add support to reset checkpoint statejiaopengju
Now when doing checkpoint copy failed, checkpoint will be wait_copying status forever, and so we can not do the restore anymore. So we should add an API to support checkpoint status reset if we deeply knows that the checkpoint is ok. This patch added API support for doing checkpoint state reset. Implements: bp checkpoint-status-reset Change-Id: Iabaa98c9900fba554be2ad0833d438901e01147a Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Code-Review+1: liushuai <liushuai@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 03 Dec 2018 08:16:44 +0000 Reviewed-on: https://review.openstack.org/621403 Project: openstack/karbor Branch: refs/heads/master
2018-12-02Add support to update plan descriptionliushuai
Change-Id: I03f19534613796a1180f8cbc2614a0f40ddc8f87 Notes (review): Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 03 Dec 2018 09:35:06 +0000 Reviewed-on: https://review.openstack.org/621412 Project: openstack/karbor Branch: refs/heads/master
2018-12-02Merge "add a unitest for api of verification"Zuul
2018-11-30add a unitest for api of verificationyuanliu
Change-Id: I9dd15ff0f35738676871771bd78b225bcda9684c Notes (review): Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 02 Dec 2018 06:18:09 +0000 Reviewed-on: https://review.openstack.org/621070 Project: openstack/karbor Branch: refs/heads/master
2018-11-28Remove redundant limit param check in APIhelei
limit param has been checked in get_pagination_params method before calling _get_all method Change-Id: I987f88981bcca7219142aeed4a8c730832f00348 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 28 Nov 2018 14:48:49 +0000 Reviewed-on: https://review.openstack.org/620439 Project: openstack/karbor Branch: refs/heads/master
2018-11-27Remove redundant format check of plan idyaofenghua
Change-Id: Iad5f82a75766e7d7eb132e15c6f2d72ab6fb1443 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 28 Nov 2018 01:42:56 +0000 Reviewed-on: https://review.openstack.org/620282 Project: openstack/karbor Branch: refs/heads/master
2018-11-27Merge "Fix raise error in create plan process"Zuul
2018-11-27Fix raise error in create plan processliushuai
Change-Id: Ied5885670b0a9e401865d47e5f1ba598403b1351 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Nov 2018 07:15:38 +0000 Reviewed-on: https://review.openstack.org/620096 Project: openstack/karbor Branch: refs/heads/master
2018-11-27Merge "Add unit test for restores API"Zuul
2018-11-27Merge "Fix the raise error in list services process"Zuul
2018-11-27Add unit test for restores APIYUHAN
Change-Id: Ia650f3b7feb2d9f52c1a0ae8c38579965017bdc8 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Nov 2018 01:21:37 +0000 Reviewed-on: https://review.openstack.org/620030 Project: openstack/karbor Branch: refs/heads/master
2018-11-27Fix the raise error in list services processliushuai
Change-Id: I2d9c6f10af1fc9e707f1998867bb36ae39bfb331 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Nov 2018 01:14:00 +0000 Reviewed-on: https://review.openstack.org/619939 Project: openstack/karbor Branch: refs/heads/master
2018-11-26Merge "Add permission check when creating restore"Zuul
2018-11-25Add permission check when creating restorejiaopengju
Currently, general users have rights to restore other users' checkpoints. We should add permission check to avoid the security risk. Closes-Bug: #1805004 Change-Id: If0f957a3aa8f25778833d7611342fab6b8efa388 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 26 Nov 2018 01:16:12 +0000 Reviewed-on: https://review.openstack.org/619926 Project: openstack/karbor Branch: refs/heads/master
2018-11-25Add all_tenants paramerter for copies APIjiaopengju
Change-Id: Idf4dabb43d1305f1854473be19d65fb05dac0ca3 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 25 Nov 2018 13:20:22 +0000 Reviewed-on: https://review.openstack.org/619914 Project: openstack/karbor Branch: refs/heads/master
2018-11-24Replace Chinese quotes with English quoteszhangdebo
Change-Id: Id2fc716356cabc2639da40ccd89fc931177fda69 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: liushuai <liushuai@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 17 Dec 2018 12:13:38 +0000 Reviewed-on: https://review.openstack.org/619854 Project: openstack/karbor Branch: refs/heads/master
2018-11-23Merge "Add unit test for copies API"Zuul
2018-11-23Add unit test for copies APIjiaopengju
Change-Id: I069a3483c1365461818c6e293e5b4e58cb68fa5b Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 23 Nov 2018 05:49:01 +0000 Reviewed-on: https://review.openstack.org/619658 Project: openstack/karbor Branch: refs/heads/master
2018-11-22Add verify action for volume backup by glance protection pluginjiaopengju
Change-Id: I5cf2f6d3fddf6f19df9e836cf76be8d3a1d21f47 Implements: blueprint support-verify-the-checkpoint-api Notes (review): Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 23 Nov 2018 01:14:38 +0000 Reviewed-on: https://review.openstack.org/619593 Project: openstack/karbor Branch: refs/heads/master
2018-11-21Add project id support for checkpoints filterjiaopengju
Change-Id: I93ab8a3a503045fb8a7612cf47bbfa014ac00fd2 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 22 Nov 2018 02:59:10 +0000 Reviewed-on: https://review.openstack.org/619188 Project: openstack/karbor Branch: refs/heads/master
2018-11-19Add all tenants support for checkpoints listingjiaopengju
Change-Id: Ic02a60a0eec1e7d3b0ca7b1a355a5d62d5c0046c Implements: bp checkpoint-all-tenants Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 19 Nov 2018 03:11:31 +0000 Reviewed-on: https://review.openstack.org/618639 Project: openstack/karbor Branch: refs/heads/master
2018-11-15Checkpoint marker not working when using plan or datejiaopengju
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 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 16 Nov 2018 00:59:29 +0000 Reviewed-on: https://review.openstack.org/618005 Project: openstack/karbor Branch: refs/heads/master
2018-11-13Fix listing checkpoints by plan and start_datejiaopengju
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 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 13 Nov 2018 08:37:58 +0000 Reviewed-on: https://review.openstack.org/617444 Project: openstack/karbor Branch: refs/heads/master
2018-11-12Fix listing checkpoints by plan error with FS bankjiaopengju
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 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 12 Nov 2018 06:04:25 +0000 Reviewed-on: https://review.openstack.org/617224 Project: openstack/karbor Branch: refs/heads/master
2018-11-10Merge "Fix getting services from keystone error"Zuul
2018-11-09Fix getting services from keystone errorjiaopengju
Now, karbor's fullstack is broken, it is because the getting services operation in operationengine is broken. Change-Id: Ibbb717f9a5ed78e0f2d56499a41ab312a47a5837 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 10 Nov 2018 13:59:59 +0000 Reviewed-on: https://review.openstack.org/616730 Project: openstack/karbor Branch: refs/heads/master
2018-11-08Remove memcached_servers configuration from deployment documentLiXiangyu
While installing karbor, python-memcached packages will not be installed as a dependency package. So it is better to remove "memcached_servers" configuration from deployment document, otherwise it will be very easy to encounter errors. Change-Id: I1d1519353c8edd14b4553523d5b6f9ced978f9b5 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 09 Nov 2018 11:34:52 +0000 Reviewed-on: https://review.openstack.org/616489 Project: openstack/karbor Branch: refs/heads/master
2018-11-07Add error log message in FaltWrapperjiaopengju
After installing karbor from source code, with executing karbor related command, for example 'karbor service-list', it returns 500 with 'The server has either erred or is incapable of performing the requested operation. (HTTP 500)'. In karbor api log, we can not find any useful word to point out where the error occurs. So we should add error message in FaltWrapper to record the error reason. Closes-Bug: #1801920 Change-Id: I3e7e00d8a48d5cea38d4fb1ca0e62d558598bf6d Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 07 Nov 2018 11:30:39 +0000 Reviewed-on: https://review.openstack.org/615848 Project: openstack/karbor Branch: refs/heads/master
2018-11-07Fix unit test error of nova freezer client updatesjiaopengju
This patch mainly contains two aspects: 1. Freezer team has updated freezerclient, they remove the version parameter in Client. This make karbor not work well when using freezer protection plugin. 2. Nova client remove self.logger as default from nova client, it requires karbor transport logger to the client. Closes-Bug: #1802022 Change-Id: Iea594ff2917767108b868242d919db97a65479ea Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 07 Nov 2018 09:08:42 +0000 Reviewed-on: https://review.openstack.org/616042 Project: openstack/karbor Branch: refs/heads/master
2018-10-24Merge "Add framework for karbor-status upgrade check"Zuul
2018-10-24Merge "Doc: update install guide with using source"Zuul
2018-10-22Doc: update install guide with using sourcejiaopengju
Before doing "python setup.py install", we should install the requirements first. Change-Id: I2d0fbba1d3e74e6e8b3ecb0d8b933e76f2a385fd Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 24 Oct 2018 04:36:13 +0000 Reviewed-on: https://review.openstack.org/612313 Project: openstack/karbor Branch: refs/heads/master
2018-10-22Add framework for karbor-status upgrade checkakhiljain23
This commit adds the functionality of karbor-status CLI for performing upgrade checks as part of the Stein cycle upgrade-checkers goal. It only includes a sample check which must be replaced by real checks in future. Change-Id: I8b75d516725c7cdf169d558b1c4b6f92a695ab2e Story: 2003657 Task: 26134 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 24 Oct 2018 12:11:46 +0000 Reviewed-on: https://review.openstack.org/612251 Project: openstack/karbor Branch: refs/heads/master
2018-10-22Doc: update useful protection plugins for volumejiaopengju
Karbor support snapshot, freezer and glance protection plugins for volume now. This patch update the doc. Change-Id: I22d1d344cde7157ba46e52621dae374342c59609 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 24 Oct 2018 03:39:46 +0000 Reviewed-on: https://review.openstack.org/612241 Project: openstack/karbor Branch: refs/heads/master
2018-10-22Merge "Add release notes link in README"Zuul
2018-10-19Merge "Update pypi url to new url"Zuul
2018-10-16Merge "Not able to upload volume to image"Zuul
2018-10-14Not able to upload volume to imageGaëtan Trellu
upload_to_image() function should be updated when client version is bigger than 3.1. Without this we are not able to run this function: image = cinder_client.volumes.upload_to_image( volume=temporary_volume, force=True, image_name='temporary_image_of_{0}'.format(temporary_volume.id), container_format="bare", disk_format="raw" ) Change-Id: I825ad0d6f6c25e2d85c756e6148e73e7e298ef75 Closes-Bug: #1787399 Co-Authored-By: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 01:41:57 +0000 Reviewed-on: https://review.openstack.org/592585 Project: openstack/karbor Branch: refs/heads/master
2018-10-10Merge "Use templates for cover and lower-constraints"Zuul
2018-10-06Remove concurrency in tox.inijiaopengju
When specify --concurrency=4 in the stestr command, we can not execute a specify test case. This patch remove it. Change-Id: I7cf40faf7c7ca1f458000c418d509c159fa69614 Notes (review): Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 10 Oct 2018 06:50:14 +0000 Reviewed-on: https://review.openstack.org/608401 Project: openstack/karbor Branch: refs/heads/master
2018-09-22Use templates for cover and lower-constraintsAndreas Jaeger
Use openstack-tox-cover template, this runs the cover job in the check queue only. Use openstack-lower-constraints-jobs template. Remove jobs that are part of the templates. Sort list of templates. Change-Id: I96225b899fb83bd78efab3dbfe20e049c0b91096 Notes (review): Code-Review+1: Nguyen Hai <nguyentrihai93@gmail.com> Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 10 Oct 2018 06:58:06 +0000 Reviewed-on: https://review.openstack.org/604516 Project: openstack/karbor Branch: refs/heads/master
2018-09-22add python 3.6 unit test jobNguyen Hai
This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I2a7e357a8406932259a70891bc14db02c916c402 Story: #2002586 Task: #24303 Notes (review): Code-Review+1: Sean McGinnis <sean.mcginnis@gmail.com> Code-Review+2: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Workflow+1: Jiao Pengju <jiaopengju@cmss.chinamobile.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 23 Sep 2018 09:19:16 +0000 Reviewed-on: https://review.openstack.org/594815 Project: openstack/karbor Branch: refs/heads/master