cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2943) [ZWPS][VMWARE]: NPE while creating volume from snapshot
Date Tue, 02 Jul 2013 07:01:24 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697564#comment-13697564
] 

Srikanteswararao Talluri commented on CLOUDSTACK-2943:
------------------------------------------------------

RamG, logs are already attached, please find it with name archive.zip
                
> [ZWPS][VMWARE]: NPE while creating volume from snapshot
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-2943
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2943
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Snapshot
>    Affects Versions: 4.2.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: Sateesh Chodapuneedi
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: Archive.zip
>
>
> 1. create a snapshot of a volume which is on zone scoped primary storage
> 2. create a volume from the snapshot created in step1.
> ===START===  10.252.192.7 -- GET  command=createVolume&response=json&sessionkey=WibLOc01S7zuDtvZAhmKpsaufLY%3D&snapshotid=2112f1f0-9fc0-42f5-bde9-900dffeab7df&name=zwpsvol&_=1371021830999
> 2013-06-12 08:48:01,872 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:null)
submit async job-133, details: AsyncJobVO {id:133, userId: 2, accountId: 2, sessionKey: null,
instanceType: Volume, instanceId: 28, cmd: org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd,
cmdOriginator: null, cmdInfo: {"id":"28","response":"json","sessionkey":"WibLOc01S7zuDtvZAhmKpsaufLY\u003d","ctxUserId":"2","snapshotid":"2112f1f0-9fc0-42f5-bde9-900dffeab7df","name":"zwpsvol","httpmethod":"GET","_":"1371021830999","ctxAccountId":"2","ctxStartEventId":"553"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7635042566263, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-06-12 08:48:01,876 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) ===END===
 10.252.192.7 -- GET  command=createVolume&response=json&sessionkey=WibLOc01S7zuDtvZAhmKpsaufLY%3D&snapshotid=2112f1f0-9fc0-42f5-bde9-900dffeab7df&name=zwpsvol&_=1371021830999
> 2013-06-12 08:48:01,879 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-20:job-133)
Executing org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd for job-133
> 2013-06-12 08:48:01,882 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
 10.252.192.7 -- GET  command=queryAsyncJobResult&jobId=0551e5bd-8be0-4ffe-91e5-1a9e65e41284&response=json&sessionkey=WibLOc01S7zuDtvZAhmKpsaufLY%3D&_=1371021831100
> 2013-06-12 08:48:01,941 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===
 10.252.192.7 -- GET  command=queryAsyncJobResult&jobId=0551e5bd-8be0-4ffe-91e5-1a9e65e41284&response=json&sessionkey=WibLOc01S7zuDtvZAhmKpsaufLY%3D&_=1371021831100
> 2013-06-12 08:48:01,987 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-20:job-133)
Storage pool garbage collector found 0 templates to clean up in storage pool: primary
> 2013-06-12 08:48:01,997 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-20:job-133)
Storage pool garbage collector found 0 templates to clean up in storage pool: primary2
> 2013-06-12 08:48:02,004 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-20:job-133)
Storage pool garbage collector found 0 templates to clean up in storage pool: talluri_zonewide
> 2013-06-12 08:48:02,011 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-20:job-133)
Secondary storage garbage collector found 0 templates to cleanup on secondary storage host:
nfs://10.147.28.7/export/home/prashant/secondary.4.2.vmware
> 2013-06-12 08:48:02,028 DEBUG [agent.transport.Request] (Job-Executor-20:job-133) Seq
3-1245184073: Sending  { Cmd , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 100011, [{"CleanupSnapshotBackupCommand":{"secondaryStoragePoolURL":"nfs://10.147.28.7/export/home/prashant/secondary.4.2.vmware","dcId":1,"accountId":2,"volumeId":19,"validBackupUUIDs":["cd638b62-94c5-4c32-a3b6-f684ae95e20f/cd638b62-94c5-4c32-a3b6-f684ae95e20f"],"wait":0}}]
}
> 2013-06-12 08:48:02,183 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null)
Seq 3-1245184073: Processing:  { Ans: , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 10,
[{"Answer":{"result":true,"wait":0}}] }
> 2013-06-12 08:48:02,184 DEBUG [agent.transport.Request] (Job-Executor-20:job-133) Seq
3-1245184073: Received:  { Ans: , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 10, { Answer
} }
> 2013-06-12 08:48:02,197 DEBUG [agent.transport.Request] (Job-Executor-20:job-133) Seq
3-1245184074: Sending  { Cmd , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 100011, [{"CleanupSnapshotBackupCommand":{"secondaryStoragePoolURL":"nfs://10.147.28.7/export/home/prashant/secondary.4.2.vmware","dcId":1,"accountId":2,"volumeId":26,"validBackupUUIDs":["f0c770b2-adf1-4116-95b6-3e3b2f1a6aae/f0c770b2-adf1-4116-95b6-3e3b2f1a6aae"],"wait":0}}]
}
> 2013-06-12 08:48:02,279 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null)
Seq 3-1245184074: Processing:  { Ans: , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 10,
[{"Answer":{"result":true,"wait":0}}] }
> 2013-06-12 08:48:02,280 DEBUG [agent.transport.Request] (Job-Executor-20:job-133) Seq
3-1245184074: Received:  { Ans: , MgmtId: 7635042566263, via: 3, Ver: v1, Flags: 10, { Answer
} }
> 2013-06-12 08:48:02,286 DEBUG [cloud.storage.StorageManagerImpl] (Job-Executor-20:job-133)
Secondary storage garbage collector found 0 templates to cleanup on secondary storage host:
nfs://10.147.28.7/export/home/prashant/secondary.4.2.vmware
> 2013-06-12 08:48:02,299 DEBUG [allocator.impl.UserConcentratedAllocator] (Job-Executor-20:job-133)
There are no pods with enough memory/CPU capacity in zone zone
> 2013-06-12 08:48:02,305 DEBUG [cloud.storage.VolumeManagerImpl] (Job-Executor-20:job-133)
Failed to create volume: 28
> java.lang.NullPointerException
> 	at com.cloud.storage.VolumeManagerImpl.createVolumeFromSnapshot(VolumeManagerImpl.java:528)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at com.cloud.storage.VolumeManagerImpl.createVolumeFromSnapshot(VolumeManagerImpl.java:588)
> 	at com.cloud.storage.VolumeManagerImpl.createVolume(VolumeManagerImpl.java:1012)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at com.cloud.storage.VolumeManagerImpl.createVolume(VolumeManagerImpl.java:166)
> 	at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:174)
> 	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-06-12 08:48:02,354 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-20:job-133)
Complete async job-133, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to create a volume

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