Bug 867601 - Inventory script fails (ValueError: invalid literal for int() with base 10: '3612.000000MHz')
Summary: Inventory script fails (ValueError: invalid literal for int() with base 10: '...
Keywords:
Status: CLOSED DUPLICATE of bug 820793
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-17 20:07 UTC by andrew
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-17 22:09:17 UTC
Embargoed:


Attachments (Terms of Use)

Description andrew 2012-10-17 20:07:56 UTC
Description of problem:
When running a Inventory job , The script fails to succeed 

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


How reproducible:
100%

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>
    main()
  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 22:09:17 UTC

*** 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.