cinder/cinder/tests/unit/backup
Andrew Bogott 73c0d73aba cinder-backup: use the same backup backend host for incremental backups
Incremental backups only work if there's a previous backup to base
it on. With the posix driver, this means there needs to be a previous
backup on the same host where the incremental backup is created.

This patch ensures that an incremental backup is scheduled on the
host that that contains the base backup being used for the increment.
Previously we were relying on luck for this and much of the time an
incremental backup would fail due for want of a base backup.

Closes-bug: 1952805
Change-Id: Id239b4150b1c8e9f4bf32f2ef867fdffbe84f96d
2023-01-23 13:29:45 -06:00
..
drivers Merge "Remove forgotten variable _backup_db_fields" 2022-10-21 21:47:35 +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 Remove six of dir cinder/tests/unit/backup/* 2020-10-09 13:38:39 +08:00
fake_google_client2.py Do not use 'self' in classmethod 2019-05-05 11:14:04 +08:00
fake_s3_client.py created s3 cinder backup driver 2021-01-28 10:56:43 -05:00
fake_service.py db: Remove 'db' argument from various managers 2021-08-27 15:13:21 +01:00
fake_swift_client.py backup/swift: Add support sending service user token 2022-05-04 07:29:54 +00:00
fake_swift_client2.py backup/swift: Add support sending service user token 2022-05-04 07:29:54 +00:00
test_backup.py Set backup status to error on VolumeNotFound 2022-11-10 11:43:23 +00:00
test_backup_messages.py cinder-backup: use the same backup backend host for incremental backups 2023-01-23 13:29:45 -06:00
test_chunkeddriver.py Address new hacking enforcement 2021-06-16 09:03:33 -05:00
test_rpcapi.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00