Bug 2091919

Summary: Insights-client raise NameError InsightsConstants is not imported
Product: Red Hat Enterprise Linux 9 Reporter: Alba Hita <ahitacat>
Component: insights-clientAssignee: Alba Hita <ahitacat>
Status: CLOSED ERRATA QA Contact: Pavol Kotvan <pakotvan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.3CC: arpandey, cmarinea, fjansen, gchamoul, jstavel, prgutier, stomsa
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: insights-client-3.2.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2218286 (view as bug list) Environment:
Last Closed: 2023-11-07 08:32:52 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:
Bug Depends On:    
Bug Blocks: 2218286    

Description Alba Hita 2022-05-31 10:42:08 UTC
Description of problem:

Insights-client raises an error when insights.client.constants.InsightsConstants is not imported.

Version-Release number of selected component (if applicable):
Insights-client v3.1.7

How reproducible:
This happens when insights config fails to be loaded.

Actual results:

Insights-client exists with a NameError

Expected results:

Insights-client exists with a handled error


Additional info:
https://issues.redhat.com/browse/ESSNTL-2311

Comment 10 errata-xmlrpc 2023-11-07 08:32:52 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 (insights-client bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:6432