cinder/cinder
wangxiyuan d304f621c2 Don't change volume's status when create backups from snapshots
when users try to create a backup from a snapshot, the volume
related to the snapshot is set to backing-up during the action
and can't be used for other actions.
When create a backup from a large snapshot, such as larger
than 1 TB, it will cost few hours generally. It's really a
problem that the volume is not available for such a long time.

If the snapshot is provided, we change the status of the snapshot;
otherwise, we change the status of the volume as usual.

This patch added "backing-up" status for snapshot as well

DocImpact

Change-Id: I86d34c470fabbf4132b5e004d9f368e751c893a5
Closes-bug: #1670541
2017-03-21 09:46:33 +08:00
..
api Remove log translations 2017-03-19 14:59:57 +00:00
backup Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
brick Remove log translations 2017-03-19 14:59:57 +00:00
cmd Remove log translations 2017-03-19 14:59:57 +00:00
common Remove log translations 2017-03-19 14:59:57 +00:00
compute Remove TODO related to Nova API version 2017-03-03 11:00:29 -08:00
config Nosec subprocess with shell equal True from Bandit 2017-01-17 08:38:50 -06:00
consistencygroup Merge "Add quota limit check and enhance roll back for cg create" 2017-03-20 13:13:08 +00:00
db Remove log translations 2017-03-19 14:59:57 +00:00
group Remove log translations 2017-03-19 14:59:57 +00:00
hacking Remove hacking check for log translation 2017-03-18 03:00:12 -05:00
image Remove log translations 2017-03-19 14:59:57 +00:00
interface Add the backup variable structure in backup_driver interface 2017-02-15 16:11:31 +08:00
keymgr Remove log translations 2017-03-19 14:59:57 +00:00
locale Imported Translations from Zanata 2016-10-15 07:34:30 +00:00
message Remove log translations 2017-03-19 14:59:57 +00:00
objects Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
scheduler Remove log translations 2017-03-19 14:59:57 +00:00
tests Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
transfer Remove log translations 2017-03-19 14:59:57 +00:00
volume Merge "Fix create_consistencygroup when using CG objects" 2017-03-20 20:45:02 +00:00
wsgi Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
zonemanager Remove log translations 2017-03-19 14:59:57 +00:00
__init__.py Set EVENTLET_NO_GREENDNS for IPv6 and dnspython compat 2016-11-11 13:19:07 -06:00
context.py Remove log translations 2017-03-19 14:59:57 +00:00
coordination.py Remove log translations 2017-03-19 14:59:57 +00:00
exception.py Remove log translations 2017-03-19 14:59:57 +00:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
i18n.py Remove log translations 2017-03-19 14:59:57 +00:00
manager.py Remove log translations 2017-03-19 14:59:57 +00:00
opts.py Merge "Remove Linux SMBFS driver" 2017-03-11 20:16:28 +00:00
policy.py Use to_policy_values for enforcing policy 2016-09-13 01:13:15 +00:00
quota.py Remove log translations 2017-03-19 14:59:57 +00:00
quota_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
rpc.py Remove log translations 2017-03-19 14:59:57 +00:00
service.py Remove log translations 2017-03-19 14:59:57 +00:00
ssh_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
test.py Switch and/or to ternary operator 2017-02-10 10:16:43 -06:00
utils.py Remove log translations 2017-03-19 14:59:57 +00:00
version.py