Failed to reach elasticsearch server due to the firewall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
Medium
|
LMA-Toolchain Fuel Plugins |
Bug Description
After deploying StackLight 0.8.1 I see the following error in the log:
2016/03/31 12:46:41 Plugin 'elasticsearch_
The elasticsearch server was not reachable. On the Elasticsearch node I see:
# iptables-save
# Generated by iptables-save v1.4.21 on Thu Mar 31 12:47:53 2016
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [66530:32053741]
-A INPUT -p icmp -m comment --comment "000 accept all icmp requests" -j ACCEPT
-A INPUT -i lo -m comment --comment "001 accept all to lo interface" -j ACCEPT
-A INPUT -m comment --comment "002 accept related established rules" -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m multiport --ports 22 -m comment --comment "020 ssh" -j ACCEPT
-A INPUT -p tcp -m multiport --ports 8083,8086 -m comment --comment "200 influxdb" -j ACCEPT
-A INPUT -p tcp -m multiport --ports 8000 -m comment --comment "201 grafana" -j ACCEPT
-A INPUT -p tcp -m multiport --ports 8001 -m comment --comment "300 nagios cgi" -j ACCEPT
-A INPUT -m comment --comment "999 drop all other requests" -j DROP
COMMIT
# Completed on Thu Mar 31 12:47:53 2016
To solve the problem I rerun the firewall.pp on Elasticsearch and it worked.
# puppet apply --debug /etc/fuel/
This is not happening all the time
Changed in lma-toolchain: | |
status: | New → Confirmed |
Changed in lma-toolchain: | |
importance: | Undecided → Medium |
Changed in lma-toolchain: | |
milestone: | none → 0.8.1 |
status: | Confirmed → Fix Committed |
Changed in lma-toolchain: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: stable/0.8 /review. openstack. org/304421
Review: https:/