Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-120947

insights-client misleading registration status

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • None
    • subs-client-tools
    • None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      We've observed a discrepancy in insights-client status on systems affected by RHINENG-18269 [0].

      • Initially, $(insights-client --status) reports: "This host is registered":
      [root@host ~]# insights-client --status
      HTTPSConnectionPool(host='satellite.example.com', port=443): Max retries exceeded with url: /redhat_access/r/insights/v1/static/release/insights-core.el9.egg (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1147)'))) The Insights API could not be reached. This host is registered.
      
      
      • However, after following the resolution steps in [1], the insights-client correctly shows that the host is in fact not registered:
      [root@host ~]# rm /var/lib/insights/newest.egg* -f
      [root@host ~]# insights-client && insights-client --version
      This machine has not yet been registered. Use --register to register this machine.
      

       

      The host failed to report for a while and so it was deleted from the inventory due to staleness.

      I'm opening this JIRA to explore whether anything can be done to improve the accuracy of the registration status in such cases.

       

      [0]https://issues.redhat.com/browse/RHINENG-18269

      [1]https://access.redhat.com/solutions/7122649

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rhn-support-jsenkyri Jan Senkyrik
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: