新上传的模板创建虚拟机时候报错如下

2014-08-28 23:06:01,468 INFO  [c.c.v.VirtualMachineManagerImpl]
(Job-Executor-23:ctx-85baed4a ctx-cbfc652b) Unable to contact resource.

com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is
unreachable: Unable to create Vol[16|vm=12|ROOT]:Unable to copy template to
primary storage due to exception:Exception: java.io.FileNotFoundException

Message:
/mnt/SecStorage/9a44c271-50e6-3112-a0a4-dbe0d55469d0/template/tmpl/2/206/xp-
disk1.vmdk (No such file or directory)

 

         at
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume
(VolumeOrchestrator.java:1202)

         at
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(Volume
Orchestrator.java:1254)

         at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManage
rImpl.java:962)

         at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:761)

         at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:
601)

         at
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirt
ualMachine(VMEntityManagerImpl.java:228)

         at
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deplo
y(VirtualMachineEntityImpl.java:207)

         at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:35
81)

         at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:31
61)

         at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:31
47)

         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)

 

经查发现二级存储上模板文件后面带了一连串的0,名称如下

xp-disk1.vmdk.000000000

 

有人知道这事怎么回事么?

 

该问题只发生在测试xp模板上,其他模板都正常,不带这些00000000

 

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

回复