cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Tripathi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6037) NPE: createZone is failing
Date Fri, 07 Feb 2014 09:08:19 GMT

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

Sanjay Tripathi commented on CLOUDSTACK-6037:
---------------------------------------------

This issue got fixed with the below mentioned Hugo's commit:

commit 64c61c720234676300f0295285342bbd45686fa6
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Date:   Thu Feb 6 16:49:52 2014 +0100

    Fix two NPE exceptions in the Contrail Plugin when contrail is not providing any services
on the network.


> NPE: createZone is failing
> --------------------------
>
>                 Key: CLOUDSTACK-6037
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6037
>             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: simulator
>            Reporter: Srikanteswararao Talluri
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> createzone is leading to null pointer exception
> ===START===  0:0:0:0:0:0:0:1 -- GET  apiKey=KFzBif3dP05fiswvBQinoXhTuCIJ1486joeuFF00K4t4NRfASfuO3NAu91V0_RaCDa-2-iRO-1RS1yTQY7-OVA&name=Sandbox-simulator&guestcidraddress=10.1.1.0%2F24&dns1=10.147.28.6&response=json&command=createZone&signature=r1GVuOmky%2Fe%2BD2PrYuU2DGtmgtI%3D&networktype=Advanced&internaldns1=10.147.28.6
> 2014-02-06 01:26:24,561 WARN  [c.c.a.d.ParamGenericValidationWorker] (1098327041@qtp-873745902-11:ctx-e309a5b3
ctx-288e38c3 ctx-8e4c188b) Received unkown parameters for command createzoneresponse. Unknown
parameters : signature apikey
> 2014-02-06 01:26:24,595 DEBUG [o.a.c.e.o.NetworkOrchestrator] (1098327041@qtp-873745902-11:ctx-e309a5b3
ctx-288e38c3 ctx-8e4c188b) Releasing lock for Acct[25788f1c-8e9d-11e3-8e98-062a00000033-system]
> 2014-02-06 01:26:24,624 DEBUG [c.c.u.d.T.Transaction] (1098327041@qtp-873745902-11:ctx-e309a5b3
ctx-288e38c3 ctx-8e4c188b) Rolling back the transaction: Time = 50 Name =  1098327041@qtp-873745902-11;
called by -TransactionLegacy.rollback:903-TransactionLegacy.removeUpTo:846-TransactionLegacy.close:670-Transaction.execute:41-Transaction.execute:46-ConfigurationManagerImpl.createZone:1782-ConfigurationManagerImpl.createZone:1922-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:57-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:601-AopUtils.invokeJoinpointUsingReflection:317
> 2014-02-06 01:26:24,643 ERROR [c.c.a.ApiServer] (1098327041@qtp-873745902-11:ctx-e309a5b3
ctx-288e38c3 ctx-8e4c188b) unhandled exception executing api command: createZone
> java.lang.NullPointerException
> at org.apache.cloudstack.network.contrail.management.ContrailGuru.canHandle(ContrailGuru.java:99)
> at org.apache.cloudstack.network.contrail.management.ContrailGuru.design(ContrailGuru.java:119)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.setupNetwork(NetworkOrchestrator.java:636)
> at com.cloud.configuration.ConfigurationManagerImpl.createDefaultSystemNetworks(ConfigurationManagerImpl.java:1865)
> at com.cloud.configuration.ConfigurationManagerImpl$6.doInTransaction(ConfigurationManagerImpl.java:1795)
> at com.cloud.configuration.ConfigurationManagerImpl$6.doInTransaction(ConfigurationManagerImpl.java:1782)
> at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
> at com.cloud.configuration.ConfigurationManagerImpl.createZone(ConfigurationManagerImpl.java:1782)
> at com.cloud.configuration.ConfigurationManagerImpl.createZone(ConfigurationManagerImpl.java:1922)
> 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:601)
> 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 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 $Proxy112.createZone(Unknown Source)
> at org.apache.cloudstack.api.command.admin.zone.CreateZoneCmd.execute(CreateZoneCmd.java:170)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:109)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:528)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
> at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:329)
> 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:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> 2014-02-06 01:26:24,655 DEBUG [c.c.a.ApiServlet] (1098327041@qtp-873745902-11:ctx-e309a5b3
ctx-288e38c3 ctx-8e4c188b) ===END===  0:0:0:0:0:0:0:1 -- GET  apiKey=KFzBif3dP05fiswvBQinoXhTuCIJ1486joeuFF00K4t4NRfASfuO3NAu91V0_RaCDa-2-iRO-1RS1yTQY7-OVA&name=Sandbox-simulator&guestcidraddress=10.1.1.0%2F24&dns1=10.147.28.6&response=json&command=createZone&signature=r1GVuOmky%2Fe%2BD2PrYuU2DGtmgtI%3D&networktype=Advanced&internaldns1=10.147.28.6



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message