From a86df2042cb5502ffa6cba62ea9387f72c0c295f Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 12 Dec 2014 16:43:37 -0500 Subject: [PATCH] Open port 3306 on logstash.o.o When mysql-proxy was being used we had to open port 4040 to allow connections to the proxy. However, since that approach was abandoned and simpleproxy is being used instead, it's just forwarding port 3306. This commit fixes it by switch 4040 to 3306 in the firewall rules. Change-Id: Ie6d04e20996ba4c7f567526a2428ce5015b8b135 --- modules/openstack_project/manifests/logstash.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/logstash.pp b/modules/openstack_project/manifests/logstash.pp index 15623cfe84..642b8f806e 100644 --- a/modules/openstack_project/manifests/logstash.pp +++ b/modules/openstack_project/manifests/logstash.pp @@ -27,7 +27,7 @@ class openstack_project::logstash ( $iptables_gm_rule = regsubst ($gearman_workers, '^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 4730 -s \1 -j ACCEPT') $iptables_rule = flatten([$iptables_es_rule, $iptables_gm_rule]) class { 'openstack_project::server': - iptables_public_tcp_ports => [22, 80, 4040], + iptables_public_tcp_ports => [22, 80, 3306], iptables_rules6 => $iptables_rule, iptables_rules4 => $iptables_rule, sysadmins => $sysadmins,