cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Gadaria <refond.g...@gmail.com>
Subject Re: Failed to create a template
Date Wed, 26 Feb 2014 10:38:20 GMT
Hi Sailaja,

Thanks for replay,

I am always running Management server under root.
Do I need to delete stale systemvm.iso and try it?

Regards,
Tejas



On Wed, Feb 26, 2014 at 2:52 PM, Sailaja Mada <sailaja.mada@citrix.com>wrote:

> Hi,
>
> This seems similar to the bug @
> https://issues.apache.org/jira/browse/CLOUDSTACK-3604  . It is root
> caused to permissions set on the folder.
>
> Can you please check the permissions set on the secondary storage folder .
>
> Thanks,
> Sailaja.M
>
> -----Original Message-----
> From: Tejas Gadaria [mailto:refond.gmrt@gmail.com]
> Sent: 26 February 2014 14:45
> To: users@cloudstack.apache.org; dev@cloudstack.apache.org
> Subject: Failed to create a template
>
> Hi,
>
> I am trying to create template on vmware with CS 4.0.2, its giving
>
> 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request]
> (AgentManager-Handler-1:null) Seq 39-1804402824: Processing:  { Ans: ,
> MgmtId: 345051457089, via: 39, Ver: v1, Flags: 10,
> [{"storage.CreatePrivateTemplateAnswer":{"_virtualSize":0,"_physicalSize":0,"result":false,"details":"CreatePrivateTemplateFromVolumeCommand
> exception: java.lang.Exception: unable to prepare template directory:
> template/tmpl/4/256, storage: nfs://10.129.150.25/vol/Cloud/Secondary,
> error msg: mkdir: cannot create directory
> `/mnt/SecStorage/72b70605-0c7c-37af-bb6e-4cf0b65760db/template/tmpl/4/256':
> Permission
>
> denied\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.createTemplateFromVolume(VmwareStorageManagerImpl.java:497)\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:277)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:121)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:73)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:54)\ncom.cloud.agent.Agent.processRequest(Agent.java:518)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\njava.lang.Thread.run(Thread.java:662)\n","wait":0}}]
> }
> 2014-02-26 14:21:44,578 DEBUG [agent.transport.Request]
> (Job-Executor-7:job-99) Seq 39-1804402824: Received:  { Ans: , MgmtId:
> 345051457089, via: 39, Ver: v1, Flags: 10, { CreatePrivateTemplateAnswer }
> }
> 2014-02-26 14:21:44,718 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) VmStatsCollector is running...
> 2014-02-26 14:21:44,727 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-278:null) Seq 28-1947018449: Executing request
> 2014-02-26 14:21:44,782 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-294:null) Seq 21-1191253522: Response Received:
> 2014-02-26 14:21:44,782 DEBUG [agent.transport.Request]
> (StatsCollector-2:null) Seq 21-1191253522: Received:  { Ans: , MgmtId:
> 345051457089, via: 21, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
> 2014-02-26 14:21:44,786 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-222:null) Seq 28-1947018450: Executing request
> 2014-02-26 14:21:44,801 ERROR [cloud.api.ApiDispatcher]
> (Job-Executor-7:job-99) Exception while executing CreateTemplateCmd:
> com.cloud.utils.exception.CloudRuntimeException: Failed to create a
> template
>     at
>
> com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:1662)
>     at
>
> com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231)
>     at
>
> com.cloud.vm.UserVmManagerImpl.createPrivateTemplate(UserVmManagerImpl.java:237)
>     at
>
> com.cloud.api.commands.CreateTemplateCmd.execute(CreateTemplateCmd.java:265)
>     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>     at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
>     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)
> 2014-02-26 14:21:44,801 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-7:job-99) Complete async job-99, jobStatus: 2, resultCode:
> 530, result: Error Code: 530 Error text: Failed to create a template
>
>
> Need help
>
> Regards,
> Tejas
>

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