Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A985114EE for ; Thu, 3 Apr 2014 21:45:42 +0000 (UTC) Received: (qmail 63367 invoked by uid 500); 3 Apr 2014 21:45:32 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 62082 invoked by uid 500); 3 Apr 2014 21:45:27 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 61782 invoked by uid 500); 3 Apr 2014 21:45:23 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 61723 invoked by uid 99); 3 Apr 2014 21:45:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 21:45:22 +0000 Date: Thu, 3 Apr 2014 21:45:22 +0000 (UTC) From: "Prachi Damle (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-6329) [Automation] Changing service offering of VM from medium to small failing with NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)