[ 
https://issues.apache.org/jira/browse/AMBARI-19415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833091#comment-15833091
 ] 

Hudson commented on AMBARI-19415:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #772 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/772/])
AMBARI-19415. Network interface check returns no value if there is no (yusaku: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ecdca1db106069cb7e8eed26a93ba59cf6d83f29])
* (edit) ambari-agent/src/main/python/ambari_agent/Facter.py
* (edit) ambari-agent/src/test/python/ambari_agent/TestHardware.py


> 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: trunk, 2.5.0
>         Environment: CentOS7.3 Minimal Install
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19415.0.patch, AMBARI-19415.1.patch
>
>
> 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.
> {code}
> WARNING 2017-01-08 14:53:48,021 Facter.py:487 - Can't get a network 
> interfaces list from
> {code}
> 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