cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Zieba (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4036) UI remains in procesing state and queryAsyncJobResult geting called repeatedly for scaleSystemVm
Date Wed, 06 Nov 2013 15:20:19 GMT

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

Tomasz Zieba commented on CLOUDSTACK-4036:
------------------------------------------

The same situation but in another environment:
- CitrixXen 6.2
- CloudStack 4.2
Process: live migration systemvm's (routers, secondary vm, console proxy) to another host.
Live migration has been done properly but UI never shows that task is finished.
Example logs:
2013-11-06 16:03:15,894 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750202498
2013-11-06 16:03:18,871 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750205498
2013-11-06 16:03:18,892 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-3:null) Async
job-35 = [ dfef21c0-9f20-4aca-87ff-0b736e5e1088 ] completed
2013-11-06 16:03:18,900 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750205498
2013-11-06 16:03:21,865 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) ===START===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750208498
2013-11-06 16:03:21,887 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-1:null) Async
job-35 = [ dfef21c0-9f20-4aca-87ff-0b736e5e1088 ] completed
2013-11-06 16:03:21,895 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750208498
2013-11-06 16:03:24,872 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750211498
2013-11-06 16:03:24,893 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-4:null) Async
job-35 = [ dfef21c0-9f20-4aca-87ff-0b736e5e1088 ] completed
2013-11-06 16:03:24,901 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750211498
2013-11-06 16:03:27,871 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===START===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750214498
2013-11-06 16:03:27,892 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-5:null) Async
job-35 = [ dfef21c0-9f20-4aca-87ff-0b736e5e1088 ] completed
2013-11-06 16:03:27,902 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750214498
2013-11-06 16:03:30,879 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750217498
2013-11-06 16:03:30,901 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-6:null) Async
job-35 = [ dfef21c0-9f20-4aca-87ff-0b736e5e1088 ] completed
2013-11-06 16:03:30,910 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===  172.16.5.107
-- GET  command=queryAsyncJobResult&jobId=dfef21c0-9f20-4aca-87ff-0b736e5e1088&response=json&sessionkey=%2Fm5C3Az7CTH5ZCK2%2FW9znaOOE3w%3D&_=1383750217498


> UI remains in procesing state and queryAsyncJobResult geting called repeatedly for scaleSystemVm
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4036
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4036
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.2.0
>            Reporter: prashant kumar mishra
>            Priority: Critical
>             Fix For: 4.2.1
>
>         Attachments: Logs_DB.rar, screenshot-1.jpg
>
>
> Steps to reproduce
> ==============
> 1-preapre a CS setup with esxi5.1
> 2-create a SO for ssvm
> 3-try scale up ssvm
> Expected
> --------------
> UI should not be in processing state for forever 
> Actual
> ---------
> UI remains in processing state and queryAsyncJobResult is getting called multiple times

> API
> =======
> http://10.147.38.253:8080/client/api?command=scaleSystemVm&id=f367a159-9a44-4e52-b0ca-3f42927b94bb&serviceofferingid=c879cb15-9891-49e6-8c62-3adedbff9f81&response=json&sessionkey=W7FeVMt%2FzpGgr2yIMdyMSmmkuaY%3D&_=1375431841965
> http://10.147.38.253:8080/client/api?command=queryAsyncJobResult&jobId=93104d35-1437-4112-afc2-e0904ed913e8&response=json&sessionkey=W7FeVMt%2FzpGgr2yIMdyMSmmkuaY%3D&_=1375431845734
> { "queryasyncjobresultresponse" : {"accountid":"c1428ce0-fb63-11e2-8004-0618b0000087","userid":"c1435a12-fb63-11e2-8004-0618b0000087","cmd":"org.apache.cloudstack.api.command.admin.systemvm.ScaleSystemVMCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"systemvm":{"id":"f367a159-9a44-4e52-b0ca-3f42927b94bb","systemvmtype":"consoleproxy","zoneid":"8ec4457d-0189-4786-8388-aa53df790ae8","zonename":"zn2","dns1":"10.103.128.16","gateway":"10.147.55.1","name":"v-2-VM","podid":"18ee774e-efa2-44d0-a689-f056d11c0d7a","linklocalmacaddress":"02:00:6d:e0:00:02","publicip":"10.147.55.41","publicmacaddress":"06:42:0a:00:00:0c","publicnetmask":"255.255.255.0","templateid":"876e972a-fb63-11e2-8004-0618b0000087","created":"2013-08-02T17:07:06+0530","state":"Stopped","activeviewersessions":0}},"created":"2013-08-02T19:18:37+0530","jobid":"93104d35-1437-4112-afc2-e0904ed913e8"}
}
> ------
> http://10.147.38.253:8080/client/api?command=queryAsyncJobResult&jobId=93104d35-1437-4112-afc2-e0904ed913e8&response=json&sessionkey=W7FeVMt%2FzpGgr2yIMdyMSmmkuaY%3D&_=1375431849164
> { "queryasyncjobresultresponse" : {"accountid":"c1428ce0-fb63-11e2-8004-0618b0000087","userid":"c1435a12-fb63-11e2-8004-0618b0000087","cmd":"org.apache.cloudstack.api.command.admin.systemvm.ScaleSystemVMCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"systemvm":{"id":"f367a159-9a44-4e52-b0ca-3f42927b94bb","systemvmtype":"consoleproxy","zoneid":"8ec4457d-0189-4786-8388-aa53df790ae8","zonename":"zn2","dns1":"10.103.128.16","gateway":"10.147.55.1","name":"v-2-VM","podid":"18ee774e-efa2-44d0-a689-f056d11c0d7a","linklocalmacaddress":"02:00:6d:e0:00:02","publicip":"10.147.55.41","publicmacaddress":"06:42:0a:00:00:0c","publicnetmask":"255.255.255.0","templateid":"876e972a-fb63-11e2-8004-0618b0000087","created":"2013-08-02T17:07:06+0530","state":"Stopped","activeviewersessions":0}},"created":"2013-08-02T19:18:37+0530","jobid":"93104d35-1437-4112-afc2-e0904ed913e8"}
}
> my obs
> ======
> status of  job is not getting changed even operation went successful 
> ->jobprocstatus":0,"jobresultcode":0



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message