Bug 1319872 - Error when converting edeploy data
Summary: Error when converting edeploy data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-inspector
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Lucas Alvares Gomes
QA Contact: Raviv Bar-Tal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-21 17:44 UTC by Lucas Alvares Gomes
Modified: 2016-04-07 21:49 UTC (History)
3 users (show)

Fixed In Version: openstack-ironic-inspector-2.2.5-2.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 21:49:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1560050 0 None None None 2016-03-21 17:44:37 UTC
OpenStack gerrit 295327 0 None None None 2016-03-21 17:46:05 UTC
Red Hat Product Errata RHEA-2016:0604 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director Enhancement Advisory 2016-04-08 01:03:56 UTC

Description Lucas Alvares Gomes 2016-03-21 17:44:38 UTC
Description of problem:

When attempting to convert some eDeploy data to integer, inspector will handle the ValueError exception which works fine for strings that are not interger-like. But, when this data is None a TypeError exception will be raised and that's not being handled, resulting in the following error:

Introspection for UUID c5a871a2-ae4a-4057-b9c4-a9daaf8b276c finished with error: Unexpected exception TypeError during processing: int() argument must be a string or a number, not 'NoneType'

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


How reproducible:
openstack-ironic-inspector-2.2.4-3.el7ost.noarch

Steps to Reproduce:
1. Just start inspection
2.
3.

Actual results:

Inspection fails with:

Introspection for UUID c5a871a2-ae4a-4057-b9c4-a9daaf8b276c finished with error: Unexpected exception TypeError during processing: int() argument must be a string or a number, not 'NoneType'

Expected results:

Inspection to pass 

Additional info:

Comment 4 errata-xmlrpc 2016-04-07 21:49:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0604.html


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