Project

General

Profile

Bug #31418

foreman-rake reports:daily runs all reports twice

Added by Marek Hulán 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
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

Copied from Foreman - Bug #30670: foreman-rake reports:daily runs all reports twiceClosed
Copied to Katello - Bug #31437: foreman-rake reports:daily runs all reports twiceClosed

Associated revisions

Revision bda54ecf (diff)
Added by Marek Hulán 11 months ago

Fixes #31418 - avoid duplicating notifications

History

#1 Updated by Marek Hulán 11 months ago

  • Copied from Bug #30670: foreman-rake reports:daily runs all reports twice added

#2 Updated by The Foreman Bot 11 months ago

  • Assignee set to Marek Hulán
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9057 added

#3 Updated by Jonathon Turel 11 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0
  • Category set to Tooling

#4 Updated by Jonathon Turel 11 months ago

  • Copied to Bug #31437: foreman-rake reports:daily runs all reports twice added

#5 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases Katello 4.0.0 added

#6 Updated by Marek Hulán 11 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF