You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/11/27 16:23:33 UTC

Review Request 40773: Incorrect firewall check on CentOS7 while adding new host to cluster

-----------------------------------------------------------
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


Re: Review Request 40773: Incorrect firewall check on CentOS7 while adding new host to cluster

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40773/#review108234
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 27, 2015, 5:23 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40773/
> -----------------------------------------------------------
> 
> (Updated Nov. 27, 2015, 5:23 p.m.)
> 
> 
> 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
> 
>