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 684381141D for ; Fri, 10 May 2013 09:23:20 +0000 (UTC) Received: (qmail 34692 invoked by uid 500); 10 May 2013 09:23:19 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 34301 invoked by uid 500); 10 May 2013 09:23:18 -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 34277 invoked by uid 500); 10 May 2013 09:23:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 34253 invoked by uid 99); 10 May 2013 09:23:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 09:23:17 +0000 Date: Fri, 10 May 2013 09:23:17 +0000 (UTC) From: "Jayapal Reddy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-2426) NTier: Fail to Recreate Same Private Gateway on a different VPC after its deletion on the Original VPC 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-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayapal Reddy reassigned CLOUDSTACK-2426: ----------------------------------------- Assignee: Jayapal Reddy > NTier: Fail to Recreate Same Private Gateway on a different VPC after its deletion on the Original VPC > ------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-2426 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2426 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: Chandan Purushothama > Assignee: Jayapal Reddy > Priority: Critical > Fix For: 4.2.0 > > > =============== > Steps to Reproduce: > =============== > 1. Create a VPC. > 2. Create a Private Gateway to the VPC. > 3. Destroy the Private Gateway to the VPC. > 4. Destroy the VPC > 5. Create a new VPC. > 6. Create the same Private Gateway to the new VPC. > =========== > Observations: > =========== > ------------------------------------------ > Create Private Gateway Job: > ------------------------------------------ > 2013-05-09 12:20:02,928 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START=== 10.216.132.104 -- GET command=createPrivateGateway&response=json&sessionkey=lMcnNOW2wddmq1ynzV%2Ff%2B22%2BvuQ%3D&physicalnetworkid=aa64a672-74cc-4498-a0e9-5cbb333a141f&vpcid=1906e89d-a8ab-430f-a1ec-0820ec0975c1&ipaddress=10.223.60.30&gateway=10.223.60.1&netmask=255.255.255.192&vlan=600&_=1368127240386 > 2013-05-09 12:20:02,935 DEBUG [network.vpc.VpcManagerImpl] (catalina-exec-16:null) Creating Private gateway for VPC [VPC [6-Admin-VPC-3] > 2013-05-09 12:20:02,938 DEBUG [cloud.network.NetworkServiceImpl] (catalina-exec-16:null) Private network already exists: Ntwk[209|Guest|5] > 2013-05-09 12:20:02,939 DEBUG [db.Transaction.Transaction] (catalina-exec-16:null) Rolling back the transaction: Time = 3 Name = createVpcPrivateGateway; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-VpcManagerImpl.createVpcPrivateGateway:1314-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-CreatePrivateGatewayCmd.create:125-ApiDispatcher.dispatchCreateCmd:101-ApiServer.queueCommand:466-ApiServer.handleRequest:369-ApiServlet.processRequest:304 > 2013-05-09 12:20:02,952 INFO [cloud.api.ApiServer] (catalina-exec-16:null) Private ip address 10.223.60.30 already used for private gateway in zone ZONE-NATONPRIVGW > 2013-05-09 12:20:02,952 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END=== 10.216.132.104 -- GET command=createPrivateGateway&response=json&sessionkey=lMcnNOW2wddmq1ynzV%2Ff%2B22%2BvuQ%3D&physicalnetworkid=aa64a672-74cc-4498-a0e9-5cbb333a141f&vpcid=1906e89d-a8ab-430f-a1ec-0820ec0975c1&ipaddress=10.223.60.30&gateway=10.223.60.1&netmask=255.255.255.192&vlan=600&_=1368127240386 > mysql> select id,ip4_address,netmask,gateway,vlan_tag,type,network_id,vpc_id,zone_id,state,removed,source_nat from vpc_gateways where ip4_address like "10.223.60.30"; > +----+--------------+-----------------+-------------+----------+---------+------------+--------+---------+----------+---------------------+------------+ > | id | ip4_address | netmask | gateway | vlan_tag | type | network_id | vpc_id | zone_id | state | removed | source_nat | > +----+--------------+-----------------+-------------+----------+---------+------------+--------+---------+----------+---------------------+------------+ > | 1 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 205 | 1 | 1 | Deleting | 2013-05-07 23:01:42 | 0 | > | 2 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 206 | 1 | 1 | Deleting | 2013-05-07 23:02:48 | 0 | > | 3 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 207 | 1 | 1 | Deleting | 2013-05-07 23:06:09 | 1 | > | 4 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 208 | 1 | 1 | Deleting | 2013-05-07 23:55:38 | 1 | > | 5 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 209 | 1 | 1 | Deleting | 2013-05-08 00:08:02 | 0 | > | 6 | 10.223.60.30 | 255.255.255.192 | 10.223.60.1 | 600 | Private | 210 | 1 | 1 | Deleting | 2013-05-08 00:22:14 | 0 | > +----+--------------+-----------------+-------------+----------+---------+------------+--------+---------+----------+---------------------+------------+ > 6 rows in set (0.00 sec) > mysql> select id,uuid,name,removed,created from vpc where id in (1,6); > +----+--------------------------------------+-------------+---------------------+---------------------+ > | id | uuid | name | removed | created | > +----+--------------------------------------+-------------+---------------------+---------------------+ > | 1 | 5fa9c995-17c4-4599-83ac-d35e2a5d812d | Atoms-VPC-1 | 2013-05-08 21:59:23 | 2013-05-07 18:18:47 | > | 6 | 1906e89d-a8ab-430f-a1ec-0820ec0975c1 | Admin-VPC-3 | NULL | 2013-05-09 19:06:36 | > +----+--------------------------------------+-------------+---------------------+---------------------+ > 2 rows in set (0.00 sec) -- 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