You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jayapal Reddy (JIRA)" <ji...@apache.org> on 2013/06/26 11:36:21 UTC

[jira] [Commented] (CLOUDSTACK-3172) NTier: Unable to create a Private Gateway to a VPC due to the existence of a different Private Gateway to another VPC belonging to the same VLAN

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

Jayapal Reddy commented on CLOUDSTACK-3172:
-------------------------------------------

While searching for the private network in networks table cloudstack is searching by vlan, cidr, networkId and dcId.  It is not looking for vlanId.
This is the reason we are not able to create same private gateway in two different VPCs.
                
> NTier: Unable to create a Private Gateway to a VPC due to the existence of a different Private Gateway to another VPC belonging to the same VLAN
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3172
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3172
>             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
>
>
> ===============================================
> Existing Private Gateway to a VPC belonging to Atoms Account:
> ===============================================
> mysql> select * from vpc_gateways where vlan_tag=572 \G
> *************************** 1. row ***************************
>             id: 2
>           uuid: cf8e69db-620c-4b61-a1d3-4f595b6c6050
>    ip4_address: 10.223.57.160
>        netmask: 255.255.255.192
>        gateway: 10.223.57.129
>       vlan_tag: 572
>           type: Private
>     network_id: 210
>         vpc_id: 1
>        zone_id: 1
>        created: 2013-06-24 23:06:20
>     account_id: 3
>      domain_id: 1
>          state: Ready
>        removed: NULL
>     source_nat: 1
> network_acl_id: 4
> 1 row in set (0.00 sec)
> ======================================================
> Tried to Create a Private Gateway to a VPC belonging to Protons Account:
> ======================================================
> http://10.223.195.103:8080/client/api?command=createPrivateGateway&sourcenatsupported=true&response=json&sessionkey=4RM%2BxPGbpzXpriofP06GtnGJCSM%3D&physicalnetworkid=58c17654-dabc-4bf5-b18f-c2f5355c4537&vpcid=ff405b98-91b2-407d-a743-d72077686385&ipaddress=10.223.57.162&gateway=10.223.57.129&netmask=255.255.255.192&vlan=572&aclid=7bffad44-d907-11e2-b5ac-06cba2000705&_=1372116903383
> { "createprivategatewayresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Private network for the vlan: 572 and cidr  10.223.57.128/26  already exists  in zone ZONE-NTIER-AGN"} }

--
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