Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-39784

Offline systems reported with updated "Last seen" timestamp in HCC Inventory

XMLWordPrintable

    • False
    • Proton Prioritized Backlog
    • sat-proton
    • None
    • None
    • None
    • None

      Description of Problem

      The Satellite inventory upload plugin reports all registered systems to the Hybrid Cloud Console (HCC) Inventory, including systems that are offline or powered down. This causes offline systems to appear with updated "Last seen" timestamps in HCC, making them appear as if they successfully checked in when they did not.

      This behavior is inconsistent with other Red Hat data collection tools (insights-client and subscription-manager), which naturally stop reporting when systems go offline.

      Environment

      Satellite with inventory upload enabled and configured to sync to Hybrid Cloud Console

      Steps to Reproduce

        1. Register a content host to a Satellite organization with inventory upload enabled
          2. Verify the system appears in HCC Inventory at https://console.redhat.com/insights/inventory
          3. Completely shut down the registered content host (power off the VM/server)
          4. Wait for the next scheduled inventory upload cycle to run (typically runs overnight)
          5. Check the host status in HCC Inventory the next day
          6. Observe the "Last seen" timestamp for the offline system

      Actual Behavior

      The offline/powered-down system shows an updated "Last seen" timestamp in HCC Inventory, indicating it recently checked in, even though:

      • The system is completely offline
      • No agent on the system reported any data
      • Satellite reported the system's inventory on its behalf

      Expected Behavior

       Satellite should detect offline systems and exclude them from inventory uploads

        1.  

      Inconsistency with Other Tools

      • insights-client (agent-based): Stops reporting when system is offline ✓
      • subscription-manager (agent-based): Stops reporting when system is offline ✓
      • Satellite inventory upload (server-based): Continues reporting offline systems ✗

      Acceptance Criteria for QE

        1. Register multiple content hosts to Satellite with inventory upload enabled
          2. Verify all systems appear correctly in HCC Inventory with accurate "Last seen" timestamps
          3. Power off 50% of the registered content hosts
          4. Trigger a Satellite inventory upload
          5. Verify in HCC Inventory that:
      • Online systems show updated "Last seen" timestamps
      • Offline systems do NOT show misleading updated timestamps OR are clearly marked as "reported by Satellite" vs "direct check-in"
        6. Power the systems back on
        7. Wait for systems to check in (via insights-client or subscription-manager)
        8. Verify the "Last seen" timestamps now reflect the actual check-in time

              Unassigned Unassigned
              rhn-engineering-paji Partha Aji
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: