-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40773/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-14103
https://issues.apache.org/jira/browse/AMBARI-14103
Repository: ambari
Description
-------
Steps:
1\. Identify a new CentOS7 host to be added to an existing HDP cluster
2\. Turn on firewall on the host as follows:
yum install -y iptables
yum install -y iptables-services
service iptables start
3\. From Ambari UI, go to hosts page - Actions - Add New Hosts
4\. Specify hostname and key to connect to the host; hit Next
5\. Open Host Checks screen by clicking the hyperlink to see the warnings
Result:
"There were no firewalls running"
Firewall issues (0)
Expected Result:
Message should display that firewall is running
See attached - Output of iptables related commands from the console of the
CentOS7 host
Diffs
-----
ambari-common/src/main/python/ambari_commons/firewall.py e6a1ff9
Diff: https://reviews.apache.org/r/40773/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk