cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cristian Ciobanu" <cristia...@istream.today>
Subject No such file or directory ( ACS 4.8
Date Sun, 10 Apr 2016 19:35:57 GMT
Hello All,

 

       I just installed a new ACS 4.8 with Vmware, but i'm not sure why i
get "No such file or directory"  non of the system templates were created.

 

      Any idea  ?

 

 

2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) Seq 1-887772076545409129: Sending  { Cmd , MgmtId:
345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.
cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr
l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar
e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA","
accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp
layText":"SystemVM Template
(vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1
72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType":
"VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o
rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-
vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O
VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,
"displayText":"SystemVM Template
(vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt
oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF
S","host":"VMFS datastore:
datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore:
datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61
8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque
nce":true,"options":{},"options2":{},"wait":10800}}] }

2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) Seq 1-887772076545409129: Executing:  { Cmd , MgmtId:
345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.
cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr
l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar
e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA","
accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp
layText":"SystemVM Template
(vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1
72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType":
"VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o
rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-
vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O
VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,
"displayText":"SystemVM Template
(vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt
oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF
S","host":"VMFS datastore:
datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore:
datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61
8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque
nce":true,"options":{},"options2":{},"wait":10800}}] }

2016-04-10 15:21:38,409 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-168:ctx-af26db25) (logid:e9d7408e) Seq 1-887772076545409129:
Executing request

2016-04-10 15:21:38,429 INFO  [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Template routing-8 is not setup yet. Set
up template from secondary storage with uuid name:
dfe4d12702053b96bfa64e5a392c640c

2016-04-10 15:21:38,443 INFO  [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Executing
copyTemplateFromSecondaryToPrimary. secondaryStorage:
nfs://172.11.11.2/secondary, templatePathAtSecondaryStorage:
template/tmpl/1/8/, templateName: routing-8

2016-04-10 15:21:38,443 INFO  [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Secondary storage mount point:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca

2016-04-10 15:21:38,443 INFO  [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Executing command: tar --no-same-owner
-xf
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

2016-04-10 15:21:38,443 DEBUG [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Executing: tar --no-same-owner -xf
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

2016-04-10 15:21:38,444 WARN  [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Exception: tar --no-same-owner -xf
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

java.io.IOException: Cannot run program "tar" (in directory
"/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8"): error=2,
No such file or directory

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

        at com.cloud.utils.script.Script.execute(Script.java:198)

        at com.cloud.utils.script.Script.execute(Script.java:166)

        at
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateFromSecondaryT
oPrimary(VmwareStorageProcessor.java:177)

        at
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateToPrimaryStora
ge(VmwareStorageProcessor.java:335)

        at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(Storag
eSubsystemCommandHandlerBase.java:82)

        at
com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(Vmwa
reStorageSubsystemCommandHandler.java:168)

        at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageC
ommands(StorageSubsystemCommandHandlerBase.java:54)

        at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareRes
ource.java:472)

        at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAtta
che.java:315)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo
ntextRunnable.java:49)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa
ultManagedContext.java:56)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon
text(DefaultManagedContext.java:103)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont
ext(DefaultManagedContext.java:53)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont
extRunnable.java:46)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$
201(ScheduledThreadPoolExecutor.java:180)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sch
eduledThreadPoolExecutor.java:293)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
42)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
17)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: error=2, No such file or directory

        at java.lang.UNIXProcess.forkAndExec(Native Method)

        at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)

        at java.lang.ProcessImpl.start(ProcessImpl.java:134)

        ... 22 more

2016-04-10 15:21:38,444 ERROR [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

2016-04-10 15:21:38,444 INFO  [c.c.h.v.u.VmwareHelper]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) [ignored]failed toi get message for
exception: Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

2016-04-10 15:21:38,444 ERROR [c.c.s.r.VmwareStorageProcessor]
(DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475,
cmd: CopyCommand) (logid:e1225ee9) Unable to copy template to primary
storage due to exception:Exception: java.lang.Exception

Message: Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

 

java.lang.Exception: Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

        at
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateFromSecondaryT
oPrimary(VmwareStorageProcessor.java:181)

        at
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateToPrimaryStora
ge(VmwareStorageProcessor.java:335)

        at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(Storag
eSubsystemCommandHandlerBase.java:82)

        at
com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(Vmwa
reStorageSubsystemCommandHandler.java:168)

        at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageC
ommands(StorageSubsystemCommandHandlerBase.java:54)

        at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareRes
ource.java:472)

        at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAtta
che.java:315)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo
ntextRunnable.java:49)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa
ultManagedContext.java:56)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon
text(DefaultManagedContext.java:103)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont
ext(DefaultManagedContext.java:53)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont
extRunnable.java:46)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$
201(ScheduledThreadPoolExecutor.java:180)

        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sch
eduledThreadPoolExecutor.java:293)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
42)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
17)

        at java.lang.Thread.run(Thread.java:745)

2016-04-10 15:21:38,444 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-168:ctx-af26db25) (logid:e1225ee9) Seq 1-887772076545409129:
Response Received:

2016-04-10 15:21:38,444 DEBUG [c.c.a.t.Request]
(DirectAgent-168:ctx-af26db25) (logid:e1225ee9) Seq 1-887772076545409129:
Processing:  { Ans: , MgmtId: 345048635511, via:
1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 110,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"det
ails":"Unable to copy template to primary storage due to
exception:Exception: java.lang.Exception\nMessage: Unable to unpack snapshot
OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a\n","wait":0}}] }

2016-04-10 15:21:38,444 DEBUG [c.c.a.m.AgentAttache]
(DirectAgent-168:ctx-af26db25) (logid:e1225ee9) Seq 1-887772076545409129: No
more commands found

2016-04-10 15:21:38,445 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) Seq 1-887772076545409129: Received:  { Ans: , MgmtId:
345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 110, {
CopyCmdAnswer } }

2016-04-10 15:21:38,448 INFO  [o.a.c.s.v.VolumeServiceImpl]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) releasing lock for VMTemplateStoragePool 171

2016-04-10 15:21:38,449 DEBUG [o.a.c.e.o.VolumeOrchestrator]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) Unable to create Vol[136|vm=136|ROOT]:Unable to copy
template to primary storage due to exception:Exception: java.lang.Exception

Message: Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

 

2016-04-10 15:21:38,449 INFO  [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3)
(logid:e1225ee9) Unable to contact resource.

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

Message: Unable to unpack snapshot OVA file at:
/var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov
a

 

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

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

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

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

        at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.jav
a:107)

        at
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManager
Impl.java:4741)

        at
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)

        at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext
(AsyncJobManagerImpl.java:554)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo
ntextRunnable.java:49)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa
ultManagedContext.java:56)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon
text(DefaultManagedContext.java:103)

        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont
ext(DefaultManagedContext.java:53)

        at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont
extRunnable.java:46)

        at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJob
ManagerImpl.java:502)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
42)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
17)

        at java.lang.Thread.run(Thread.java:745)

 

 

Thank you !

 

Regards,

Cristian

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message