cinder/cinder
Rodrigo Barbieri c4de3a8c83 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)
(cherry picked from commit 5983eee1c3)
2020-07-21 10:58:32 -03:00
..
api Add OS-SCH-HNT in extensions list 2019-06-21 12:23:38 +05:30
backup Fix cross-project incremental backups 2020-07-21 10:58:32 -03:00
brick Add retry to LVM deactivation 2019-10-02 19:47:50 +00:00
cmd Prevent double-attachment race in attachment_reserve 2019-08-01 13:34:44 -04:00
common Enable split logging for cinder-glanceclient interaction 2018-07-11 14:38:04 +05:30
compute Add user messages for extend volume operation 2018-06-01 09:12:07 +08:00
db Fix cross-project incremental backups 2020-07-21 10:58:32 -03:00
group Fix wrong uuid recognized when create group 2019-02-27 11:04:45 -06:00
hacking Fix invalid escape sequence warnings 2018-06-20 16:22:26 -05:00
image Increase cpu limit for image conversion 2019-12-03 10:13:45 -05:00
interface Make scheduler check online_extend_support capability 2018-06-26 14:42:34 -03:00
keymgr Add secret=true to fixed_key configuration parameter 2018-12-13 21:56:15 -05:00
locale Imported Translations from Zanata 2018-10-19 08:01:47 +00:00
message Support image signature verification 2018-06-11 10:14:49 +08:00
objects Fix cross-project incremental backups 2020-07-21 10:58:32 -03:00
policies Merge "Add policy in code documentation for os-set_bootable API" 2018-08-08 21:19:30 +00:00
privsep Port nvmet driver to use privsep 2018-07-05 08:11:01 -04:00
scheduler Merge "Make scheduler check online_extend_support capability" 2018-07-13 02:20:26 +00:00
tests Fix cross-project incremental backups 2020-07-21 10:58:32 -03:00
transfer Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
volume Remove VxFlex OS credentials from connection_properties 2020-06-03 22:58:10 +00:00
wsgi Prevent double-attachment race in attachment_reserve 2019-08-01 13:34:44 -04:00
zonemanager Fix for auth version change in Brcd HTTP 2019-02-23 11:44:48 +00:00
__init__.py
context.py Add Keystone v3 domain information to context 2018-04-25 09:29:33 -04:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Fix: Create new cache entry when xtremio reaches snap limit 2020-02-13 13:26:49 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Allow configuring tpool size 2018-03-08 15:59:29 +01:00
opts.py Add keystoneauth options to list_opts 2018-07-23 12:02:08 +08:00
policy.py Correct default policy file 2018-11-30 03:39:03 +00:00
quota.py V3 jsonschema validation: Quotas 2018-04-27 08:21:51 +05:30
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Use InvalidConfigurationValue instead of InvalidInput 2018-04-11 19:25:48 +08:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
test.py Tests: Fix up migrate notify tests 2019-04-03 10:29:21 -04:00
utils.py [Logging] Enable filtering of trace_api logs 2018-06-29 10:04:55 -03:00
version.py