foreman-rake reports:daily runs all reports twice
Since the update to katello 3.16 from 3.15 I have noticed that all daily reports from the rake reports:daily cron job are generated twice. For instance, I get two "Configuration Management Summary Reports". The first one contains the "Summary from 1 day ago to now", the second one immediately following contains "Summary from less than a minute ago to now".
If I run the cronjob manually, i.e. as user foreman:
$ RAILS_ENV=production FOREMAN_HOME=/usr/share/foreman /usr/sbin/foreman-rake reports:daily
the same happens.
#2 Updated by Jonathon Turel about 2 months ago
- Pull request deleted (
This needs a different fix than 4.0 which is why this is copied from https://projects.theforeman.org/issues/31418.
See this comment: https://github.com/Katello/katello/pull/9057#pullrequestreview-541982767