[jira] [Commented] (CLOUDSTACK-5022) [Automation] Failed to create volume from snapshot in KVM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839976#comment-13839976 ] ASF subversion and git services commented on CLOUDSTACK-5022: - Commit 22422b9ddd3ea1566f66d971307235569bffb003 in branch refs/heads/master from [~dgrizzanti] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=22422b9 ] CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils > [Automation] Failed to create volume from snapshot in KVM > - > > Key: CLOUDSTACK-5022 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5022 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.1 > Environment: KVM (RHEL 6.3) > Build : 4.2 >Reporter: Rayees Namathponnan >Assignee: edison su >Priority: Blocker > Fix For: 4.2.1 > > Attachments: CLOUDSTACK-5022.rar > > > Steps to reproduce > Step 1 : Create snapshot of ROOT volume > Step 2 : Create volume from snapshot > Failed to create volume with below null pointer exception > 2013-11-01 08:19:18,229 DEBUG [agent.transport.Request] > (Job-Executor-147:job-6486 = [ 14b465b9-0c03-4783-866f-1296b20c358b ]) Seq > 1-894971116: Sending { Cmd , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: > 11, > [{"com.cloud.agent.api.routing.IpAssocCommand":{"ipAddresses":[{"accountId":911,"publicIp":"10.223.122.92","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:39:a6:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.113","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.79","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254.0.81","router.name":"r-1662-QA"},"wait":0}}] > } > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (AgentManager-Handler-6:null) Seq 2-877402380: Processing: { Ans: , MgmtId: > 29066118877352, via: 2, Ver: v1, Flags: 110, > [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat > > com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.createVolumeFromSnapshot(KVMStorageProcessor.java:1178)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:86)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\n\tat > > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1286)\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:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\n","wait":0}}] } > 2013-11-01 08:19:18,345 DEBUG [agent.manager.AgentAttache] > (AgentManager-Handler-6:null) Seq 2-877402380: No more commands found > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Seq > 2-877402380: Received: { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1, > Flags: 110, { Answer } } > 2013-11-01 08:19:18,350 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@3918ddd), no > need to delete from object in store ref table > 2013-11-01 08:19:18,372 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Snapshot 38 is not found on image > store 1, so no need to delete > 2013-11-01 08:19:18,372 DEBUG [cloud.storage.VolumeManagerImpl] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Failed > to create volume from snapshot:java.lang.NullPointerException >
[jira] [Commented] (CLOUDSTACK-5022) [Automation] Failed to create volume from snapshot in KVM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837608#comment-13837608 ] ASF subversion and git services commented on CLOUDSTACK-5022: - Commit 03ba659ae7263ca4fdb7c1c0eaccbecdf45594e8 in branch refs/heads/4.2 from [~dgrizzanti] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=03ba659 ] CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils > [Automation] Failed to create volume from snapshot in KVM > - > > Key: CLOUDSTACK-5022 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5022 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.1 > Environment: KVM (RHEL 6.3) > Build : 4.2 >Reporter: Rayees Namathponnan >Assignee: edison su >Priority: Blocker > Fix For: 4.2.1 > > Attachments: CLOUDSTACK-5022.rar > > > Steps to reproduce > Step 1 : Create snapshot of ROOT volume > Step 2 : Create volume from snapshot > Failed to create volume with below null pointer exception > 2013-11-01 08:19:18,229 DEBUG [agent.transport.Request] > (Job-Executor-147:job-6486 = [ 14b465b9-0c03-4783-866f-1296b20c358b ]) Seq > 1-894971116: Sending { Cmd , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: > 11, > [{"com.cloud.agent.api.routing.IpAssocCommand":{"ipAddresses":[{"accountId":911,"publicIp":"10.223.122.92","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:39:a6:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.113","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.79","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254.0.81","router.name":"r-1662-QA"},"wait":0}}] > } > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (AgentManager-Handler-6:null) Seq 2-877402380: Processing: { Ans: , MgmtId: > 29066118877352, via: 2, Ver: v1, Flags: 110, > [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat > > com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.createVolumeFromSnapshot(KVMStorageProcessor.java:1178)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:86)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\n\tat > > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1286)\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:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\n","wait":0}}] } > 2013-11-01 08:19:18,345 DEBUG [agent.manager.AgentAttache] > (AgentManager-Handler-6:null) Seq 2-877402380: No more commands found > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Seq > 2-877402380: Received: { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1, > Flags: 110, { Answer } } > 2013-11-01 08:19:18,350 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@3918ddd), no > need to delete from object in store ref table > 2013-11-01 08:19:18,372 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Snapshot 38 is not found on image > store 1, so no need to delete > 2013-11-01 08:19:18,372 DEBUG [cloud.storage.VolumeManagerImpl] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Failed > to create volume from snapshot:java.lang.NullPointerException >
[jira] [Commented] (CLOUDSTACK-5022) [Automation] Failed to create volume from snapshot in KVM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811641#comment-13811641 ] ASF subversion and git services commented on CLOUDSTACK-5022: - Commit 89206094ae7b5ca083231bb90bf33e01fd9dfbcf in branch refs/heads/4.2 from [~edison] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8920609 ] CLOUDSTACK-5022 - [Automation] Failed to create volume from snapshot in KVM > [Automation] Failed to create volume from snapshot in KVM > - > > Key: CLOUDSTACK-5022 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5022 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.1 > Environment: KVM (RHEL 6.3) > Build : 4.2 >Reporter: Rayees Namathponnan >Assignee: edison su >Priority: Blocker > Fix For: 4.2.1 > > Attachments: CLOUDSTACK-5022.rar > > > Steps to reproduce > Step 1 : Create snapshot of ROOT volume > Step 2 : Create volume from snapshot > Failed to create volume with below null pointer exception > 2013-11-01 08:19:18,229 DEBUG [agent.transport.Request] > (Job-Executor-147:job-6486 = [ 14b465b9-0c03-4783-866f-1296b20c358b ]) Seq > 1-894971116: Sending { Cmd , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: > 11, > [{"com.cloud.agent.api.routing.IpAssocCommand":{"ipAddresses":[{"accountId":911,"publicIp":"10.223.122.92","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:39:a6:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.113","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"},{"accountId":911,"publicIp":"10.223.122.79","sourceNat":false,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"1221","vlanGateway":"10.223.122.65","vlanNetmask":"255.255.255.192","vifMacAddress":"06:52:bb:00:00:55","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"169.254.0.81","router.name":"r-1662-QA"},"wait":0}}] > } > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (AgentManager-Handler-6:null) Seq 2-877402380: Processing: { Ans: , MgmtId: > 29066118877352, via: 2, Ver: v1, Flags: 110, > [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat > > com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.createVolumeFromSnapshot(KVMStorageProcessor.java:1178)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:86)\n\tat > > com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\n\tat > > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1286)\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:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\n","wait":0}}] } > 2013-11-01 08:19:18,345 DEBUG [agent.manager.AgentAttache] > (AgentManager-Handler-6:null) Seq 2-877402380: No more commands found > 2013-11-01 08:19:18,345 DEBUG [agent.transport.Request] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Seq > 2-877402380: Received: { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1, > Flags: 110, { Answer } } > 2013-11-01 08:19:18,350 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@3918ddd), no > need to delete from object in store ref table > 2013-11-01 08:19:18,372 WARN > [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-120:job-6487 = > [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Snapshot 38 is not found on image > store 1, so no need to delete > 2013-11-01 08:19:18,372 DEBUG [cloud.storage.VolumeManagerImpl] > (Job-Executor-120:job-6487 = [ f6fbb88e-1fe1-4507-9406-b8e62d9e1f70 ]) Failed > to create volume from snapshot:java.lang.NullPointerException > at > com.clo