You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Stephen Lamb (JIRA)" <ji...@apache.org> on 2013/12/02 16:48:47 UTC

[jira] [Commented] (CLOUDSTACK-5199) Cannot restart VM after taking a VM snapshot of an existing VM or reverting a VM snapshot

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836624#comment-13836624 ] 

Stephen Lamb commented on CLOUDSTACK-5199:
------------------------------------------

Hi Abhinandan,
We no longer have the complete logs, but here is a snippet of the actual issue in the logs. One thing, it looks like it could be a space issue, but we had plenty of space available so it can't be that.

2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1
2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) Unable to create a deployment for VM[User|TESTVM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:842)
        at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:578)
        at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237)
        at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3406)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:1948)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:120)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)

2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1
2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) Unable to create a deployment for VM[User|TESTVM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:842)
        at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:578)
        at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237)
        at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
2013-11-13 12:59:08,856 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: 1 new host id: null host id before state transition: null
2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1
2013-11-13 12:59:08,883 INFO  [user.vm.StartVMCmd] (Job-Executor-14:job-164 = [ 9ba14934-7d5f-44ce-a566-36e5ee64dc9a ]) Unable to create a deployment for VM[User|TESTVM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|TESTVM]Scope=interface com.cloud.dc.DataCenter; id=1

> Cannot restart VM after taking a VM snapshot of an existing VM or reverting a VM snapshot
> -----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5199
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5199
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.2.0
>            Reporter: Stephen Lamb
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> If I create a VM snapshot or try to revert a VM snapshot, if the VM is stopped for any reason, it cannot be started again. Attempting to start the VM fails with the following error: Unable to create a deployment for VM [User|MyVM]. If I delete the VM snapshot, the VM starts without problems.
> Environment:
> Cloudstack 4.2
> VMWare 5.1
> Individual VMs are running Ubuntu 12.4



--
This message was sent by Atlassian JIRA
(v6.1#6144)