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: