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

AttributeError: 'NoneType' object has no attribute 'ok'

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.3.0, rhel-9.3.0.z
    • insights-client
    • None
    • None
    • Moderate
    • rhel-sst-insights
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Starting Feb 13 insights-client started failing to report, no update to insights-client RPM

      Please provide the package NVR for which bug is seen:

      $ rpm -q --last insights-client
      insights-client-3.2.2-1.el9_3.noarch          Tue 07 Nov 2023 07:17:41 AM CST

      How reproducible:

      Since Feb 13, always

      Steps to reproduce

      1. unknown, just started occurring 

      Expected results

      Feb 12 01:05:05 systemd[1]: Started Insights Client.
      Feb 12 01:05:10 insights-client[3172318]: WARN: BASIC authentication method is being deprecated. Please consider using CERT authentication method.
      Feb 12 01:05:19 insights-client[3172346]: Starting to collect Insights data for lager.jjhartsock.com
      Feb 12 01:06:47 insights-client[3172346]: Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ...
      Feb 12 01:06:47 insights-client[3172346]: Creating IP Report - /tmp/insights-lager.jjhartsock.com-20240212010519-ip.csv
      Feb 12 01:06:47 insights-client[3172346]: Completed IP Report.
      Feb 12 01:06:48 insights-client[3172346]: Uploading Insights data.
      Feb 12 01:06:48 insights-client[3172346]: Successfully uploaded report from lager.jjhartsock.com to account 6163437.
      Feb 12 01:06:48 insights-client[3172346]: View details about this system on console.redhat.com:
      Feb 12 01:06:48 insights-client[3172346]: https://console.redhat.com/insights/inventory/81539fa0-187f-4734-9954-b959b70f0652
      Feb 12 01:06:49 systemd[1]: insights-client.service: Deactivated successfully.
      Feb 12 01:06:49 systemd[1]: insights-client.service: Consumed 28.674s CPU time.

      Actual results

      Feb 13 02:53:21 systemd[1]: Started Insights Client.
      Feb 13 02:53:24 insights-client[3484578]: Traceback (most recent call last):
      Feb 13 02:53:24 insights-client[3484578]:   File "/usr/bin/insights-client", line 11, in <module>
      Feb 13 02:53:24 insights-client[3484578]:     _main()
      Feb 13 02:53:24 insights-client[3484578]:   File "/usr/lib/python3.9/site-packages/insights_client/_init_.py", line 222, in _main
      Feb 13 02:53:24 insights-client[3484578]:     run_phase(p, client, validated_eggs)
      Feb 13 02:53:24 insights-client[3484578]:   File "/usr/lib/python3.9/site-packages/insights_client/_init_.py", line 104, in run_phase
      Feb 13 02:53:24 insights-client[3484578]:     if config['gpg'] and not client.verify(egg)['gpg']:
      Feb 13 02:53:24 insights-client[3484578]:   File "/var/lib/insights/last_stable.egg/insights/client/_init_.py", line 304, in verify
      Feb 13 02:53:24 insights-client[3484578]:   File "/var/lib/insights/last_stable.egg/insights/client/crypto.py", line 201, in verify_gpg_signed_file
      Feb 13 02:53:24 insights-client[3484578]: AttributeError: 'NoneType' object has no attribute 'ok'
      Feb 13 02:53:24 systemd[1]: insights-client.service: Main process exited, code=exited, status=1/FAILURE
      Feb 13 02:53:24 systemd[1]: insights-client.service: Failed with result 'exit-code'.
      Feb 13 02:53:24 systemd[1]: insights-client.service: Consumed 1.080s CPU time.

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rhn-support-jhartsoc James Hartsock (Inactive)
              James Hartsock (Inactive)
              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:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: