[
https://issues.apache.org/jira/browse/AMBARI-19415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833518#comment-15833518
]
Masahiro Tanaka commented on AMBARI-19415:
------------------------------------------
Thanks [~u39kun]!
Thanks [~afernandez] for reviewing!
> 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)