Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1903989 - reports:daily trigger mail notification twice
Summary: reports:daily trigger mail notification twice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Email
Version: 6.8.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: 6.9.0
Assignee: Dominik Matoulek
QA Contact: Stephen Wadeley
URL:
Whiteboard:
: 1919101 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-03 10:26 UTC by Ranjan Kumar
Modified: 2024-06-13 23:37 UTC (History)
9 users (show)

Fixed In Version: foreman-2.3.1.1-1,tfm-rubygem-katello-3.18.1.5-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1933166 (view as bug list)
Environment:
Last Closed: 2021-04-21 13:24:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30670 0 Normal Closed foreman-rake reports:daily runs all reports twice 2021-02-15 20:58:41 UTC
Foreman Issue Tracker 31418 0 Normal Closed foreman-rake reports:daily runs all reports twice 2021-02-15 20:58:41 UTC
Red Hat Knowledge Base (Solution) 5822361 0 None None None 2021-05-20 06:26:39 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:24:48 UTC

Description Ranjan Kumar 2020-12-03 10:26:30 UTC
Description of problem:
Subscribe only one mail notification and running rake task sends same mail notification twice
# foreman-rake  reports:daily

[root@dgupte-rhsat ~]# tail -f -n 200 /var/log/foreman/production.log  | grep -i deliv
2020-12-03T13:12:46 [I|app|] Delivered mail 5fc896f632df0_50e9fbe618806be.pnq2.redhat.com.mail (32.0ms)
2020-12-03T13:12:46 [I|app|] Delivered mail 5fc896f6474c6_50e9fbe618807bb.pnq2.redhat.com.mail (20.7ms)


Version-Release number of selected component (if applicable): Satellite 6.8


How reproducible: Always


Actual results: It sends an email notification twice


Expected results: It should send an email once

Comment 1 Bryan Kearney 2020-12-03 12:06:08 UTC
Upstream bug assigned to dmatoule

Comment 2 Bryan Kearney 2020-12-03 12:06:11 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30670 has been resolved.

Comment 5 Marek Hulan 2021-01-11 16:47:38 UTC
It seems the upstream issue wasn't linked properly, we need https://github.com/Katello/katello/pull/9057 to really fix the issue. Linking the right one now - https://projects.theforeman.org/issues/31418 and switching back to ON_DEV

Comment 9 Lukas Zapletal 2021-01-25 07:03:42 UTC
*** Bug 1919101 has been marked as a duplicate of this bug. ***

Comment 14 errata-xmlrpc 2021-04-21 13:24:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1313


Note You need to log in before you can comment on or make changes to this bug.