cinder/cinder/tests/unit/backup
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
..
drivers Support Incremental Backup Completion In RBD 2020-02-07 18:22:44 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Add user_id in backup list and show API 2018-12-12 00:52:05 -05:00
fake_google_client.py Use googleapiclient import instead of apiclient 2016-03-11 12:19:01 +01:00
fake_google_client2.py Add cinder backup driver for Google Cloud Storage 2016-01-18 23:28:23 +05:30
fake_service.py Fix earlier backup records can't be restored 2017-11-14 23:13:45 +00:00
fake_service_with_verify.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
fake_swift_client.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
fake_swift_client2.py Switch to the oslo_utils.fileutils 2015-08-20 07:47:48 +00:00
test_backup.py Fix cross-project incremental backups 2020-07-06 18:18:49 -03:00
test_chunkeddriver.py Tests : notifier problem with backup 2018-12-04 04:34:10 +00:00
test_rpcapi.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00