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

Satellite 6.16(17) does not list packages in RHCloud report on RHEL8/9(10 for 6.17) containers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 6.16.z
    • stream, 6.17.0, 6.16.5.1
    • RH Cloud
    • False
    • Moderate
    • sat-proton
    • None
    • None
    • None
    • Automated
    • Yes

      Description of problem:
      ************************************

      UPDATE 27.5.2025:

      The same issue also happens on 6.17 and on stream but on these versions just with RHEL10 containers. (found by further investigation of test results on 6.17 and stream)

      **************************************

      With Satellite 6.16 (and 6.17 and stream for RHEL10 containers), when I try to generate a RHCloud report for an organization and then check if the report has properly reported "installed_packages" in it, I fail to do so. (No installed packages are reported)

      I fail to do so when the host is a RHEL8 or RHEL9 (RHEL10 container for 6.17 and stream) container, but I am able to get a properly filled report with a standard RHEL host deployment (and curiously, it also works with containerized RHEL7).

       

      Test that found this issue test_rhcloud_inventory_e2e

      How reproducible:
      Everytime
       

      Is this issue a regression from an earlier version:
      Yes

      Steps to Reproduce:

      1. Have a 6.16 or 6.17 satellite

      2. Register a containerized RHEL host(s) with insights-client installed

      3. In UI go to Configure->RHCloud->Inventory Upload->YOUR_ORG->Generating Tab->Restart (Generates the report)
      4. In UI go to Configure->RHCloud->Inventory Upload->YOUR_ORG->Uploading Tab->Download report
      5. Check the downloaded report file for "installed_packages"

      Actual behavior:
      "installed_packages" are not filled in the downloaded report file

      Expected behavior:
      "installed_packages" should be in the downloaded report file

      Additional info:

      Interesting part is, that I found a workaround for it to start working, but I have not figured out why is it working.

      For the report generation to start working properly (filling "installed_packages" with some data and not leaving it blank) I just need to do

       
      podman exec -ti CONTAINER_NAME bash
       
      after this step, I redid the steps (Generate, Download and check the report) and the report suddenly contained the "installed_packages"
       

      Satellite 6.16 version it was tested on:
      satellite-6.16.5.1-1.el9sat.noarch
      foreman-3.12.0.8-1.el9sat.noarch
      katello-4.14.0-0.1.rc2.el9sat.noarch
      Red Hat Enterprise Linux release 9.5 (Plow)

      Satellite 6.17 it was tested on:
      satellite-6.17.0-2.el9sat.noarch
      foreman-3.14.0.2-1.el9sat.noarch
      katello-4.16.0-1.el9sat.noarch
      Red Hat Enterprise Linux release 9.5 (Plow)
      -------------------------------
      Docker files we are using
      RHEL7 container docker file
      Insights client version on RHEL7 containers:
      Client: 3.1.9
      Core: 3.5.0-2
      RHEL8 container docker file
      Insights client version on RHEL8 containers:
      Client: 3.2.2
      Core: 3.5.0-2
      RHEL9 container docker file
      Insights client version on RHEL9 containers:
      Client: 3.2.8
      Core: 3.5.0-2
      RHEL10 container docker file
      Insights client version on RHEL10 containers:
      Client: 3.10.0
      Core: 3.5.2-1

              Unassigned Unassigned
              rhn-engineering-lvasina Ladislav Vasina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: