deb-cinder/cinder
Edward Hope-Morley 314d4ec1f4 Conditionally restore display_name
When restoring a volume from backup, if the target volume looks like
it was auto-created as part of the restore and the backed up metadata
contains a name, then apply the name to the target volume. However,
if we are restoring to an existing volume and it has a non-default
name or we do not have a name to restore, then do not modify the
target volume metadata display_name or display_description. This is
intended to be a less drastic solution than commit 7ee80f7 introduced
back in Juno.

Change-Id: I87a62577665b5bd2a82f3305fb715ba6b24d9a78
Closes-Bug: 1539667
2016-03-28 18:51:42 +00:00
..
api Dont query image metadata for empty volume list 2016-03-24 10:28:37 -05:00
backup Conditionally restore display_name 2016-03-28 18:51:42 +00:00
brick Cleanup orphaned code from brick LVM 2015-11-26 23:40:25 -06:00
cmd Add update_host for backup in cinder-manager 2016-03-16 13:42:37 -04:00
common Merge "Use the catalog to retrieve glance_api_servers" 2016-03-18 21:41:09 +00:00
compute Fix InstanceLocalityFilter scheduler filter 2015-11-18 15:42:13 +02:00
config Exclude test.py from sample conf 2016-03-09 10:42:52 -05:00
consistencygroup Remove a vol in error state from a CG 2016-03-03 16:26:03 +02:00
db Reserve 5 migrations for Mitaka backports 2016-03-16 15:24:20 -05:00
hacking hacking: Fix false positive in C302 check 2016-02-09 14:58:46 +01:00
image Merge "Use the catalog to retrieve glance_api_servers" 2016-03-18 21:41:09 +00:00
keymgr Fix call to Barbican Secrets create() 2016-03-03 14:15:08 +00:00
locale Imported Translations from Zanata 2016-03-18 06:31:39 +00:00
objects Fix volume migration VolumeType exception 2016-03-14 17:44:57 +00:00
replication Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
scheduler Report 2.0 as supported version of RPC APIs 2016-03-21 16:00:59 +01:00
testing
tests Conditionally restore display_name 2016-03-28 18:51:42 +00:00
transfer Handle OverQuota exception during volume transfer 2016-02-19 13:34:28 +08:00
volume Merge "XtremIO handle errors in terminate_connection:" 2016-03-24 20:35:52 +00:00
wsgi Moved CORS middleware configuration into oslo-config-generator 2016-03-08 08:51:52 -08:00
zonemanager Merge "Remove extra get_active_zoneset query from Brocade CLI" 2016-03-22 23:08:37 +00:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
context.py Merge "Use the catalog to retrieve glance_api_servers" 2016-03-18 21:41:09 +00:00
coordination.py Tooz locks 2015-12-17 10:27:43 +00:00
exception.py Fix race condition when toggling SP 2016-03-16 02:31:20 -04:00
flow_utils.py Refactoring of manager's create_volume flow 2015-07-24 11:19:09 +02:00
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Add SIGHUP handlers to reset RPC version pins 2016-02-19 10:30:17 +01:00
opts.py Exclude test.py from sample conf 2016-03-09 10:42:52 -05:00
policy.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
quota_utils.py Merge "Update quotas to handle domain acting as project" 2016-03-07 20:06:15 +00:00
quota.py typo: add a missing '}' in comment. 2016-03-10 19:41:12 -05:00
rpc.py Profiler: make it possible to run without loading osprofiler 2016-02-10 15:12:30 -05:00
service.py Use OSprofiler options consolidated in lib itself 2016-03-02 17:24:53 +03:00
ssh_utils.py Fix sshpool.remove code 2016-03-01 03:20:04 +00:00
test.py Remove "sqlite_clean_db" option 2016-03-09 10:59:59 -05:00
utils.py Fix 500 error if 'offset' is out of range 2016-03-11 09:10:18 +00:00
version.py