You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2018/05/04 07:07:36 UTC

[cloudstack] 06/08: vr: create tables before applying egress iptables rules

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 77172b9f032f8df0564e33026178acd579c23cd4
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Tue May 1 20:06:12 2018 +0530

    vr: create tables before applying egress iptables rules
    
    This fixes the issue that post-upgrade egress rules are not applied
    on VR, restarting the network with cleanup used to be the workaround.
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 systemvm/debian/opt/cloud/bin/configure.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/systemvm/debian/opt/cloud/bin/configure.py b/systemvm/debian/opt/cloud/bin/configure.py
index f9247ad..e023a9f 100755
--- a/systemvm/debian/opt/cloud/bin/configure.py
+++ b/systemvm/debian/opt/cloud/bin/configure.py
@@ -957,6 +957,7 @@ class IpTablesExecutor:
         acls.process()
 
         acls = CsAcl('firewallrules', self.config)
+        acls.flushAllowAllEgressRules()
         acls.process()
 
         fwd = CsForwardingRules("forwardingrules", self.config)

-- 
To stop receiving notification emails like this one, please contact
rohit@apache.org.