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

The Insights Inventory report is not generated within "/var/lib/foreman/red_hat_inventory/generated_reports/" on Satellite 6.18

XMLWordPrintable

    • None
    • None
    • None
    • To Do
    • Yes
    • Fail

      Description of problem:

      After setting 'Subscription connection enabled' to NO and triggering the report generation from Satellite WebUI → Insights → Inventory Upload → Generate and Upload Report, the expected report is not created in the /var/lib/foreman/red_hat_inventory/generated_reports/ directory on the Satellite server.

       

      Environment: Satellite 6.18.0 ( stream 106 )

       

      How reproducible: Always

       

      Is this issue a regression from an earlier version: The 'Subscription connection enabled' is newly introduced on Satellite 6.18

       

      Steps to Reproduce:

      1. Navigate to Satellite WebUI -> Administer -> Settings -> Content -> 'Subscription connection enabled' -> Set this to NO. This will disable the Insights Upload

      2. Navigate to Satellite WebUI -> Insights -> Inventory Upload and click on 'Generate Report'

      2. On the WebUI, the below logs are displayed:

               "Successfully generated /var/lib/foreman/red_hat_inventory/generated_reports/report_for_1.tar.xz for organization id 1"

      3. The 'Generate report job' task is generated on Satellite WebUI -> Monitor -> Tasks which executed successfully with status of Stopped/Success

       

      Actual behavior:
      On Satellite CLI, there are no reports present within '/var/lib/foreman/red_hat_inventory/generated_reports/' directory. The report is present in '/var/lib/foreman/red_hat_inventory/uploads/done' directory. But since the Upload is disabled by setting  'Subscription connection enabled' to NO, the report should be present in '/var/lib/foreman/red_hat_inventory/generated_reports/' directory

       

      Expected behavior:
      The generated report should be present within the '/var/lib/foreman/red_hat_inventory/generated_reports/' directory

       

      Business Impact / Additional info:

      The report can be downloaded using 'Download Report' button within Satellite WebUI -> Insights -> Inventory Upload' and has the required content

       

              rhn-support-chrobert Chris Roberts
              rhn-support-jbhatia Jayant Bhatia
              Ladislav Vasina Ladislav Vasina
              Lucy Fu Lucy Fu
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h