cloudstack/test/integration
Anurag Awasthi b24dc2027c FIX4: Allow ready volumes to be attached to VMs that have never been started once (#71)
With this patch apache/cloudstack@b766bf7 we started tracking disks in attaching state so that other attach request can fail gracefully. However this missed the case where disks were in allocated state but attach was requested.

For the use case where users want to attach disk in allocated state but not ready, we need to have allocated-attaching transition as well. We must take care of returning to the original state - allocated or ready - when attach request has completed.

For the use case of unstarted vm's the disk must proceed as follows - "Allocated" -> Attaching -> Allocated. When VM is started, the disk is "created" and pool is assigned. For the use case of started VMs it's more trivial and disk proceeds as follows - Ready -> Attaching -> Ready.

Test this by creating a VM with "startvm=false", create a disk and try attaching it in allocated state. It would give an exception on latest 4.11 but will be fixed on this patch.
2019-04-23 13:10:09 +05:30
..
component CLOUDSTACK-3009: Fix resource calculation CPU, RAM for accounts. (#3012) 2018-11-13 06:29:08 +05:30
plugins Fix config drive test for Shared Network 2018-09-17 16:33:36 +02:00
smoke FIX4: Allow ready volumes to be attached to VMs that have never been started once (#71) 2019-04-23 13:10:09 +05:30
testpaths CLOUDSTACK-8308 automation test for Delta Snapshot 2017-10-10 19:52:49 +02:00
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00