From 8fb2026d2c44971787db88ec777f9f4ceea3a967 Mon Sep 17 00:00:00 2001 From: mettacrawler Date: Thu, 1 Mar 2018 15:21:31 -0500 Subject: [PATCH] Deactivate firewalld Summary: Deactivate default RHEL 7 firewalld service because it generates firewall rules which are not compatible with eucanetd. Reproducing: 1. Run cloud-in-a-box.sh on a server that is running firewalld 2. Observe that eucanetd is failing due to bad firewall rules --- recipes/default.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/default.rb b/recipes/default.rb index b392608..31744d6 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -59,6 +59,9 @@ end end +service "firewalld" do + action [ :stop, :disable ] +end execute "Flush and save iptables" do command "iptables -F; iptables -F -t nat; iptables-save > /etc/sysconfig/iptables" not_if "service eucalyptus-cc status || service eucanetd status || service eucalyptus-cloud status || service eucalyptus-nc status"