cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5589) [Upgrade 2.2.14->4.3]NPE when performing "upgradeRouterTemplate"
Date Fri, 20 Dec 2013 07:28:06 GMT
manasaveloori created CLOUDSTACK-5589:
-----------------------------------------

             Summary: [Upgrade 2.2.14->4.3]NPE  when performing "upgradeRouterTemplate"
                 Key: CLOUDSTACK-5589
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5589
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Upgrade
    Affects Versions: 4.3.0
         Environment: upgraded from 2.2.14 to Felton with Xen5.6 SP2
            Reporter: manasaveloori
            Priority: Blocker
             Fix For: 4.3.0


Steps:
1.Deploy CS 2.2.14 with Xen 5.6 SP2
2. Create some VRs.
3. Upgrade to Felton.
4. Now the VRs have the option  "Requires upgrade" .
Clicking on the option  is throwing NPE and upgrade fails.

2013-12-20 12:54:59,782 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-078388b9) ===START===
 10.252.193.22 -- GET  command=upgradeRouterTemplate&response=json&sessionkey=AXoBGCgb%2B8R7CB7TTcnVerZjDZA%3D&id=4&_=1387524299527
2013-12-20 12:54:59,790 ERROR [c.c.a.ApiServer] (catalina-exec-14:ctx-078388b9 ctx-bcab24da)
unhandled exception executing api command: upgradeRouterTemplate
java.lang.NullPointerException
        at com.cloud.maint.Version.trimRouterVersion(Version.java:63)
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.checkRouterVersion(VirtualNetworkApplianceManagerImpl.java:4077)
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.rebootRouters(VirtualNetworkApplianceManagerImpl.java:4084)
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.upgradeRouterTemplate(VirtualNetworkApplianceManagerImpl.java:4068)
        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:616)
        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.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 $Proxy240.upgradeRouterTemplate(Unknown Source)
        at org.apache.cloudstack.api.command.admin.router.UpgradeRouterTemplateCmd.execute(UpgradeRouterTemplateCmd.java:134)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:530)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
        at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
        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:111)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
        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-12-20 12:54:59,792 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-078388b9 ctx-bcab24da)
===END===  10.252.193.22 -- GET  command=upgradeRouterTemplate&response=json&sessionkey=AXoBGCgb%2B8R7CB7TTcnVerZjDZA%3D&id=4&_=1387524299527


Attaching the Ms logs



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message