cinder/cinder/backup
zhangbailin 6613374160 Change the matching method of the backup driver
The backup driver name is configured uniformly from the Stein version.
For example, support for
'cinder.backup.drivers.service.ServiceBackupDriver' does not support
'cinder.backup.drivers.service'.

However, the above two backup drivers are supported in a stable version
before Rocky (including Rocky).

For the same storage backend, if the backup driver used to create the
backup file is 'cinder.backup.drivers.service.ServiceBackupDriver',
the backup driver configured when restoring the backup is
'cinder.backup.drivers.service'. The recovery of the backup file will
fail because the drivers do not match.

Therefore, the processing of this method needs to be compatible with the
backup driver for different configurations of the same backend.

The above 'service' is a proxy, it can be one of {'swift', 'nfs',
'ceph', 'glusterfs', 'google', 'tsm', 'posix'}

Closes-Bug: #1801316
Part of this backup comes from Change-Id:
If1e34ea112b0cff328a58ec2fc9c3f5a5005f1c6
Change-Id: I1d7ee395c89beda0e50cbe26b4abb4fc7749e15e
(cherry picked from commit b90a13d07d)
Conflicts:
    cinder/backup/manager.py
2019-05-14 12:18:37 -03:00
..
drivers Fix permissions with NFS-backed snapshots and backups 2019-01-30 13:55:54 -05:00
__init__.py Fix backup_api_class doesn't work 2017-05-09 22:32:13 +08:00
api.py Consume quota when importing backup resource 2018-12-21 15:14:27 +00:00
chunkeddriver.py Improve ChunkedBackupDriver hashlib calls 2018-05-03 14:16:59 +02:00
driver.py Fix how backups handle encryption key IDs 2018-01-30 22:12:49 +00:00
manager.py Change the matching method of the backup driver 2019-05-14 12:18:37 -03:00
rpcapi.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00