You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sateesh Chodapuneedi (JIRA)" <ji...@apache.org> on 2013/07/28 08:37:48 UTC

[jira] [Resolved] (CLOUDSTACK-3053) Template creation from snapshot is failing on VMware setup

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sateesh Chodapuneedi resolved CLOUDSTACK-3053.
----------------------------------------------

    Resolution: Fixed
    
> Template creation from snapshot is failing on VMware setup
> ----------------------------------------------------------
>
>                 Key: CLOUDSTACK-3053
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3053
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: VMware  ESXI-5.1 ;Setup is on  top of commit "5a8a2a259ea6e049b3e5810ff3a432d6ca7767e1"
>            Reporter: prashant kumar mishra
>            Assignee: Sateesh Chodapuneedi
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: DB_Logs.rar
>
>
> Step to reproduce
> --------------------------
> 1-Prepare cloudstack setup with  VMware host
> 2-Deploy a  vm
> 3-take a snapshot of root disk
> 4-Try to create a template from snapshot
> Expected
> -------------
> Template creation should be successful
> Actual
> -----------
> Template creation is failing 
> My observation
> ----------------------
> 1-did not see this issue in kvm zone
>  2-Volume creation from snapshot is  successful  in vmware zone .
> Snippet of Log
> ---------------------
> 2013-06-18 21:04:35,184 DEBUG [agent.transport.Request] (AgentManager-Handler-6:null) Seq 4-661717266: Processing:  { Ans: , MgmtId: 6805241462820, via: 4, Ver: v1, Flags: 10, [{"storage.CreatePrivateTemplateAnswer":{"_virtualSize":0,"_physicalSize":0,"result":false,"details":"CreatePrivateTemplateFromSnapshotCommand exception: java.lang.Exception: unable to copy snapshot vmdk file /mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/snapshots/2/13/ to /mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/207\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.createTemplateFromSnapshot(VmwareStorageManagerImpl.java:765)\ncom.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:438)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.execute(VmwareSecondaryStorageResourceHandler.java:137)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:79)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)\ncom.cloud.agent.Agent.processRequest(Agent.java:525)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\njava.lang.Thread.run(Thread.java:679)\n","wait":0}}] }
> 2013-06-18 21:04:35,187 DEBUG [agent.transport.Request] (Job-Executor-17:job-67) Seq 4-661717266: Received:  { Ans: , MgmtId: 6805241462820, via: 4, Ver: v1, Flags: 10, { CreatePrivateTemplateAnswer } }
> 2013-06-18 21:04:35,240 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-17:job-67) Complete async job-67, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.TemplateResponse@3c726211
> 2013-06-18 21:04:35,251 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-17:job-67) Done executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-67

--
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