cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harikrishna Patnala (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-4039) NPE exception while ScaleVMCmd ;when i tried to change SO of a stopped vm on xen
Date Fri, 02 Aug 2013 10:13:48 GMT

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

Harikrishna Patnala reassigned CLOUDSTACK-4039:
-----------------------------------------------

    Assignee: Harikrishna Patnala
    
> NPE exception while ScaleVMCmd ;when i tried to change SO of a stopped vm on xen
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4039
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4039
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.2.0
>         Environment: xen 6.1
>            Reporter: prashant kumar mishra
>            Assignee: Harikrishna Patnala
>             Fix For: 4.2.0
>
>         Attachments: DB_LOG.rar, screenshot-1.jpg
>
>
> Steps to reproduce
> --------------------------------
> 1-Prepare a CS setup  with xen6.1
> 2-create a SO for cpvm
> 3-disable zone and  change SO using scalevm
> Expected
> ---------------
> SO should get changed 
> Actual
> -----------
> SO is getting changed but hitting NPE
> Logs
> -----------
> 2013-08-02 10:33:18,920 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-21:null)
submit async job-119 = [ 01ee114d-4875-4f93-9377-85c3513b2e36 ], details: AsyncJobVO {id:119,
userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.ScaleVMCmd,
cmdOriginator: null, cmdInfo: {"id":"98922cc4-8f54-4770-802f-cbab622c8fba","response":"json","serviceofferingid":"1db62193-a936-4a4d-b997-040cc54b632c","sessionkey":"VuBqe2DbIvWXqsQhQ+zdXplfMkE\u003d","cmdEventType":"VM.UPGRADE","ctxUserId":"2","httpmethod":"GET","_":"1375434522617","ctxAccountId":"2","ctxStartEventId":"460"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7635042566263, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-08-02 10:33:18,924 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END===
 10.252.192.53 -- GET  command=scaleVirtualMachine&id=98922cc4-8f54-4770-802f-cbab622c8fba&serviceofferingid=1db62193-a936-4a4d-b997-040cc54b632c&response=json&sessionkey=VuBqe2DbIvWXqsQhQ%2BzdXplfMkE%3D&_=1375434522617
> 2013-08-02 10:33:18,928 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-119
= [ 01ee114d-4875-4f93-9377-85c3513b2e36 ]) Executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
for job-119 = [ 01ee114d-4875-4f93-9377-85c3513b2e36 ]
> 2013-08-02 10:33:18,940 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-26:job-119 = [
01ee114d-4875-4f93-9377-85c3513b2e36 ]) ControlledEntity name is:com.cloud.vm.VirtualMachine
> 2013-08-02 10:33:18,942 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-26:job-119 = [
01ee114d-4875-4f93-9377-85c3513b2e36 ]) ControlledEntity name is:com.cloud.uservm.UserVm
> 2013-08-02 10:33:18,945 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-26:job-119 = [
01ee114d-4875-4f93-9377-85c3513b2e36 ]) ControlledEntity name is:com.cloud.network.router.VirtualRouter
> 2013-08-02 10:33:18,949 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-26:job-119 = [
01ee114d-4875-4f93-9377-85c3513b2e36 ]) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
> 2013-08-02 10:33:19,067 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-119
= [ 01ee114d-4875-4f93-9377-85c3513b2e36 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> java.lang.NullPointerException
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1162)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:102)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         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-08-02 10:33:19,083 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-119
= [ 01ee114d-4875-4f93-9377-85c3513b2e36 ]) Complete async job-119 = [ 01ee114d-4875-4f93-9377-85c3513b2e36
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
> 2013-08-02 10:33:22,144 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
 10.252.192.53 -- GET  command=queryAsyncJobResult&jobId=01ee114d-4875-4f93-9377-85c3513b2e36&response=json&sessionkey=VuBqe2DbIvWXqsQhQ%2BzdXplfMkE%3D&_=1375434525957
> 2013-08-02 10:33:22,165 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-3:null)
Async job-119 = [ 01ee114d-4875-4f93-9377-85c3513b2e36 ] completed

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