ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19415) Network interface check returns no value if there is no `ifconfig` command
Date Sat, 21 Jan 2017 19:02:26 GMT

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

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

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6511 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6511/])
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=c4bbeeb29d8f9e3b04d20e38570769f3cc3fdec6])
* (edit) ambari-agent/src/test/python/ambari_agent/TestHardware.py
* (edit) ambari-agent/src/main/python/ambari_agent/Facter.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)

Mime
View raw message