cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Sorensen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1829) NPE while creating snapshot on KVM
Date Thu, 11 Apr 2013 16:15:16 GMT

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

Marcus Sorensen commented on CLOUDSTACK-1829:
---------------------------------------------

Thanks, do you have the agent log as well?
                
> NPE while creating snapshot on KVM
> ----------------------------------
>
>                 Key: CLOUDSTACK-1829
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1829
>             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: Marcus Sorensen
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Create snapshot on KVM zone fails:
>  Executing org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd for job-20
> 2013-03-28 23:35:25,213 DEBUG [agent.transport.Request] (Job-Executor-20:job-20) Seq
1-173801730: Sending  { Cmd , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 100011, [{"ManageSnapshotCommand":{"_commandSwitch":"-c","_volumePath":"460beab4-7a9e-46a8-a731-05b1a0ab6289","_pool":{"id":1,"uuid":"fe2baec4-311a-302c-bac0-1ab7ed2c08f1","host":"10.147.28.7","path":"/export/home/talluri/kvmp","port":2049,"type":"NetworkFilesystem"},"_snapshotName":"two_volume_20130328180524","_snapshotId":4,"_vmName":"i-2-6-VM","wait":0}}]
}
> 2013-03-28 23:35:25,260 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===START===
 10.252.250.64 -- GET  command=queryAsyncJobResult&jobId=cfeefee5-dc11-40d1-a473-1d254c3d4adb&response=json&sessionkey=fBgbfTKbB6aYlrhmnXUliOGoMHk%3D&_=1364474361131
> 2013-03-28 23:35:25,297 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===END===
 10.252.250.64 -- GET  command=queryAsyncJobResult&jobId=cfeefee5-dc11-40d1-a473-1d254c3d4adb&response=json&sessionkey=fBgbfTKbB6aYlrhmnXUliOGoMHk%3D&_=1364474361131
> 2013-03-28 23:35:25,442 DEBUG [agent.transport.Request] (AgentManager-Handler-13:null)
Seq 1-173801730: Processing:  { Ans: , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 10,
[{"ManageSnapshotAnswer":{"_snapshotPath":"/mnt/fe2baec4-311a-302c-bac0-1ab7ed2c08f1/460beab4-7a9e-46a8-a731-05b1a0ab6289/two_volume_20130328180524","result":true,"wait":0}}]
}
> 2013-03-28 23:35:25,443 DEBUG [agent.transport.Request] (Job-Executor-20:job-20) Seq
1-173801730: Received:  { Ans: , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 10, { ManageSnapshotAnswer
} }
> 2013-03-28 23:35:25,555 DEBUG [agent.transport.Request] (Job-Executor-20:job-20) Seq
1-173801731: Sending  { Cmd , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 100011, [{"BackupSnapshotCommand":{"isVolumeInactive":false,"vmName":"i-2-6-VM","snapshotId":4,"secHostId":2,"primaryStoragePoolNameLabel":"fe2baec4-311a-302c-bac0-1ab7ed2c08f1","primaryPool":{"id":1,"uuid":"fe2baec4-311a-302c-bac0-1ab7ed2c08f1","host":"10.147.28.7","path":"/export/home/talluri/kvmp","port":2049,"type":"NetworkFilesystem"},"snapshotUuid":"/mnt/fe2baec4-311a-302c-bac0-1ab7ed2c08f1/460beab4-7a9e-46a8-a731-05b1a0ab6289/two_volume_20130328180524","snapshotName":"two_volume_20130328180524","secondaryStorageUrl":"nfs://10.147.28.7/export/home/talluri/kvms","dcId":1,"accountId":2,"volumeId":5,"volumePath":"460beab4-7a9e-46a8-a731-05b1a0ab6289","wait":21600}}]
}
> 2013-03-28 23:35:25,577 DEBUG [agent.transport.Request] (AgentManager-Handler-15:null)
Seq 1-173801731: Processing:  { Ans: , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 10,
[{"Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:470)\n\tat
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)\n\tat
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePoolByURI(KVMStoragePoolManager.java:96)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:1893)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1131)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\n\tat
com.cloud.utils.nio.Task.run(Task.java:83)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:679)\n","wait":0}}]
}
> 2013-03-28 23:35:25,577 DEBUG [agent.transport.Request] (Job-Executor-20:job-20) Seq
1-173801731: Received:  { Ans: , MgmtId: 7566222426160, via: 1, Ver: v1, Flags: 10, { Answer
} }
> 2013-03-28 23:35:25,578 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job-Executor-20:job-20)
The result for com.cloud.agent.api.BackupSnapshotCommand is java.lang.NullPointerException
>         at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:470)
>         at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)
>         at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePoolByURI(KVMStoragePoolManager.java:96)
>         at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:1893)
>         at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1131)
>         at com.cloud.agent.Agent.processRequest(Agent.java:525)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
>  through 1
> 2013-03-28 23:35:26,062 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===
 10.252.250.64 -- 

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