Devdeep Singh created CLOUDSTACK-5869:
-----------------------------------------
Summary: [Hyper-V] VM creation on local storage is failing
Key: CLOUDSTACK-5869
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5869
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Devdeep Singh
Assignee: Devdeep Singh
Priority: Blocker
System vms are not getting deployed on a Hyper-V setup. It fails with the
following stack trace
2014-01-14 13:29:57,627 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-162:ctx-59574cc6) POST response
is[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"org.apache.cloudstack.storage.command.CopyCommand
failed on exception, Error getting value from 'UncPath' on
'HypervResource.PrimaryDataStoreTO'.","newData":null,"contextMap":{}}}]
2014-01-14 13:29:57,628 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-162:ctx-59574cc6) executeRequest received response
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"org.apache.cloudstack.storage.command.CopyCommand
failed on exception, Error getting value from \u0027UncPath\u0027 on
\u0027HypervResource.PrimaryDataStoreTO\u0027.","contextMap":{},"wait":0}}]
2014-01-14 13:29:57,628 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-162:ctx-59574cc6) Seq 5-374407591: Response Received:
2014-01-14 13:29:57,628 DEBUG [c.c.a.t.Request] (DirectAgent-162:ctx-59574cc6)
Seq 5-374407591: Processing: { Ans: , MgmtId: 280320865129348, via: 5, Ver: v1,
Flags: 10,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"org.apache.cloudstack.storage.command.CopyCommand
failed on exception, Error getting value from 'UncPath' on
'HypervResource.PrimaryDataStoreTO'.","wait":0}}] }
2014-01-14 13:29:57,628 DEBUG [c.c.a.t.Request] (Job-Executor-41:ctx-20d66cbd
ctx-b360b710) Seq 5-374407591: Received: { Ans: , MgmtId: 280320865129348, via:
5, Ver: v1, Flags: 10,
{ CopyCmdAnswer }
}
2014-01-14 13:29:57,633 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl]
(Job-Executor-41:ctx-20d66cbd ctx-b360b710) Unsupported data object (VOLUME,
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5bf2f643), no need
to delete from object in store ref table
2014-01-14 13:29:57,633 DEBUG [o.a.c.e.o.VolumeOrchestrator]
(Job-Executor-41:ctx-20d66cbd ctx-b360b710) Unable to create
Vol[23|vm=20|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on
exception, Error getting value from 'UncPath' on
'HypervResource.PrimaryDataStoreTO'.
2014-01-14 13:29:57,633 INFO [c.c.v.VirtualMachineManagerImpl]
(Job-Executor-41:ctx-20d66cbd ctx-b360b710) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:3] is
unreachable: Unable to create
Vol[23|vm=20|ROOT]:org.apache.cloudstack.storage.command.CopyCommand failed on
exception, Error getting value from 'UncPath' on
'HypervResource.PrimaryDataStoreTO'.
at
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1174)
at
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1216)
at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:944)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:747)
at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:593)
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:207)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3572)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3152)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy169.startVirtualMachine(Unknown Source)
at
org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:443)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)