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: VERIFIED --- 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: 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