cinder/cinder/objects
Rodrigo Barbieri 5983eee1c3 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

Change-Id: Icb621ff5966133f59d9d43ca2dd9f8e1919b1149
(cherry picked from commit 8ebeafcbba)
(cherry picked from commit 5358c996b4)
(cherry picked from commit f3cdc27563)
2020-07-06 18:18:49 -03:00
..
__init__.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
backup.py Fix cross-project incremental backups 2020-07-06 18:18:49 -03:00
base.py Support Incremental Backup Completion In RBD 2020-02-07 18:22:44 +00:00
cgsnapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cleanable.py Make code py3-compatible (global callable()) 2018-08-13 22:45:36 +05:30
cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
cluster.py Add support for promoting a failed over backend 2018-05-09 12:19:33 -04:00
consistencygroup.py CG API changes for migrating CGs 2016-11-22 19:08:20 -05:00
dynamic_log.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
fields.py Adding missing Volume states to VolumeStatus enum 2018-12-06 22:58:55 +05:30
group.py Add group to cluster when init host 2017-07-12 14:08:43 +08:00
group_snapshot.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
group_type.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
manageableresources.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
qos_specs.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
request_spec.py Support availability-zone type 2018-05-17 12:09:12 +00:00
service.py OVO: support query for disabled services 2018-03-29 11:27:49 -04:00
snapshot.py Fix Snapshot object metadata loading 2019-02-23 06:42:00 -05:00
volume.py Initiating Cinder Volume Manager with large number of volumes 2019-01-11 08:19:07 -05:00
volume_attachment.py Fix DetachedInstanceError for VolumeAttachment 2019-08-07 11:25:47 +01:00
volume_type.py Add tests for multiattach check in cinder.objects 2018-09-29 19:24:46 +05:30