Bug 1288544

Summary: [introspection] introspection return code incorrect
Product: Red Hat OpenStack Reporter: Joe Talerico <jtaleric>
Component: python-tripleoclientAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED ERRATA QA Contact: Raviv Bar-Tal <rbartal>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: achernet, ddomingo, dtantsur, hbrock, jslagle, mburns, rhel-osp-director-maint
Target Milestone: ga   
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: python-tripleoclient-0.1.1-2 Doc Type: Bug Fix
Doc Text:
Previously, bulk introspection only printed on-screen errors, but never returned a failure status code. This prevented introspection failures from being detected. This update changes the status code of errors to non-zero, which ensures that failed introspections can now be detected through their status codes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:43:35 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 Joe Talerico 2015-12-04 14:32:22 UTC
During Khaleesi a bulk introspection is ran to pull the node information. However if a failure occurs the error code is always returned as 0. For better error reporting, if a introspection fails (timeout/etc) return a proper status code.

Dmitry quickly pushed a patch for this: https://review.openstack.org/#/c/253476/

Comment 2 Dmitry Tantsur 2016-02-02 13:56:09 UTC
Sorry, I didn't realize the fix is already available

Comment 5 errata-xmlrpc 2016-04-07 21:43:35 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