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 F244210C78 for ; Fri, 26 Jul 2013 15:35:56 +0000 (UTC) Received: (qmail 1111 invoked by uid 500); 26 Jul 2013 15:35:52 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 1076 invoked by uid 500); 26 Jul 2013 15:35:52 -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 989 invoked by uid 500); 26 Jul 2013 15:35:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 925 invoked by uid 99); 26 Jul 2013 15:35:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 15:35:50 +0000 Date: Fri, 26 Jul 2013 15:35:50 +0000 (UTC) From: "Sudha Ponnaganti (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-2291) [BasicZone-XenServer] NPE while trying DeleteNetworkCmd 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-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudha Ponnaganti updated CLOUDSTACK-2291: ----------------------------------------- Assignee: venkata swamybabu budumuru > [BasicZone-XenServer] NPE while trying DeleteNetworkCmd > ------------------------------------------------------- > > Key: CLOUDSTACK-2291 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2291 > 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 > Environment: commit 0e2ffe72aa641f4551cae63fbc36454c5934342f > Reporter: venkata swamybabu budumuru > Assignee: venkata swamybabu budumuru > Fix For: 4.2.0 > > Attachments: logs.tgz > > > Steps to reproduce : > 1. Have at least one basic zone created with Xen Cluster using "EIP/ELB Offering" > mysql> select * from network_offerings where id=15\G > *************************** 1. row *************************** > id: 15 > name: EIPOffering > uuid: 6207d909-c780-4661-8a61-7e397aad7b77 > unique_name: EIPOffering > display_text: EIPOffering > nw_rate: NULL > mc_rate: 10 > traffic_type: Guest > tags: NULL > system_only: 0 > specify_vlan: 1 > service_offering_id: NULL > conserve_mode: 0 > created: 2013-04-24 17:23:07 > removed: NULL > default: 0 > availability: Optional > dedicated_lb_service: 0 > shared_source_nat_service: 0 > sort_key: 0 > redundant_router_service: 0 > state: Enabled > guest_type: Shared > elastic_ip_service: 1 > eip_associate_public_ip: 0 > elastic_lb_service: 1 > specify_ip_ranges: 1 > inline: 0 > is_persistent: 0 > 2. Deleted all the entities like secondary storage, primary storage, host, cluster then tried to deleteNetwork and it failed with the following NPE > 2013-04-30 10:00:50,131 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-23:job-220) Unexpected exception while executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd > java.lang.NullPointerException > at com.cloud.network.rules.RulesManagerImpl.createStaticNatForIp(RulesManagerImpl.java:1387) > at com.cloud.network.rules.RulesManagerImpl.applyStaticNatForIp(RulesManagerImpl.java:1316) > at com.cloud.network.rules.RulesManagerImpl.revokeAllPFAndStaticNatRulesForIp(RulesManagerImpl.java:1062) > at com.cloud.network.NetworkManagerImpl.cleanupIpResources(NetworkManagerImpl.java:2837) > at com.cloud.network.NetworkManagerImpl.applyIpAssociations(NetworkManagerImpl.java:493) > at com.cloud.network.NetworkManagerImpl.cleanupNetworkResources(NetworkManagerImpl.java:3123) > at com.cloud.network.NetworkManagerImpl.destroyNetwork(NetworkManagerImpl.java:2296) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1574) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:70) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > Attaching the db dump along with all other logs. -- 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