cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edison su (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-2591) Object_Store_Refactor - Not able to migrate volumes between primary storage that is cluster-wide to a zone-wide primary storage.
Date Tue, 21 May 2013 01:08:13 GMT

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

edison su closed CLOUDSTACK-2591.
---------------------------------

    Resolution: Later

Master branch will have the same issue, can't migrate volumes if one of storage is zone wide.
Fix it later.
                
> Object_Store_Refactor - Not able to migrate volumes between primary storage that is cluster-wide
to a zone-wide primary storage.
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2591
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2591
>             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: Buidl from object_store
>            Reporter: Sangeetha Hariharan
>             Fix For: 4.2.0
>
>
> Object_Store_Refactor - Not able to migrate volumes between primary storages with in
the same cluster.
> Steps to reproduce the problem:
> Set up:
> Advanced zone with NFS secondary storage and 1 primary storage ps1 for cluster1.
> Deploy a VM.
> Add 1 more primary storage ps2 at zone level.
> Stop the Vm.
> Migrate volume from ps1 to ps2.
> This action fails with "Command failed due to Internal Server Error"
> api logs:
> 2013-05-20 14:57:23,647 INFO  [cloud.api.ApiServer] (catalina-exec-19:null) (userId=2
accountId=2 sessionI
> d=C595C79BDCCB72ED81018E9C7FD3FD31) 10.217.252.128 -- GET command=migrateVirtualMachine&storageid=3f302dc0
> -452a-30a0-9115-69c5c1e2b39d&virtualmachineid=d38d76a2-4a31-484b-9b43-7f11dbc78dde&response=json&sessionke
> y=Obc59D67KcZYrCEk35NLgMNbhoI%3D&_=1369090469818 200 { "migratevirtualmachineresponse"
: {"jobid":"3d59799
> 9-fc68-4d4a-8f20-83ff2d5580e5"} }
> 2013-05-20 14:57:26,719 INFO  [cloud.api.ApiServer] (catalina-exec-21:null) (userId=2
accountId=2 sessionI
> d=C595C79BDCCB72ED81018E9C7FD3FD31) 10.217.252.128 -- GET command=queryAsyncJobResult&jobId=3d597999-fc68-
> 4d4a-8f20-83ff2d5580e5&response=json&sessionkey=Obc59D67KcZYrCEk35NLgMNbhoI%3D&_=1369090473109
200 { "quer
> yasyncjobresultresponse" : {"accountid":"89db33ec-c193-11e2-8a23-6a01c7e420f0","userid":"89dc6e24-c193-11e
> 2-8a23-6a01c7e420f0","cmd":"org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd","jobstatus":2,"jobpro
> cstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Command
> failed due to Internal Server Error"},"created":"2013-05-20T14:57:23-0700","jobid":"3d597999-fc68-4d4a-8f2
> 0-83ff2d5580e5"} }
> management-server logs:
> 2013-05-20 14:57:23,545 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START===
 10.217.252.128 -
> - GET  command=migrateVirtualMachine&storageid=3f302dc0-452a-30a0-9115-69c5c1e2b39d&virtualmachineid=d38d7
> 6a2-4a31-484b-9b43-7f11dbc78dde&response=json&sessionkey=Obc59D67KcZYrCEk35NLgMNbhoI%3D&_=1369090469818
> 2013-05-20 14:57:23,644 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-19:null)
submit async job-1
> 5, details: AsyncJobVO {id:15, userId: 2, accountId: 2, sessionKey: null, instanceType:
None, instanceId:
> null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdOriginator: null,
cmdInfo: {"respon
> se":"json","sessionkey":"Obc59D67KcZYrCEk35NLgMNbhoI\u003d","virtualmachineid":"d38d76a2-4a31-484b-9b43-7f
> 11dbc78dde","ctxUserId":"2","storageid":"3f302dc0-452a-30a0-9115-69c5c1e2b39d","httpmethod":"GET","_":"136
> 9090469818","ctxAccountId":"2","ctxStartEventId":"53"}, cmdVersion: 0, callbackType:
0, callbackAddress: n
> ull, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 206915885079359,
completeMsid: nu
> ll, lastUpdated: null, lastPolled: null, created: null}
> 2013-05-20 14:57:23,645 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-15)
Executing org.apa
> che.cloudstack.api.command.admin.vm.MigrateVMCmd for job-15
> 2013-05-20 14:57:23,647 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END===
 10.217.252.128 --
> GET  command=migrateVirtualMachine&storageid=3f302dc0-452a-30a0-9115-69c5c1e2b39d&virtualmachineid=d38d76a
> 2-4a31-484b-9b43-7f11dbc78dde&response=json&sessionkey=Obc59D67KcZYrCEk35NLgMNbhoI%3D&_=1369090469818
> 2013-05-20 14:57:23,663 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-15)
Unexpected except
> ion while executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
> java.lang.NullPointerException
>         at com.cloud.vm.UserVmManagerImpl.vmStorageMigration(UserVmManagerImpl.java:3492)
>         at org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd.execute(MigrateVMCmd.java:149)
>         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-20 14:57:23,672 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-15)
Complete async jo
> b-15, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null

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