OpenStack Block Storage (Cinder)
Go to file
Rodrigo Barbieri f3cdc27563 Fix cross-project incremental backups
This patch addresses the scenario where an
incremental backup can be created having a
parent backup that was taken in a different
project. This scenario ultimately leads to
a silent error when creating/deleting the
incremental backup and quotas going out of
sync.

The proposed fix is to narrow the backup search
down to the same project. To achieve this, a
method's signature had to be updated to achieve
the desired optimized behavior of passing the
volume's project_id parameter.

Closes-bug: #1869746
Closes-bug: #1873518

conflicts:
    cinder/tests/unit/backup/test_backup.py

Test test_create_backup_failed_with_empty_backup_objects
required a mock for
test_create_backup_failed_with_empty_backup_objects
which had been removed in ussuri, as part of commit
f0211b53b8. That
commit removed code and leftover the mock, which I
had removed in the change this patch was
cherry-picked from, as it was unnecessary.

The removed code section of cinder/backup/api.py
from commit f0211b53b8
does not impact the functionality of this change at all.

Change-Id: Icb621ff5966133f59d9d43ca2dd9f8e1919b1149
(cherry picked from commit 8ebeafcbba)
(cherry picked from commit 5358c996b4)
2020-07-02 19:39:00 -03:00
api-ref/source Untyped to Default Volume Type 2019-09-20 05:37:54 +00:00
cinder Fix cross-project incremental backups 2020-07-02 19:39:00 -03:00
contrib/block-box Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
doc Remove VxFlex OS credentials from connection_properties 2020-06-03 18:34:42 -04:00
etc/cinder Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
playbooks Port several legacy tempest jobs to Zuul v3 2020-06-25 20:23:14 +02:00
rally-jobs Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
releasenotes Fix cross-project incremental backups 2020-07-02 19:39:00 -03:00
tools Move hacking checks to tests dir 2019-10-09 14:16:58 -04:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Tell reno to ignore the kilo branch 2020-02-17 20:17:53 +00:00
.gitreview Update .gitreview for stable/train 2019-09-27 09:05:11 +00:00
.pylintrc Pylint: Filter out cinder.objects and requests E1101 2019-02-21 13:28:44 -05:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Native Zuul v3 cinder-grenade jobs 2020-06-26 11:04:43 +02:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Add cinder-specs link to readme.rst 2019-08-30 16:53:00 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt Add cryptsetup to bindep.txt 2020-02-19 17:12:03 +00:00
driver-requirements.txt Merge "Unity: Add replication support" 2019-09-26 06:18:55 +00:00
lower-constraints.txt Update os-brick library to 2.10.4 2020-06-18 16:40:23 -04:00
reno.yaml Tell reno to ignore the kilo branch 2020-02-17 20:17:53 +00:00
requirements.txt Update os-brick library to 2.10.4 2020-06-18 16:40:23 -04:00
setup.cfg StorPool: update the driver requirements. 2019-09-08 17:50:54 +03:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Make volume soft delete more thorough 2020-01-14 12:29:00 +00:00
tox.ini Install all requirements in docs builds 2020-02-17 10:07:20 -06:00

README.rst

Team and repository tags

image

CINDER

You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

For developer information please see HACKING.rst

You can raise bugs here https://bugs.launchpad.net/cinder

Python client

https://opendev.org/openstack/python-cinderclient