Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1319872 - Error when converting edeploy data
Error when converting edeploy data
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-inspector (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
unspecified Severity high
: ---
: 8.0 (Liberty)
Assigned To: Lucas Alvares Gomes
Raviv Bar-Tal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-21 13:44 EDT by Lucas Alvares Gomes
Modified: 2016-04-07 17:49 EDT (History)
3 users (show)

See Also:
Fixed In Version: openstack-ironic-inspector-2.2.5-2.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-07 17:49:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1560050 None None None 2016-03-21 13:44 EDT
OpenStack gerrit 295327 None None None 2016-03-21 13:46 EDT
Red Hat Product Errata RHEA-2016:0604 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director Enhancement Advisory 2016-04-07 21:03:56 EDT

  None (edit)
Description Lucas Alvares Gomes 2016-03-21 13:44:38 EDT
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 17:49:32 EDT
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.