You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2013/05/09 23:11:16 UTC

[jira] [Updated] (CLOUDSTACK-2426) NTier: Fail to Recreate Same Private Gateway on a different VPC after its deletion on the Original VPC

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandan Purushothama updated CLOUDSTACK-2426:
---------------------------------------------

    Priority: Critical  (was: Major)
    
> 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
>            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