cinder/cinder/objects
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
..
__init__.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
backup.py Improve DB method naming consistency 2016-12-13 19:23:05 +01:00
base.py Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
cgsnapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cleanable.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
cluster.py Make Replication support Active-Active 2017-01-19 10:42:18 +01:00
consistencygroup.py CG API changes for migrating CGs 2016-11-22 19:08:20 -05:00
fields.py Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
group.py Support A/A in delete actions and get_capabilities 2016-12-07 11:09:42 +01:00
group_snapshot.py Add filter, sorter and pagination for group snapshot 2017-03-15 13:46:27 +00:00
group_type.py OVO: OPTIONAL_FIELDS should be moved inside the OVO 2016-09-28 04:41:00 +00:00
manageableresources.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
qos_specs.py Remove log translations 2017-03-19 14:59:57 +00:00
request_spec.py Remove unused config.CONF 2016-08-30 10:01:46 +08:00
service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
snapshot.py Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
volume.py Remove cgsnapshot_id before snapshot.save 2016-12-03 16:23:43 -05:00
volume_attachment.py Add new attachment APIS 2017-01-20 11:47:10 -07:00
volume_type.py Use ovo instead of dict 2017-02-13 06:23:52 +00:00