incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed Fathalla (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-128) Build fails if "ethtool" not installed
Date Thu, 10 Nov 2011 10:24:51 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ahmed Fathalla updated AMBARI-128:
----------------------------------

    Attachment: AMBARI-128.patch
    
> Build fails if "ethtool" not installed
> --------------------------------------
>
>                 Key: AMBARI-128
>                 URL: https://issues.apache.org/jira/browse/AMBARI-128
>             Project: Ambari
>          Issue Type: Bug
>          Components: build
>         Environment: Ubuntu 10.04 Natty
> Linux fathalla 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686
i386 GNU/Linux
>            Reporter: Ahmed Fathalla
>            Priority: Minor
>         Attachments: AMBARI-128.patch
>
>
> Build fails with the following error if ethtools is not installed on system
> ValueError: invalid literal for int() with base 10
> This is caused by the following line in ethtool method in Hardware.py
> self.netSpeed = int(result['output'].rstrip())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message