You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by bvbharatk <gi...@git.apache.org> on 2015/09/11 09:11:11 UTC

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

GitHub user bvbharatk opened a pull request:

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

    CLOUDSTACK-8798 Fixed the vrrp virtual ip config in case of rvr enabl…

    Fixed the vrrp virtual ip config in case of rvr enabled isolated networks.
    changed the CsRedundant.py to bring down the public interface when rvr changes state to
    backup. Also fixed vrrp authentication for isolated networks.
    
    This fix dose not effect the vpc networks. it is only meant for rvr isolated networks.
    
    manullay deployed a vm in rvr enabled isolated network and ran the tests below.
    
    nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_services.py
    
    Test redundant router internals ... === TestName: test_enableVPNOverRvR | Status : SUCCESS ===
    ok
    ----------------------------------------------------------------------
    Ran 1 test in 633.336s
    OK
    nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_cleanups.py
    
    Test network garbage collection with RVR ... === TestName: test_network_gc | Status : SUCCESS ===
    ok
    Test restarting RvR network without cleanup ... === TestName: test_restart_ntwk_no_cleanup | Status : SUCCESS ===
    ok
    Test restart RvR network with cleanup ... === TestName: test_restart_ntwk_with_cleanup | Status : SUCCESS ===
    ok
    ----------------------------------------------------------------------
    Ran 3 tests in 2120.263s
    OK

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

    $ git pull https://github.com/bvbharatk/cloudstack CLOUDSTACK-8798

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

    https://github.com/apache/cloudstack/pull/800.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 #800
    
----
commit 6f68ecc3bfec6b5d614a49029b03599064e59e15
Author: Bharat Kumar <bh...@citrix.com>
Date:   2015-08-14T08:42:28Z

    CLOUDSTACK-8798 Fixed the vrrp virtual ip config in case of rvr enabled isolated networks.
    changed the CsRedundant.py to bring down the public interface when rvr changes state to
    backup. Also fixed vrrp authentication for isolated networks.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by wilderrodrigues <gi...@git.apache.org>.
Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/800#issuecomment-139532157
  
    @bhaisaab , should we wait for a new commit from @bvbharatk on this PR before merging it?
    
    Cheers,
    Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/800#issuecomment-139523586
  
    Minor issues, otherwise code changes look alright


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by wilderrodrigues <gi...@git.apache.org>.
Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/800#issuecomment-139539283
  
    I will merge this, since it got 2 LGTM, and will change the if as suggested by Rohit in my next PR that will touch the python files. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by wilderrodrigues <gi...@git.apache.org>.
Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/800#issuecomment-139486801
  
    Hey @bvbharatk 
    
    Thanks, dude! I really loved the test report! :)
    
    LGTM :+1: 
    
    Cheers,
    Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/800#discussion_r39263080
  
    --- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py ---
    @@ -130,7 +136,10 @@ def get_router_password(self):
             This is slightly difficult to happen, but if it does, destroy the router with the password generated with the
             code below and restart the VPC with out the clean up option.
             '''
    -        passwd = "%s-%s" % (self.get_vpccidr, self.get_router_id())
    +        if(self.get_type()=='router'):
    --- End diff --
    
    - run pep8, fix errors
    - consider using -- if self.get_type() == "router"   or   if self.get_type() is "router"
    - stick to uniform usage to quotes, double quotes for strings here so "router" instead of 'router'


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-8798 Fixed the vrrp virtual ip...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/800#issuecomment-139551429
  
    cool


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---