Masahiro Tanaka created AMBARI-19415:
----------------------------------------

             Summary: Network interface check returns no value if there is no 
`ifconfig` command
                 Key: AMBARI-19415
                 URL: https://issues.apache.org/jira/browse/AMBARI-19415
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.5.0
         Environment: CentOS7.3 Minimal Install
            Reporter: Masahiro Tanaka
            Assignee: Masahiro Tanaka


Ambari Agent Hardware check assumes there is {{{ifconfig}}} command in Linux, 
but some environments (e.g. CentOS 7.3 with minimal install) doens't have 
{{{ifconfig}} command, but {{{ip}}} command. 

A warning like below (which is in ambari-agent.log) is because of the 
assumption.
{{{
WARNING 2017-01-08 14:53:48,021 Facter.py:487 - Can't get a network interfaces 
list from
}}}

It would be better to check the NIC with {{{ifconfig}}} and {{{ip}}} both for  
better coverage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to