cinder/cinder/tests/unit/backup
Alan Bishop 95f30ea6ed Fix permissions with NFS-backed snapshots and backups
Fix snapshot issues that occur if cinder does not have regular (non-root)
write permission on an NFS share. This is done by following the volume
driver's model of creating files as root, followed by calling
_set_rw_permissions().

Fix backup issues that occur if cinder's group ID changes, which can
happen when migrating from bare metal to a containerized service. If the
share's group ownership and permission needs to be modified, then do it
recursively so that previously made backups remain accessible.

Closes-Bug: #1807760
Change-Id: I6c20c4825af0a365b6a20fb633c810c2f2fe48b0
(cherry picked from commit 1fb342cba8)
2019-01-18 11:41:02 -05:00
..
drivers Fix permissions with NFS-backed snapshots and backups 2019-01-18 11:41:02 -05:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Move all backups related unit tests to backup directory 2016-05-26 17:09:33 +03: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 Change the matching method of the backup driver 2018-11-21 01:00:01 -05:00
test_chunkeddriver.py Add unit test coverage for backup chunkeddriver class 2018-02-19 07:41:18 -06:00
test_rpcapi.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00