Project

General

Profile

Actions

Bug #30670

closed

foreman-rake reports:daily runs all reports twice

Added by Gerald Vogt almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Reporting
Target version:
-
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 to Katello - Bug #31418: foreman-rake reports:daily runs all reports twiceClosedMarek HulánActions
Actions #1

Updated by Dominik Matoulek almost 4 years ago

  • Assignee set to Dominik Matoulek
Actions #2

Updated by Gerald Vogt over 3 years ago

  • Found in Releases 2.2.1 added

I have noticed the "Remove orphans" task which is running once a week always get into paused state. Checking the tasks view it also seems to be running twice at the same time. One of those tasks succeeds while the other gets paused eventually.

Actions #3

Updated by Marek Hulán over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8165 added
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.4.0 added
Actions #6

Updated by Marek Hulán over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/8174 added
Actions

Also available in: Atom PDF