CLOUDSTACK-8685: Fix for missing defaultroute on VPC router #738
Merged
asfgit merged 2 commits intoapache:masterapache/cloudstack:masterfrom Aug 25, 2015
michaelandersen:vpc_defaultroute_fixmichaelandersen/cloudstack:vpc_defaultroute_fixCopy head branch name to clipboard
Merged
CLOUDSTACK-8685: Fix for missing defaultroute on VPC router #738asfgit merged 2 commits intoapache:masterapache/cloudstack:masterfrom michaelandersen:vpc_defaultroute_fixmichaelandersen/cloudstack:vpc_defaultroute_fixCopy head branch name to clipboard
asfgit merged 2 commits intoapache:masterapache/cloudstack:masterfrom
michaelandersen:vpc_defaultroute_fixmichaelandersen/cloudstack:vpc_defaultroute_fixCopy head branch name to clipboard
Conversation
added 2 commits
August 24, 2015 13:35
Refactored CsRoute
|
cloudstack-pull-rats #387 SUCCESS |
|
cloudstack-pull-analysis #320 ABORTED |
Contributor
|
LGTM Note: In my dev environment Created site-to-site VPNs and now those also work without modification. Minor comment: please prepend the PR title with "CLOUDSTACK-8685: " @karuturi @jayapalu Could one of you also review this? Thanks! |
Member
|
I do not understand most of this stuff. not a good candidate to review :) |
Contributor
|
LGTM |
asfgit
pushed a commit
that referenced
this pull request
Aug 25, 2015
CLOUDSTACK-8685: Fix for missing defaultroute on VPC router https://issues.apache.org/jira/browse/CLOUDSTACK-8685 Refactored CsRoute and CsAddress to: - add methods to add and verify the defaultroute - renamed methods flush, add, and routeTable to flush_table, add_route, add_table respectively. Added some suboptimal unit tests to TestCsRoutes * pr/738: Fixed defaultroute on VPC routers in CsRoute and CsAddress Refactored CsRoute pep8 cleanup Signed-off-by: Remi Bergsma <github@remi.nl>
This was referenced Sep 24, 2015
asfgit
pushed a commit
that referenced
this pull request
Sep 27, 2015
[BLOCKER] Combined PRs that fix VR issuesTonight I worked with @wilderrodrigues to figure out what is wrong with the virtual router. As we couldn't test single PRs any more (because of other issues with them causing tests to fail) we added all VR related PRs in a separate branch and started testing from there. We combined the following PRs into this PR: #836 #851 #867 #870 #881 #882 #842 After that, one issue remains: the VPC does not get a default gateway. Which is strange, because we already solved it in PR #738. When I look back, it was fixed again in PR #784. It could very well be that either one fixed one specific case, but also breaking the other. We need to investigate this, and make sure there will be a fix that works both for VPCs and VRs. When we manually add the default gateway on the VPC, most tests pass and also spinning up two VPCs with one tier each, having a VM and them using s2s to VPN them together works fine. See for more details the report Wilder sent earlier. Tomorrow we'll try to figure out how to fix the default gateway and merge this. Then we should have a base to work from again. Any PR that fixes another blocker, should at least then be rebased against the fixed master so we can run the tests against the PR branch. I'm not saying everything is fixed, I'm just saying that we can spin up a cloud that has working VMs. When, in the mean time, someone has the time to checkout this branch and make the default route work for both VPC and VR that would be awesome. After that we should double check and verify the test results. Pinging @karuturi to let her know the current status. Regards, Wilder / Remi * pr/887: Fixing the index out of bounds error in the check_if_link_up() function small cleanups Fixing the defaut route for VPC routers Formatting the get_gateway() method in the CsDatabag.py file Fixing the dhcpsrvr iptables file Formatting the router_proxy.sh script CLOUDSTACK-8881: Fixed Static and PF configuration issue CLOUDSTACK-8905: Fixed hooking egress rules CLOUDSTACK-8891: Fixed default iptables rules on VR for guest traffic Configured dnsmasq to listen on all interfaces so that vpn client gets dns CLOUDSTACK-8864: Not able to add TCP port forwarding rule in VPN for specific ports CLOUDSTACK-8863: VM doesn't reconnect to internet post VR RESTART/STOP-START/RECREATE CLOUDSTACK-8843: Fixed issue in default iptables rules on shared network VR Signed-off-by: Remi Bergsma <github@remi.nl>
yadvr
pushed a commit
that referenced
this pull request
Jan 20, 2021
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/CLOUDSTACK-8685
Refactored CsRoute and CsAddress to:
Added some suboptimal unit tests to TestCsRoutes