cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishan Kavala (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-7401) [LXC] storage migration for LXC VMs are failing
Date Wed, 27 Aug 2014 07:40:58 GMT

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

Kishan Kavala updated CLOUDSTACK-7401:
--------------------------------------

    Issue Type: Improvement  (was: Bug)

> [LXC] storage migration for LXC VMs are failing
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-7401
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7401
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM
>    Affects Versions: 4.5.0
>            Reporter: shweta agarwal
>            Assignee: Kishan Kavala
>             Fix For: 4.5.0
>
>
> Repro steps :
> Create a LXC VM in a zone having two primary shared storage
> stop the vm
> Migrate the root disk of VM to another Primary storage
> Bug:
> migration fails with java NPE
> Expection :
> either enable storage migration or gracefully handle it  by giving proper message
> MS log shows :
> 2014-08-22 16:37:03,606 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] (Work-Job-Executor-117:ctx-b8749277
job-640/job-641 ctx-3675a1df) Can't find staging storage in zone: 2
> 2014-08-22 16:37:03,662 DEBUG [c.c.a.t.Request] (Work-Job-Executor-117:ctx-b8749277 job-640/job-641
ctx-3675a1df) Seq 2-5838635441909144321: Sending  { Cmd , MgmtId: 233845178472597, via: 2(Rack3Pod1Host42),
Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"1317fed3-0666-45b4-8849-0316206c58e7","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"2a4208e2-8f5e-3b6a-bede-315c90250d0a","id":6,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/shweta/goleta.lxc.primary1","port":2049,"url":"NetworkFilesystem://10.147.28.7/export/home/shweta/goleta.lxc.primary1/?ROLE=Primary&STOREUUID=2a4208e2-8f5e-3b6a-bede-315c90250d0a"}},"name":"ROOT-76","size":550604800,"path":"1317fed3-0666-45b4-8849-0316206c58e7","volumeId":80,"vmName":"i-2-76-VM","accountId":2,"provisioningType":"THIN","id":80,"deviceId":0,"hypervisorType":"LXC"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"1317fed3-0666-45b4-8849-0316206c58e7","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/shweta/goleta.lxc.secondary","_role":"Image"}},"name":"ROOT-76","size":550604800,"path":"volumes/2/80","volumeId":80,"vmName":"i-2-76-VM","accountId":2,"provisioningType":"THIN","id":80,"deviceId":0,"hypervisorType":"LXC"}},"executeInSequence":false,"options":{},"wait":10800}}]
}
> 2014-08-22 16:37:03,665 DEBUG [c.c.a.t.Request] (AgentManager-Handler-2:null) Seq 2-5838635441909144321:
Processing:  { Ans: , MgmtId: 233845178472597, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat
com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyVolumeFromPrimaryToSecondary(KVMStorageProcessor.java:438)\n\tat
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:89)\n\tat
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:53)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1356)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:503)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:810)\n\tat
com.cloud.utils.nio.Task.run(Task.java:84)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:744)\n","wait":0}}]
}
> 2014-08-22 16:37:03,665 DEBUG [c.c.a.t.Request] (Work-Job-Executor-117:ctx-b8749277 job-640/job-641
ctx-3675a1df) Seq 2-5838635441909144321: Received:  { Ans: , MgmtId: 233845178472597, via:
2, Ver: v1, Flags: 10, { Answer } }
> 2014-08-22 16:37:03,665 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (Work-Job-Executor-117:ctx-b8749277
job-640/job-641 ctx-3675a1df) copy to image store failed: java.lang.NullPointerException
>         at com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyVolumeFromPrimaryToSecondary(KVMStorageProcessor.java:438)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:89)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:53)
>         at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1356)
>         at com.cloud.agent.Agent.processRequest(Agent.java:503)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:810)
>         at com.cloud.utils.nio.Task.run(Task.java:84)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-08-22 16:37:03,755 DEBUG [c.c.a.t.Request] (Work-Job-Executor-117:ctx-b8749277 job-640/job-641
ctx-3675a1df) Seq 8-6198078987168646567: Sending  { Cmd , MgmtId: 233845178472597, via: 8(s-34-VM),
Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"1317fed3-0666-45b4-8849-0316206c58e7","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/shweta/goleta.lxc.secondary","_role":"Image"}},"name":"ROOT-76","size":550604800,"volumeId":80,"vmName":"i-2-76-VM","accountId":2,"provisioningType":"THIN","id":80,"deviceId":0,"hypervisorType":"LXC"}},"wait":0}}]
}
> 2014-08-22 16:37:03,798 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:null) Seq 8-6198078987168646567:
Processing:  { Ans: , MgmtId: 233845178472597, via: 8, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"details":"Object
with null install path does not exist on image store , no need to delete","wait":0}}] }
> 2014-08-22 16:37:03,798 DEBUG [c.c.a.t.Request] (Work-Job-Executor-117:ctx-b8749277 job-640/job-641
ctx-3675a1df) Seq 8-6198078987168646567: Received:  { Ans: , MgmtId: 233845178472597, via:
8, Ver: v1, Flags: 10, { Answer } }
> 2014-08-22 16:37:03,799 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-117:ctx-b8749277
job-640/job-641 ctx-3675a1df) Volume 80 is not found on image store 2, so no need to delete
>                                                                                     
                                    



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message