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-03-25 17:22 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.