Bug 867601 - Inventory script fails (ValueError: invalid literal for int() with base 10: '3612.000000MHz')
Inventory script fails (ValueError: invalid literal for int() with base 10: '...
Status: CLOSED DUPLICATE of bug 820793
Product: Beaker
Classification: Community
Component: inventory (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: Dan Callaghan
Depends On:
  Show dependency treegraph
Reported: 2012-10-17 16:07 EDT by andrew
Modified: 2018-02-05 19:41 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-17 18:09:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description andrew 2012-10-17 16:07:56 EDT
Description of problem:
When running a Inventory job , The script fails to succeed 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

[root@ibm-p740-01-lp5 inventory]# ./pushInventory.py --server http://lab-02.rhts.eng.bos.redhat.com:8000/server -h ibm-p740-01-lp5.rhts.eng.bos.redhat.com'
Actual results:

Traceback (most recent call last):
  File "./pushInventory.py", line 463, in <module>
  File "./pushInventory.py", line 444, in main
    legacy_inv = legacy_inventory(inventory)
  File "./pushInventory.py", line 237, in legacy_inventory
    data['CPUSPEED'] = int(inv['Cpu']['speed'])
ValueError: invalid literal for int() with base 10: '3612.000000MHz

Expected results:

Additional info:
Comment 1 Dan Callaghan 2012-10-17 18:09:17 EDT

*** This bug has been marked as a duplicate of bug 820793 ***

Note You need to log in before you can comment on or make changes to this bug.