nova/nova/tests/unit/compute
Lee Yarwood a270eeeb9b compute: Allow snapshots to be created from PAUSED volume backed instances
Iabeb44f843c3c04f767c4103038fcf6c52966ff3 allowed snapshots to be
created from PAUSED non-volume backed instances but missed the volume
backed use case.

This change simply adds PAUSED to the list of acceptable vm_states when
creating a snapshot from a volume backed instance in addition to the
already supported ACTIVE, STOPPED and SUSPENDED vm_states.

Closes-Bug: #1878583
Change-Id: I9f95a054de9d43ecaa50ff7ffc9343490e212d53
(cherry picked from commit cfde53e4b4)
2020-05-19 09:46:57 +01:00
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04:00
__init__.py
eventlet_utils.py
fake_resource_tracker.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_claims.py Rename Claims resources to compute_node 2019-09-23 13:45:03 -04:00
test_compute.py Merge "Pass allocations to virt drivers when resizing" 2020-04-20 19:16:59 +00:00
test_compute_api.py compute: Allow snapshots to be created from PAUSED volume backed instances 2020-05-19 09:46:57 +01:00
test_compute_mgr.py Update scheduler instance info at confirm resize 2020-05-18 11:29:24 +00:00
test_compute_utils.py Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
test_compute_xen.py Remove mox in nova/tests/unit/virt/xenapi/stubs.py 2018-06-21 23:59:39 +00:00
test_flavors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00
test_host_api.py Merge "Remove service_uuids_online_data_migration" 2019-11-18 21:01:45 +00:00
test_instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
test_keypairs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_multi_cell_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
test_provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py partial support for live migration with specific resources 2020-04-07 13:12:53 +00:00
test_rpcapi.py Bump compute rpcapi version and reduce Cyborg calls. 2020-03-31 00:24:00 -07:00
test_shelve.py Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Add a way to exit early from a wait_for_instance_event() 2019-12-02 07:00:26 -08:00