[ https://issues.apache.org/jira/browse/CLOUDSTACK-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769750#comment-13769750 ]
Sangeetha Hariharan edited comment on CLOUDSTACK-4650 at 9/17/13 6:19 PM: -------------------------------------------------------------------------- Tested with latest build from 4.2-forward: Deploy a VM. stop the VM. Take a snapshot of the root Volume of this VM. When snapshot is still in progress,Start VM. With the latest build , I notice that Vm transitions to "Starting" state immediately ( not waiting for the snapshot to complete. But "Applying dhcp entry" command waits for the 2013-09-17 09:49:14,313 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-33:job-33 = [ 9169a8f9-5a7 a-4fbc-b411-3392069de14b ]) Applying dhcp entry in network Ntwk[208|Guest|8] 2013-09-17 09:49:14,331 DEBUG [agent.transport.Request] (Job-Executor-33:job-33 = [ 9169a8f9-5a7a-4fbc-b411-3392069de14b ] ) Seq 4-1459228195: Waiting for Seq 1459228193 Scheduling: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10011 1, [{"com.cloud.agent.api.routing.DhcpEntryCommand":{"vmMac":"02:00:21:b5:00:03","vmIpAddress":"10.1.1.76","vmName":"sange e-2","defaultRouter":"10.1.1.1","defaultDns":"10.1.1.1","duid":"00:03:00:01:02:00:21:b5:00:03","isDefault":true,"executeIn Sequence":true,"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.name":"r-6-VM","router .ip":"169.254.2.36"},"wait":0}}] } Snapshot CopyCommand: ) Seq 4-1459228193: Sending { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.sto rage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"3afc7aab-595b-4663-8dd0-9 5c525f0cb5b","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudsta ck.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","ho st":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"pa th":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hyperviso rType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a 3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1" ,"port":2049}},"vmName":"i-3-7-VM","name":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"destTO": {"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/3/7","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48 812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-3 8fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campog a/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"v mName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hypervisorType":"XenServer"},"dataStore":{"com.cloud.agent.api.to.N fsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campoga/secondary1/","_role":"Image"}},"vmName":"i-3-7-VM","name ":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"executeInSequence":true,"wait":21600}}] } 2013-09-17 09:49:10,937 DEBUG [agent.transport.Request] (Job-Executor-32:job-32 = [ 95fff352-59dd-46ee-9a30-011233595b67 ] ) Seq 4-1459228193: Executing: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100111, [{"org.apache.cloudstack. storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"3afc7aab-595b-4663-8dd 0-95c525f0cb5b","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloud stack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem", "host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-7","size":21474836480, "path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hyperv isorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3 -3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primar y1","port":2049}},"vmName":"i-3-7-VM","name":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"destT O":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/3/7","volume":{"uuid":"76d866db-540d-4bf0-9bda- a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f10 0-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/cam poga/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7 ,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hypervisorType":"XenServer"},"dataStore":{"com.cloud.agent.api.t o.NfsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campoga/secondary1/","_role":"Image"}},"vmName":"i-3-7-VM","n ame":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"executeInSequence":true,"wait":21600}}] } This is because we have the execute.in.sequence.hypervisor.commands and execute.in.sequence.network.element.commands set to "true" by default. Volume remains in "Snapshotting" state only when volume copy happens in the primary storage. 013-09-17 10:47:22,417 INFO [user.snapshot.CreateSnapshotCmd] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) VOLSS: createSnapshotCmd starts:137944004 2417 2013-09-17 10:47:22,489 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Sending { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"f670170c-dab1-449a-aa90-74c448b34289","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-8","size":21474836480,"path":"6ffe5c22-fb4b-43d3-9020-c9128a921de0","volumeId":8,"vmName":"i-3-8-VM","accountId":3,"format":"VHD","id":8,"hypervisorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"vmName":"i-3-8-VM","name":"sangee-3_ROOT-8_20130917174722","hypervisorType":"XenServer","id":3}},"wait":0}}] } 2013-09-17 10:47:22,489 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Executing: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"f670170c-dab1-449a-aa90-74c448b34289","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-8","size":21474836480,"path":"6ffe5c22-fb4b-43d3-9020-c9128a921de0","volumeId":8,"vmName":"i-3-8-VM","accountId":3,"format":"VHD","id":8,"hypervisorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"vmName":"i-3-8-VM","name":"sangee-3_ROOT-8_20130917174722","hypervisorType":"XenServer","id":3}},"wait":0}}] } 2013-09-17 10:47:22,490 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-265:null) Seq 4-1459228400: Executing request 2013-09-17 10:47:23,126 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM 2013-09-17 10:47:23,142 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is ready to launch secondary storage VM 2013-09-17 10:47:23,622 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy 2013-09-17 10:47:23,628 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is ready to launch console proxy 2013-09-17 10:47:24,156 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-265:null) Seq 4-1459228400: Response Received: 2013-09-17 10:47:24,157 DEBUG [agent.transport.Request] (DirectAgent-265:null) Seq 4-1459228400: Processing: { Ans: , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"24123b07-642c-45b4-8255-77c630819119","id":0}},"result":true,"wait":0}}] } 2013-09-17 10:47:24,157 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Received: { Ans: , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10, { CreateObjectAnswer } When execute.in.sequence.hypervisor.commands and execute.in.sequence.network.element.commands set to "false" , we see that the starting of VM NOT waiting for snapshot to complete anymore. was (Author: sangeethah): Tested with latest build from 4.2-forward: Deploy a VM. stop the VM. Take a snapshot of the root Volume of this VM. When snapshot is still in progress,Start VM. With the latest build , I notice that Vm transitions to "Starting" state immediately ( not waiting for the snapshot to complete. But "Applying dhcp entry" command waits for the 2013-09-17 09:49:14,313 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-33:job-33 = [ 9169a8f9-5a7 a-4fbc-b411-3392069de14b ]) Applying dhcp entry in network Ntwk[208|Guest|8] 2013-09-17 09:49:14,331 DEBUG [agent.transport.Request] (Job-Executor-33:job-33 = [ 9169a8f9-5a7a-4fbc-b411-3392069de14b ] ) Seq 4-1459228195: Waiting for Seq 1459228193 Scheduling: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10011 1, [{"com.cloud.agent.api.routing.DhcpEntryCommand":{"vmMac":"02:00:21:b5:00:03","vmIpAddress":"10.1.1.76","vmName":"sange e-2","defaultRouter":"10.1.1.1","defaultDns":"10.1.1.1","duid":"00:03:00:01:02:00:21:b5:00:03","isDefault":true,"executeIn Sequence":true,"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.name":"r-6-VM","router .ip":"169.254.2.36"},"wait":0}}] } Snapshot CopyCommand: ) Seq 4-1459228193: Sending { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.sto rage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"3afc7aab-595b-4663-8dd0-9 5c525f0cb5b","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudsta ck.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","ho st":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"pa th":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hyperviso rType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a 3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1" ,"port":2049}},"vmName":"i-3-7-VM","name":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"destTO": {"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/3/7","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48 812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-3 8fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campog a/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"v mName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hypervisorType":"XenServer"},"dataStore":{"com.cloud.agent.api.to.N fsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campoga/secondary1/","_role":"Image"}},"vmName":"i-3-7-VM","name ":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"executeInSequence":true,"wait":21600}}] } 2013-09-17 09:49:10,937 DEBUG [agent.transport.Request] (Job-Executor-32:job-32 = [ 95fff352-59dd-46ee-9a30-011233595b67 ] ) Seq 4-1459228193: Executing: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100111, [{"org.apache.cloudstack. storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"3afc7aab-595b-4663-8dd 0-95c525f0cb5b","volume":{"uuid":"76d866db-540d-4bf0-9bda-a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloud stack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem", "host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-7","size":21474836480, "path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hyperv isorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3 -3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primar y1","port":2049}},"vmName":"i-3-7-VM","name":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"destT O":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/3/7","volume":{"uuid":"76d866db-540d-4bf0-9bda- a48812de7edc","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f10 0-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/cam poga/primary1","port":2049}},"name":"ROOT-7","size":21474836480,"path":"d24a078c-267e-4695-b68f-94800fec668a","volumeId":7 ,"vmName":"i-3-7-VM","accountId":3,"format":"VHD","id":7,"hypervisorType":"XenServer"},"dataStore":{"com.cloud.agent.api.t o.NfsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campoga/secondary1/","_role":"Image"}},"vmName":"i-3-7-VM","n ame":"sangee-2_ROOT-7_20130917164909","hypervisorType":"XenServer","id":2}},"executeInSequence":true,"wait":21600}}] } This is because we have the execute.in.sequence.hypervisor.commands and execute.in.sequence.network.element.commands set to "true" by default. Volume remains in "Snapshotting" state only when volume copy happens in the primary storage. 013-09-17 10:47:22,417 INFO [user.snapshot.CreateSnapshotCmd] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) VOLSS: createSnapshotCmd starts:137944004 2417 2013-09-17 10:47:22,489 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Sending { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"f670170c-dab1-449a-aa90-74c448b34289","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-8","size":21474836480,"path":"6ffe5c22-fb4b-43d3-9020-c9128a921de0","volumeId":8,"vmName":"i-3-8-VM","accountId":3,"format":"VHD","id":8,"hypervisorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"vmName":"i-3-8-VM","name":"sangee-3_ROOT-8_20130917174722","hypervisorType":"XenServer","id":3}},"wait":0}}] } 2013-09-17 10:47:22,489 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Executing: { Cmd , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"f670170c-dab1-449a-aa90-74c448b34289","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"name":"ROOT-8","size":21474836480,"path":"6ffe5c22-fb4b-43d3-9020-c9128a921de0","volumeId":8,"vmName":"i-3-8-VM","accountId":3,"format":"VHD","id":8,"hypervisorType":"XenServer"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a7218dd-f100-38fc-b9f3-3a3cbc7fc3e3","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campoga/primary1","port":2049}},"vmName":"i-3-8-VM","name":"sangee-3_ROOT-8_20130917174722","hypervisorType":"XenServer","id":3}},"wait":0}}] } 2013-09-17 10:47:22,490 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-265:null) Seq 4-1459228400: Executing request 2013-09-17 10:47:23,126 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM 2013-09-17 10:47:23,142 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is ready to launch secondary storage VM 2013-09-17 10:47:23,622 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy 2013-09-17 10:47:23,628 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is ready to launch console proxy 2013-09-17 10:47:24,156 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-265:null) Seq 4-1459228400: Response Received: 2013-09-17 10:47:24,157 DEBUG [agent.transport.Request] (DirectAgent-265:null) Seq 4-1459228400: Processing: { Ans: , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"24123b07-642c-45b4-8255-77c630819119","id":0}},"result":true,"wait":0}}] } 2013-09-17 10:47:24,157 DEBUG [agent.transport.Request] (Job-Executor-36:job-36 = [ 2e711112-a48f-466e-9715-a6f774695e71 ]) Seq 4-1459228400: Received: { Ans: , MgmtId: 161197867246747, via: 4, Ver: v1, Flags: 10, { CreateObjectAnswer } > When volume Snapshot is still in progress for root volume, restarting Vm > waits for the snapshot to be completed before it can be started. > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4650 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4650 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.1 > Environment: Build from 4.2-forward. > Reporter: Sangeetha Hariharan > Assignee: edison su > Fix For: 4.2.1 > > Attachments: snapshot.rar > > > When volume Snapshot is still in progress for root volume, restarting Vm > waits for the snapshot to be completed before it was be started. > Steps to recreate the problem: > Deploy a VM. > Take a snapshot of the root Volume of this VM. > When snapshot is still in progress , stop the VM. > Start VM. > Notice that the VM state is in "Stopped" state and transitions to "Starting" > state only when the volume snapshot is completed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira