cinder/cinder/tests/unit/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 Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_backup.py Convert backup_device to OVO 2016-11-08 16:49:53 +01:00
test_base.py Add VolumeAttachStatus Enum 2016-11-09 17:10:27 -06:00
test_cgsnapshot.py Update OVO instance on destroy method call 2016-07-22 17:54:00 +02:00
test_cleanable.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
test_cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
test_cluster.py Remove duplicate key from dictionary 2017-03-09 17:19:57 +05:30
test_consistencygroup.py Remove cgsnapshot_id before snapshot.save 2016-12-03 16:23:43 -05:00
test_fields.py Add VolumeAttachStatus Enum 2016-11-09 17:10:27 -06:00
test_group.py Add generic volume groups 2016-07-16 19:34:39 -04:00
test_group_snapshot.py Add group snapshots - db and objects 2016-07-18 22:19:10 -04:00
test_group_type.py Add group type and group specs 2016-07-08 14:26:39 -04:00
test_manageable_volumes_snapshots.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
test_objects.py Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
test_qos.py Test: Fix assert_has_calls dict order bug (QoS) 2017-01-23 10:58:28 -05:00
test_service.py Add is_up property to service and cluster objects 2016-11-29 12:33:16 +02:00
test_snapshot.py Don't change volume's status when create backups from snapshots 2017-03-21 09:46:33 +08:00
test_volume.py Merge "Allow snapshots and volumes to have Null group values" 2017-01-20 15:11:08 +00:00
test_volume_attachment.py Add get_all capability to volume_attachments 2016-12-16 14:25:21 -07:00
test_volume_type.py Use ovo instead of dict 2017-02-13 06:23:52 +00:00