cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2567) NPE when scaling of VM on unsupported hypervisor
Date Wed, 22 May 2013 10:06:20 GMT

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

ASF subversion and git services commented on CLOUDSTACK-2567:
-------------------------------------------------------------

Commit a67728b312fbf3a4e6e7f7fb3914a45d22997dbf in branch refs/heads/master from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a67728b ]

CLOUDSTACK-2567 - check for ! dmcEnabled.

                
> NPE when scaling of VM on unsupported hypervisor
> ------------------------------------------------
>
>                 Key: CLOUDSTACK-2567
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2567
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, XenServer
>    Affects Versions: 4.2.0
>            Reporter: Prasanna Santhanam
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> When running the scaleVM test on xen 6.0.2 server which doesn't have dynamic memory control
enabled following NullPointerException is observed:
> http://jenkins.buildacloud.org/job/test-smoke-matrix/suite=test_scale_vm/277/testReport/integration.smoke.test_scale_vm/TestScaleVm/test_01_scale_vm/
> Error Message
> Check service offering of the VM
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestScaleVm: DEBUG: Scaling VM-ID: 8d58d33d-0732-494e-ae69-e807d62d92c8
to service offering: a06578e2-28e9-47a8-9a42-74f60650aa5a
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_scale_vm/test/integration/smoke/test_scale_vm.py",
line 213, in test_01_scale_vm
>     "Check service offering of the VM"
>   File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
>     assertion_func(first, second, msg=msg)
>   File "/usr/local/lib/python2.7/unittest/case.py", line 902, in assertMultiLineEqual
>     self.fail(self._formatMessage(msg, standardMsg))
>   File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
>     raise self.failureException(msg)
> Check service offering of the VM
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestScaleVm: DEBUG: Scaling VM-ID: 8d58d33d-0732-494e-ae69-e807d62d92c8
to service offering: a06578e2-28e9-47a8-9a42-74f60650aa5a
> --------------------- >> end captured logging << ---------------------
> 2013-05-18 15:28:37,451 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-38:job-38)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> java.lang.NullPointerException
>         at com.cloud.vm.VirtualMachineManagerImpl.upgradeVmDb(VirtualMachineManagerImpl.java:2776)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1154)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1084)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:92)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         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:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)

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