You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/02 13:15:11 UTC

[jira] [Commented] (CLOUDSTACK-9075) As a Developer I want the Private GW feature fixed on single VPCs

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

ASF GitHub Bot commented on CLOUDSTACK-9075:
--------------------------------------------

GitHub user wilderrodrigues opened a pull request:

    https://github.com/apache/cloudstack/pull/1151

    [4.6] CLOUDSTACK-9075 - As a Developer I want the Private GW feature fixed on single VPCs

    This PR fixes the issue we faced with Private Gateways on single VPC when using ACS 4.6.0 and onwards.
    
    The root cause: during the VR refactor, the static routes configuration was left unimplemented.
    
    This PR also improves the existing Replace ACL test and adds a new test, that cover the Private Gateway in a more complete way.
    
    The new test does the following:
    
    1. Create 2 VPCs
    2. Create 2 Tiers - 1 per VPC
    3. Deploy 2 VMs - 1 per Tier
    4. Acquire 2 pub IPs - 1 per VPC
    5. Create 2 PF rules - 1 per pub IP
    6. Create 2 ACLs + rules - 1 per VPC
    7. Assign new ACLs to Tiers
    8. Create 2 Private GWs - 1 per VPC
    9. Replace the Pvt GWs ACLs
    10. Create 2 Static routes - 1 per Pvt GW
    11. SSH into VM1 (VPC1) and from there ping VM2 (VPC2)
    
    There is also a test for Private Gateways on Redundant VPCs. But I found out that the feature is broken in when used with rVPCs. It will be addressed in a separate Issue/PR.
    
    I'm running the tests. Will post results as soon as they are ready.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ekholabs/cloudstack fix/private_gw_rVPC-CLOUDSTACK-9075

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1151.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1151
    
----
commit 4ea4e7e687527cc8c06489d4deaedf4ed1c3c91c
Author: Wilder Rodrigues <wr...@schubergphilis.com>
Date:   2015-11-19T11:03:32Z

    CLOUDSTACK-9075 - Add method to get list of Physical Networks per zone

commit 3e02b8999bb7f1f79d99b32955c842fbda4d29a9
Author: Wilder Rodrigues <wr...@schubergphilis.com>
Date:   2015-11-19T11:04:01Z

    CLOUDSTACK-9075 - Covers Private GW ACL with Redundant VPCs

commit a17fa48de1cfa4f0f4425f90b0f435d6cf8e6540
Author: Wilder Rodrigues <wr...@schubergphilis.com>
Date:   2015-11-19T11:28:32Z

    CLOUDSTACK-9075 - Adds VPC static routes test
    
       - Adds redundant VPC tests
       - Adds support to Static Routes on VPC private gatways
       - Removes the route configuration in case static route is deleted.

commit 6d9a3d82f9b617d40d0ee1472bef87cb630595d6
Author: Wilder Rodrigues <wr...@schubergphilis.com>
Date:   2015-12-02T06:30:06Z

    CLOUDSTACK-9075 - Uses the same vlan since it should have been already released
    
        - After the first test is done, the clean up will delete the whole VPC, also releasing the VLAN that was in use.

----


> As a Developer I want the Private GW feature fixed on single VPCs
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9075
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9075
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>             Fix For: 4.7.0
>
>
> The Private GW feature is broken since the VR refactor. it should be fixed for single VPCs and more tests should be included in order to cover it as a whole.
> 1. Test Private GW ACL replace
>     - existing tests
> 2. Test Private GW connectivity through 2 VPCs
>    - New test
> The new test should perform the following steps:
> 1. Create 2 VPCs
> 2. Create 2 Tiers - 1 per VPC
> 3. Deploy 2 VMs - 1 per Tier
> 4. Acquire 2 pub IPs - 1 per VPC
> 5. Create 2 PF rules - 1 per pub IP
> 6. Create 2 ACLs + rules - 1 per VPC
> 7. Assign new ACLs to Tiers
> 8. Create 2 Private GWs - 1 per VPC
> 9. Replace the Pvt GWs ACLs
> 10. Create 2 Static routes - 1 per Pvt GW
> 11. SSH into VM1 (VPC1) and from there ping VM2 (VPC2)
> Please note that the Private GWs have to be in the same VLAN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)