You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prachi Damle (JIRA)" <ji...@apache.org> on 2014/04/03 23:45:22 UTC
[jira] [Assigned] (CLOUDSTACK-6329) [Automation] Changing service
offering of VM from medium to small failing with NPE
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prachi Damle reassigned CLOUDSTACK-6329:
----------------------------------------
Assignee: Prachi Damle
> [Automation] Changing service offering of VM from medium to small failing with NPE
> ----------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6329
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6329
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.4.0
> Environment: KVM RHEL 6.3
> Branch : 4.4
> Reporter: Rayees Namathponnan
> Assignee: Prachi Damle
> Priority: Blocker
> Fix For: 4.4.0
>
> Attachments: CLOUDSTACK-6329.rar
>
>
> BVT test case integration.smoke.test_service_offerings.TestServiceOfferings.test_04_change_offering_small failing with NPE
> Steps to reproduce
> Step1 : Deploy VM with medium service offering
> Step 2 : Stop VM
> Step 3 : Change service offering to small
> Result
> Changing service offering form medium to small to fail with NPE
> 2014-04-02 11:34:04,518 DEBUG [c.c.a.ApiServlet] (catalina-exec-1:ctx-00b246df) ===START=== 10.223.240.194 -- GET apiKey=t3Wyi-p5OTh1n5J_y-x8QpwEqHpnyde1729HI5LLHvH5Bd4XU5nEg5n7i6xOIhZOECZ3KcKYnakvdI5hkneqrg&response=json&command=changeServiceForVirtualMachine&signature=8RnocQEdntrvQbXnRzrm7ClVEJ0%3D&id=66cf4028-7823-4e58-9f6c-528705883235&serviceofferingid=0e3ba7a3-960a-42fb-b55f-2d633a4338bf
> 2014-04-02 11:34:04,534 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) Root Access granted to Acct[027223ec-ba90-11e3-b505-1a6f7bb0d0a8-admin] by RoleBasedEntityAccessChecker
> 2014-04-02 11:34:04,546 DEBUG [c.c.a.d.ParamProcessWorker] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) ControlledEntity name is:com.cloud.vm.VirtualMachine
> 2014-04-02 11:34:04,548 DEBUG [c.c.a.d.ParamProcessWorker] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) ControlledEntity name is:com.cloud.uservm.UserVm
> 2014-04-02 11:34:04,549 DEBUG [c.c.a.d.ParamProcessWorker] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) ControlledEntity name is:com.cloud.network.router.VirtualRouter
> 2014-04-02 11:34:04,564 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) Access to {VM[User|i-7-7-QA]VM[User|QA-66cf4028-7823-4e58-9f6c-528705883235]} granted to Acct[7c5b6ac2-a1df-4795-80cd-08ecebd988b5-admin] by RoleBasedEntityAccessChecker
> 2014-04-02 11:34:04,581 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) Access to {VM[User|i-7-7-QA]} granted to Acct[7c5b6ac2-a1df-4795-80cd-08ecebd988b5-admin] by RoleBasedEntityAccessChecker
> 2014-04-02 11:34:04,589 ERROR [c.c.a.ApiServer] (catalina-exec-1:ctx-00b246df ctx-70a5893d ctx-5c44000f) unhandled exception executing api command: [Ljava.lang.String;@28637070
> java.lang.NullPointerException
> at com.cloud.vm.VirtualMachineManagerImpl.isVirtualMachineUpgradable(VirtualMachineManagerImpl.java:2370)
> at com.cloud.vm.VirtualMachineManagerImpl.checkIfCanUpgrade(VirtualMachineManagerImpl.java:3340)
> at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:806)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at com.sun.proxy.$Proxy205.upgradeVirtualMachine(Unknown Source)
> at org.apache.cloudstack.api.command.admin.vm.UpgradeVMCmdByAdmin.execute(UpgradeVMCmdByAdmin.java:50)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:134)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:593)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
> at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
> at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
--
This message was sent by Atlassian JIRA
(v6.2#6252)