cinder/cinder
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
..
api Merge "[sytle] use http code constant instead of int" 2018-04-02 17:38:03 +00:00
backup Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
brick Merge "Fixes creation of mirrored volumes due to wrong type" 2017-12-16 02:30:28 +00:00
cmd Support multiple processes on Cinder Backup 2018-03-14 10:52:25 +01:00
common Avoid build system IP going into sample config 2018-03-12 15:26:59 -05:00
compute Clean out config deprecation information 2018-03-13 14:33:37 -05:00
consistencygroup Remove consistencygroups/api.py 2018-01-26 17:59:27 -05:00
db Reserve 5 migrations for DB backports 2018-02-22 11:50:41 -05:00
group Add missing 'target_obj' when perform policy check 2018-03-19 19:02:00 +08:00
hacking Add contributor doc on assertEqual vs assertFalse 2017-08-30 17:50:02 +00:00
image Merge "Remove inappropriate directory space check" 2018-03-27 21:35:40 +00:00
interface Handle deprecation of inspect.getargspec 2017-11-21 12:57:05 -06:00
keymgr Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
locale Imported Translations from Zanata 2018-03-29 07:41:41 +00:00
message Disallow unmanaging encrypted volumes 2017-11-29 10:43:32 -05:00
objects Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
policies Fix policy in code docs for extended_snapshot_attributes 2018-03-18 23:02:10 +00:00
scheduler [Optimize] Validate configured scheduler filters when initialize 2018-04-02 07:22:01 +00:00
tests Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
transfer Add missing 'target_obj' when perform policy check 2018-03-19 19:02:00 +08:00
volume Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
wsgi Initialize osprofiler in WSGI application 2018-01-09 14:06:34 +01:00
zonemanager Support fabric specific Cisco FC Zone Name 2018-01-25 21:14:04 -08:00
__init__.py Set EVENTLET_NO_GREENDNS for IPv6 and dnspython compat 2016-11-11 13:19:07 -06:00
context.py Fix: Propagate OS global request ID 2018-01-15 22:00:27 +01:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Remove ExceptionInParsingArguments 2018-03-12 17:02:10 -04:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
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 Merge "Support multiple processes on Cinder Backup" 2018-03-17 00:06:58 +00:00
policy.py Add cg policies and clean up old policy handling 2017-12-04 10:07:54 +08:00
quota.py Periodic task to clean expired reservation 2017-05-30 22:21:38 +08:00
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 Fix: Including resources in None cluster 2018-03-22 11:54:31 +01: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 Allow configuring tpool size 2018-03-08 15:59:29 +01:00
utils.py Remove utils.read_file_as_root() 2018-03-02 05:29:02 -05:00
version.py