cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayapalu <>
Subject [GitHub] cloudstack pull request: Strongswan vpn feature
Date Fri, 06 May 2016 04:08:27 GMT
Github user jayapalu commented on a diff in the pull request:
    --- Diff: systemvm/patches/debian/config/opt/cloud/bin/ ---
    @@ -542,11 +552,11 @@ def configure_ipsec(self, obj):
       "Configured vpn %s %s", leftpeer, rightpeer)
    -            CsHelper.execute("ipsec auto --rereadall")
    -            CsHelper.execute("ipsec auto --add vpn-%s" % rightpeer)
    +            CsHelper.execute("ipsec reload")
    +            #CsHelper.execute("ipsec --add vpn-%s" % rightpeer)
                 if not obj['passive']:
    -                CsHelper.execute("ipsec auto --up vpn-%s" % rightpeer)
    -        os.chmod(vpnsecretsfile, 0o400)
    +                CsHelper.execute("sudo nohup ipsec up vpn-%s &" % rightpeer)
    --- End diff --
    @rhtyd If we start/stop the existing tunnels get effected. Usually  ipsec up command takes
long time, if do not  use the nohup the script will  hang for long time it may result timeout
for resource command.

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 or file a JIRA ticket
with INFRA.

View raw message