Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 867601

Summary: Inventory script fails (ValueError: invalid literal for int() with base 10: '3612.000000MHz')
Product: [Retired] Beaker Reporter: andrew <alemay>
Component: inventoryAssignee: Dan Callaghan <dcallagh>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: asaha, dcallagh, mishin, rglasz, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-17 22:09:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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