cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saksham Srivastava (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1992) Cannot deploy VM from template on VMWare, no issues when deploying from ISO
Date Wed, 10 Apr 2013 06:28:15 GMT
Saksham Srivastava created CLOUDSTACK-1992:
----------------------------------------------

             Summary: Cannot deploy VM from template on VMWare, no issues when deploying from
ISO
                 Key: CLOUDSTACK-1992
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1992
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: VMware
    Affects Versions: 4.1.0
            Reporter: Saksham Srivastava


I am unable to deploy VMs from built-in template/registered templates. However no issue observed
while deploying VMs with ISO.

Failing with following error:

WARN  [agent.manager.AgentManagerImpl] (Job-Executor-2:job-34) Unsupported Command: Unsupported
command issued:com.cloud.agent.api.storage.PrimaryStorageDownloadCommand.  Are you sure you
got the right type of server?
ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-2:job-34) Failed to start instance
VM[User|3e8592c8-09d5-4768-bedf-1117d9d3e3b8]
java.lang.ClassCastException: com.cloud.agent.api.UnsupportedAnswer cannot be cast to com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
	at com.cloud.template.TemplateManagerImpl.prepareTemplateForCreate(TemplateManagerImpl.java:647)
	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
	at com.cloud.storage.StorageManagerImpl.createVolume(StorageManagerImpl.java:3582)
	at com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3473)
	at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:748)
	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
	at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212)
	at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3860)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444)
	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
	at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
	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:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
INFO  [vmware.resource.VmwareResource] (DirectAgent-23:10.102.192.10) Executing resource StopCommand:
{"isProxy":false,"vmName":"i-2-14-VM","wait":0}
INFO  [vmware.resource.VmwareResource] (DirectAgent-23:10.102.192.10) VM i-2-14-VM is no longer
in vSphere
WARN  [user.vm.DeployVMCmd] (Job-Executor-2:job-34) Exception: 
com.cloud.exception.AgentUnavailableException: Resource [Host:2] is unreachable: Host 2: Unable
to start instance due to com.cloud.agent.api.UnsupportedAnswer cannot be cast to com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
	at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:841)
	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
	at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212)
	at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3860)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444)
	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
	at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
	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:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassCastException: com.cloud.agent.api.UnsupportedAnswer cannot be cast
to com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
	at com.cloud.template.TemplateManagerImpl.prepareTemplateForCreate(TemplateManagerImpl.java:647)
	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
	at com.cloud.storage.StorageManagerImpl.createVolume(StorageManagerImpl.java:3582)
	at com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3473)
	at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:748)



--
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

Mime
View raw message