cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-2658) Object_Store_Refactor -VMWARE - Not able to create a template from root volume.
Date Fri, 24 May 2013 00:18:21 GMT

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

Sangeetha Hariharan updated CLOUDSTACK-2658:
--------------------------------------------

    Priority: Blocker  (was: Critical)
    
> Object_Store_Refactor -VMWARE - Not able to create a template from root volume.
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2658
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2658
>             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: Build from object_store
>            Reporter: Sangeetha Hariharan
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Object_Store_Refactor -VMWARE - Not able to create a template from root volume.
> Steps to reproduce the problem:
> Deploy a Vm.
> Stop the Vm.
> Create a template from the root volume of this VM.
> This fails:
> Following exceptions seen in the management server logs:
> 2013-05-23 16:51:13,134 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:null)
submit async job-92, details: AsyncJobVO {id:92, us
> erId: 2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 214, cmd:
org.apache.cloudstack.api.command.user.template.Crea
> teTemplateCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"P+gvqeH5SBRM6P1BzOT3B4mey7A\u003d","volumeId":"672d38b3-07e7-4aa8-aeef-4d8f806c
> 4006","ctxUserId":"2","httpmethod":"GET","osTypeId":"fb9c1aa8-c3e8-11e2-b186-06f4b000042b","isPublic":"true","isfeatured":"true","response"
> :"json","id":"214","displayText":"testfromvol","passwordEnabled":"false","name":"testfromvol","_":"1369353090085","ctxAccountId":"2","ctxSt
> artEventId":"509"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0,
processStatus: 0, resultCode: 0, result: null, initMs
> id: 7647994577963, completeMsid: null, lastUpdated: null, lastPolled: null, created:
null}
> 2013-05-23 16:51:13,141 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-89:job-92)
Executing org.apache.cloudstack.api.command.user.t
> emplate.CreateTemplateCmd for job-92
> 2013-05-23 16:51:13,163 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END===
 10.217.252.128 -- GET  command=createTemplate&respo
> nse=json&sessionkey=P%2BgvqeH5SBRM6P1BzOT3B4mey7A%3D&volumeId=672d38b3-07e7-4aa8-aeef-4d8f806c4006&name=testfromvol&displayText=testfromvol
> &osTypeId=fb9c1aa8-c3e8-11e2-b186-06f4b000042b&isPublic=true&passwordEnabled=false&isfeatured=true&_=1369353090085
> 2013-05-23 16:51:13,454 DEBUG [agent.transport.Request] (Job-Executor-89:job-92) Seq
3-741736513: Sending  { Cmd , MgmtId: 7647994577963, v
> ia: 3, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObje
> ctTO":{"uuid":"672d38b3-07e7-4aa8-aeef-4d8f806c4006","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO"
> :{"uuid":"ed34ab6d-d394-35ee-892c-7fbe3685f300","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeeth
> a/vmware-42/primary","port":2049}},"name":"ROOT-11","size":0,"path":"ROOT-11-11","volumeId":11,"vmName":"i-2-11-VM","accountId":2,"format":
> "OVA","id":11}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/214","uuid":"8ce8292b-876d-4477-ac6f
> -3632ee736f33","id":214,"format":"RAW","accountId":2,"hvm":true,"displayText":"testfromvol","imageDataStore":{"com.cloud.agent.api.to.NfsTO
> ":{"_url":"nfs://10.223.110.232/export/home/sangeetha/vmware-42/secondary","_role":"Image"}},"name":"24c7f62c3-e68d-3fd9-8aea-efaa0cfeaec6"
> }},"wait":10800}}] }
> 2013-05-23 16:51:13,743 DEBUG [agent.transport.Request] (AgentManager-Handler-14:null)
Seq 3-741736513: Processing:  { Ans: , MgmtId: 76479
> 94577963, via: 3, Ver: v1, Flags: 110, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"CreatePrivateTemp
> lateFromVolumeCommand exception: java.lang.NullPointerException\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume
> (VmwareStorageProcessor.java:482)\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:5
> 75)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)\ncom.cloud.storage.r
> esource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\ncom.cloud.storage.resource.Vm
> wareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)\ncom.cloud.storage.resource.PremiumSecond
> aryStorageResource.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.ThreadPoolExecuto
> r.runWorker(ThreadPoolExecutor.java:1146)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\njava.lang.Threa
> d.run(Thread.java:679)\n","wait":0}}] }
> 2013-05-23 16:51:13,744 DEBUG [agent.transport.Request] (Job-Executor-89:job-92) Seq
3-741736513: Received:  { Ans: , MgmtId: 7647994577963
> , via: 3, Ver: v1, Flags: 110, { CopyCmdAnswer } }
> 2013-05-23 16:51:13,775 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-14:null)
Seq 3-741736513: No more commands found
> 2013-05-23 16:51:13,876 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-89:job-92)
Failed to create templateCreatePrivateTemplateF
> romVolumeCommand exception: java.lang.NullPointerException
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:482)
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:575)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
> 2013-05-23 16:51:13,938 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-89:job-92)
Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create templateCreatePrivateTemplateFromVolumeCommand
exception: java.lang.NullPointerException
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:482)
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:575)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
>         at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1426)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:258)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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)
> 2013-05-23 16:51:13,939 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-89:job-92)
Complete async job-92, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to create templateCreatePrivateTemplateFromVolumeCommand exception: java.lang.NullPointerException
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:482)
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:575)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
> 2013-05-23 16:51:15,584 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector
is running...
> 2013-05-23 16:51:15,620 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 3-741736514:
Received:  { Ans: , MgmtId: 7647994577963, via: 3, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
> 2013-05-23 16:51:15,626 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-264:null)
Seq 1-1481376102: Executing request
> 2013-05-23 16:51:15,670 DEBUG [vmware.resource.VmwareResource] (DirectAgent-264:10.223.59.66)
Datastore summary info, storageId: ed34ab6d-d394-35ee-892c-7fbe3685f300, localPath: /export/home/sangeetha/vmware-42/primary,
poolType: NetworkFilesystem, capacity: 11810778316800, free: 2883533012992, used: 8927245303808
> 2013-05-23 16:51:15,671 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-264:null)
Seq 1-1481376102: Response Received:
> 2013-05-23 16:51:15,672 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 1-1481376102:
Received:  { Ans: , MgmtId: 7647994577963, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
> 2013-05-23 16:51:16,213 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) ===START===
 10.217.252.128 -- GET  command=queryAsyncJobResult&jobId=c3344dfd-3c72-4120-b276-20ec2f3447e9&response=json&sessionkey=P%2BgvqeH5SBRM6P1BzOT3B4mey7A%3D&_=1369353093593
> 2013-05-23 16:51:16,222 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-1:null)
Async job-92 completed

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

Mime
View raw message