[
https://issues.apache.org/jira/browse/CLOUDSTACK-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelven Yang resolved CLOUDSTACK-4546.
-------------------------------------
Resolution: Invalid
> [Vmware] - Unable to deploy guest VM
> ------------------------------------
>
> Key: CLOUDSTACK-4546
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4546
> 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: MS 10.223.195.52 build 554
> host ESXi 5.0
> Vcenter DC d1 c1 host1
> Reporter: angeline shen
> Priority: Blocker
> Fix For: 4.2.1
>
> Attachments: management-server.log.gz
>
>
> 1. advance zone. After guest VM template downloaded, unable to deploy guest
> VM:
> 2013-08-28 17:02:09,697 DEBUG [agent.manager.AgentAttache]
> (AgentManager-Handler-9:null) Seq 2-390135955: No more commands found
> 2013-08-28 17:02:09,706 INFO [storage.volume.VolumeServiceImpl]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) releasing
> lock for VMTemplateStoragePool 5
> 2013-08-28 17:02:09,706 WARN [utils.db.Merovingian2] (Job-Executor-16:job-16
> = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Was unable to find lock for the
> key template_spool_ref5 and thread id 1874961927
> 2013-08-28 17:02:09,706 DEBUG [cloud.storage.VolumeManagerImpl]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Unable to
> create Vol[7|vm=6|ROOT]:Unable to copy template to primary storage due to
> exception:Exception: javax.xml.ws.soap.SOAPFaultException
> Message:
> Error returned by expat parser: not well-formed (invalid token)
> while parsing serialized value of type string
> at line 1, column 189
> while parsing call information for method CreateImportSpec
> at line 1, column 110
> while parsing SOAP body
> at line 1, column 102
> while parsing SOAP envelope
> at line 1, column 38
> while parsing HTTP request for method createImportSpec
> on object of type vim.OvfManager
> at line 1, column 0
> 2013-08-28 17:02:09,706 INFO [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Unable to
> contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:3] is
> unreachable: Unable to create Vol[7|vm=6|ROOT]:Unable to copy template to
> primary storage due to exception:Exception:
> javax.xml.ws.soap.SOAPFaultException
> Message:
> Error returned by expat parser: not well-formed (invalid token)
> while parsing serialized value of type string
> at line 1, column 189
> while parsing call information for method CreateImportSpec
> at line 1, column 110
> while parsing SOAP body
> at line 1, column 102
> while parsing SOAP envelope
> at line 1, column 38
> while parsing HTTP request for method createImportSpec
> on object of type vim.OvfManager
> at line 1, column 0
> at
> com.cloud.storage.VolumeManagerImpl.recreateVolume(VolumeManagerImpl.java:2534)
> at
> com.cloud.storage.VolumeManagerImpl.prepare(VolumeManagerImpl.java:2582)
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:888)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:578)
> at
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:227)
> 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:2966)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2952)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
> 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:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> 2013-08-28 17:02:09,710 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Cleaning
> up resources for the vm VM[User|0f23e751-453f-4bfa-b1f3-f9cf9bc62ef7] in
> Starting state
> 2013-08-28 17:02:09,712 DEBUG [agent.transport.Request]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Seq
> 1-2118517001: Sending { Cmd , MgmtId: 7343890761426, via: 1, Ver: v1, Flags:
> 100111,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-6-VM","wait":0}}]
> }
> 2013-08-28 17:02:09,712 DEBUG [agent.transport.Request]
> (Job-Executor-16:job-16 = [ fadabfa8-3d60-4d6f-9016-4e430107faff ]) Seq
> 1-2118517001: Executing: { Cmd , MgmtId: 7343890761426, via: 1, Ver: v1,
> Flags: 100111,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-6-VM","wait":0}}]
> }
> 2013-08-28 17:02:09,712 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-47:null) Seq 1-2118517001: Executing request
> 2013-08-28 17:02:09,712 INFO [vmware.resource.VmwareResource]
> (DirectAgent-47:10.223.51.3) Executing resource StopCommand:
> {"isProxy":false,"executeInSequence":true,"vmName":"i-2-6-VM","wait":0}
> 2013-08-28 17:02:09,712 DEBUG [vmware.mo.HostMO] (DirectAgent-47:10.223.51.3)
> find VM i-2-6-VM on host
> 2013-08-28 17:02:09,712 INFO [vmware.mo.HostMO] (DirectAgent-47:10.223.51.3)
> VM i-2-6-VM not found in host cache
> 2013-08-28 17:02:09,712 DEBUG [vmware.mo.HostMO] (DirectAgent-47:10.223.51.3)
> load VM cache on host
> 2013-08-28 17:02:09,773 INFO [vmware.resource.VmwareResource]
> (DirectAgent-47:10.223.51.3) VM i-2-6-VM is no longer in vSphere
> 2013-08-28 17:02:09,773 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-47:null) Seq 1-2118517001: Response Received:
> 2013-08-28 17:02:09,774 DEBUG [agent.transport.Request] (DirectAgent-47:null)
> Seq 1-2118517001: Processing: { Ans: , MgmtId: 7343890761426, via
--
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