Project

General

Profile

Actions

Bug #31437

closed

foreman-rake reports:daily runs all reports twice

Added by Jonathon Turel over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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.

See also here https://community.theforeman.org/t/rake-reports-daily-runs-reports-twice/20074


Related issues 1 (0 open1 closed)

Copied from Katello - Bug #31418: foreman-rake reports:daily runs all reports twiceClosedMarek HulánActions
Actions #1

Updated by Jonathon Turel over 3 years ago

  • Copied from Bug #31418: foreman-rake reports:daily runs all reports twice added
Actions #2

Updated by Jonathon Turel over 3 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/9057)

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

Actions #3

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9110 added
Actions #4

Updated by Chris Roberts about 3 years ago

  • Status changed from Ready For Testing to Resolved
Actions #5

Updated by Jonathon Turel about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF