-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46683/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
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 e077799
ambari-server/src/test/python/TestAmbariServer.py e96a7bd
Diff: https://reviews.apache.org/r/46683/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen