Bug 2120639

Summary: [Insights-client] insights-client cannot '--check-results' from server when subscribed to prod
Product: Red Hat Enterprise Linux 9 Reporter: mabezerr
Component: insights-clientAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact: Nobody <nobody>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: cmarinea, fjansen, stomsa
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-24 20:03:59 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:
Attachments:
Description Flags
CRC on stage none

Description mabezerr 2022-08-23 12:48:53 UTC
Created attachment 1907125 [details]
CRC on stage

>>> Description of problem:
When subscribed to production, it is not possible to check results from server (- - check-results) and then show them (- - show-results). It works properly when subscribed to stage.

>>> Version-Release number of selected component (if applicable):
#insights-client --version     
Client: 3.1.7
Core: 3.0.290-1
RHEL9.1 and RHEL8.7

>>> Steps to Reproduce:
# subscription-manager register --username {username} --password {password} --auto-attach --serverurl https://subscription.rhsm.redhat.com/subscription
# insights-client --register
# chmod 777 /etc/ssh/sshd_config
# insights-client
# insights-client --check-results
# insights-client --show-results
[]

>>> Actual results:
An empty list is returned from server when checking results ( - - check-results) and then showing it (- - show-results) if machine is subscribed to prod.

It is working fine when subscribed on stage.

On CRC side, nothing has been registered on Advisor tab when subscribed to prod; when subscribed to stage, it is possible to see the remediation listed on Advisor. More details in attachments.

>>> Expected results:
Data from server indicating the remediation for the vulnerability show be displayed returned.

>>> Additional info:
Probably this bug is related to this one: 
Kafka lag in PROD causing a huge delay for systems being processed by Advisor (https://issues.redhat.com/browse/ADVISOR-2713)