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

Whenever expiring the config reports, the entry is still on the page Hosts - All Hosts - Last report column

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.18.0
    • Hosts
    • False
    • sat-proton
    • None
    • None
    • None
    • None

      Description of problem:

      Whenever expiring the config reports, the entry is still on the page Hosts - All Hosts - Last report column

       

      How reproducible:

      100%

       

      Is this issue a regression from an earlier version:

      Not sure.

       

      Steps to Reproduce:

      1. Satellite + content Host

      2. No need to add ansible role, just click on the content host, Schedule a Job - Run Ansible Roles (this will update Hosts - All Hosts - Last report column, and also Monitor - Reports - Config Management)

      3. Execute the command below

      foreman-rake  reports:expire days=0 RAILS_ENV="production" 

      This will remove any entry from Monitor - Reports - Config Management

      4. Access Hosts - All Hosts, and here, it should still visible the entry on Last report column for that specific content host.

       

      Actual behavior:
      The link is still around, and pointing to an invalid path

       

      Expected behavior:
      The link should be removed, and updated to "No report"

       

      Business Impact / Additional info:

       

              Unassigned Unassigned
              rhn-support-wpinheir Waldirio Pinheiro
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: