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 504E3D52C for ; Fri, 17 May 2013 08:58:10 +0000 (UTC) Received: (qmail 97950 invoked by uid 500); 17 May 2013 08:57:33 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 97061 invoked by uid 500); 17 May 2013 08:57: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 95547 invoked by uid 500); 17 May 2013 08:57:14 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 87494 invoked by uid 99); 17 May 2013 08:51:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 08:51:16 +0000 Date: Fri, 17 May 2013 08:51:15 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-2556) NPE while creating persistent network when there are no free Public IP's MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sailaja Mada created CLOUDSTACK-2556: ---------------------------------------- Summary: NPE while creating persistent network when there are no free Public IP's Key: CLOUDSTACK-2556 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2556 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Network Controller Affects Versions: 4.2.0 Reporter: Sailaja Mada Setup: Advanced Networking with VMWARE , MS -RHE 6.3 1. Create persistent network offering 2. Tried to create Persistent Network using the above offering where there no free Public IP's Observation: It failed with NPE. 2013-05-17 14:07:45,904 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-22:null) Sending network shutdown to VirtualRouter 2013-05-17 14:07:45,906 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-22:null) Network id=206 is shutdown successfully, cleaning up corresponding resources now. 2013-05-17 14:07:45,909 DEBUG [network.guru.GuestNetworkGuru] (catalina-exec-22:null) Releasing vnet for the network id=206 2013-05-17 14:07:45,923 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-22:null) Lock is released for network id 206 as a part of network implement 2013-05-17 14:07:45,941 INFO [cloud.api.ApiServer] (catalina-exec-22:null) Insufficient address capacity 2013-05-17 14:07:45,941 ERROR [cloud.api.ApiServer] (catalina-exec-22:null) Exception responding to http request java.lang.NullPointerException at org.apache.cloudstack.api.response.ExceptionResponse.addProxyObject(ExceptionResponse.java:57) at com.cloud.api.ApiServer.getSerializedApiError(ApiServer.java:1073) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:320) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66) 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:2268) 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-05-17 14:07:45,943 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===END=== 10.144.6.19 -- GET command=createNetwork&response=json&sessionkey=fGT1WweKL1SNIo7awJvV9Vf70Tw%3D&zoneId=43d81d64-0e93-4ef7-839d-34cb9bd3a1b9&name=vnmcnw1&displayText=vnmcnw1&networkOfferingId=6179cb18-66ae-4800-b7f3-ae7d12257dcf&_=1368780015277 -- 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