Uh oh!
There was an error while loading. Please reload this page.
CLOUDSTACK-9801: IPSec VPN does not work after vRouter reboot or recreate - #1966
Conversation
swill
commented
Feb 24, 2017
I can't see what branch this is opened against on my phone. What version of ACS is this opened against and which version do you have a problem in. The reason I ask is because #1741 was added in master to upgrade from openswan to strongswan. . Thx... |
asfbot
commented
Feb 24, 2017
Sean Lair on dev@cloudstack.apache.org replies: We are running 4.9.2.0, looks like it affects all 4.9.x.x We haven't tested against 4.10 (strongswan) yet. But it could be a problem= |
asfbot
commented
Feb 24, 2017
Will Stevens on dev@cloudstack.apache.org replies: |
kiwiflyer
commented
May 10, 2017
cloudmonger
commented
May 28, 2017
ACS CI BVT RunSumarry: Link to logs Folder (search by build_no):https://www.dropbox.com/sh/r2si930m8xxzavs/AAAzNrnoF1fC3auFrvsKo_8-a?dl=0 Failed tests:
Skipped tests: Passed test suits: |
Slair1
commented
Jun 19, 2017
@kiwiflyer I'm not sure if this issue still exists in 4.10, but it is an issue in 4.9. We've been running this fix since February and it has fixed it. FYI, it is the same code/logic used on line 458. Let me know if you need anything on this |
yadvr
commented
Jul 22, 2017
@blueorangutan package |
blueorangutan
commented
Jul 22, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 22, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-813 |
yadvr
commented
Jul 22, 2017
@blueorangutan test |
blueorangutan
commented
Jul 22, 2017
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jul 22, 2017
Trillian test result (tid-1215)
|
yadvr
commented
Jul 23, 2017
Regression tests have no new error (except known intermittent failures) |
yadvr
commented
Jul 28, 2017
I'm not in position to decide merging this one, needs an additional review from one of the VPN gurus @swill@JayapalUradi and others |
yadvr
commented
Aug 2, 2017
Ping, any discussions/reviews? |
Slair1
commented
Aug 4, 2017
It's the same code/logic used on line 458, so should be safe |
yadvr
commented
Aug 4, 2017
LGTM, merging based on your feedback @Slair1 and my assessment of the code, and test results. |
After a vRouter is recreated (e.g. reboot via CloudStack UI) and Remote Access VPN enabled, VPN won't work anymore. Here is the abbreviated output of "ipsec auto -status" while we were having the issue:
After this commit, the following occurs and VPNs work:
eth1 interface IP is masked, but now ipsec sees all the interfaces and VPN works.
Looks like this bug was introduced by Pull Request #1423
It added code to start ipsec (cloudstack/systemvm/patches/debian/config/opt/cloud/bin/configure.py)