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

[rhel-10] new insights-client service autorestart breaks cockpit "broken upload" detection

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

    • subscription-manager-cockpit-7-1.el10
    • No
    • Low
    • subs-client-tools
    • 5
    • False
    • False
    • Hide

      None

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

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

      As result of CCT-463, now the insights-client systemd service is automatically restarted in case of failure (which is good). The cockpit plugin for subscription-manager has a detection for failed uploads, which checks the state of the systemd service as main criteria; this detection is now broken, since the systemd service is never set as failed anymore.

      Please provide the package NVR for which bug is seen:

      subscription-manager-cockpit-6-4.el10.noarch
      insights-client-3.2.8-1.el10.noarch

      How reproducible:

      Always

      Steps to reproduce

      1. # Register a system also to Insights
      2. Open the Subscriptions page in cockpit
      3. Wait for a failed upload of insights-client, maybe forcing one somehow (e.g. adding broken hosts in /etc/hosts)
      4. Observe the status of Insights in the plugin

      Expected results

      • the plugin shows a yellow warning icon (similar to ) next to the "Connected to Insights" text
      • clicking on the "Connected to Insights" text shows a popup with the status of Insights, showing a text "The last Insights data upload has failed."

      Actual results

      The plugin does not show anything about the last failed upload.

              ptoscano@redhat.com Pino Toscano
              ptoscano@redhat.com Pino Toscano
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Jan Stavel Jan Stavel
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: