cinder/cinder/tests
Alan Bishop 341dd44ba7 Handle migrating encryption key IDs in Backup table
Enhance the code that migrates the ConfKeyManager's fixed_key to
Barbican to also consider the Backup table. When the original key
migration feature was added, the encryption key ID was not stored in
the Backup table. But now the Backup table contains that field, so
the migration code needs to handle that table as well.

Whereas the cinder-volume service is responsible for migrating keys
in the Volume and Snapshot tables, the cinder-backup service handles
migrating keys in the Backup table. Each instance of the service
migrates its own entries by matching the "host" field in the
corresponding tables.

The Backup OVO now inherits from base.CinderComparableObject. This does
not affect the object's hash signature, and so the version number does
need to be incremented.

Closes-Bug: #1757235
Change-Id: Id4581eec80f82925c20c424847bff1baceda2349
2018-04-03 12:23:38 -04:00
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional Fix incorrect use of assertFalse causing CI failed 2017-10-26 11:01:02 +07:00
unit Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
README.rst Update the documentation link 2017-08-26 06:52:48 -07:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_driver.py Fix: Incorrect replication status on clusters 2018-03-22 12:01:40 +01:00
fixtures.py Add fixture to only emit DeprecationWarning once 2017-11-21 16:54:45 -06:00

README.rst

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing.