Bug 2110731

Summary: [ BUG ] Sync errata email notification is not workng in Satellite 6.11 whereas "Test Email" functions fine
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: EmailAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: addubey
Severity: high Docs Contact:
Priority: high    
Version: 6.11.0CC: addubey, afeferku, ahumbe, apatel, dhjoshi, lzap, mhulan, zhunting
Target Milestone: 6.12.0Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.5.0.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:34:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sayan Das 2022-07-25 18:55:01 UTC
Description of problem:

After subscribing to Sync errata notification, The "Test Email" test works fine but if I sync a repo and new errata comes in, There are no notification emails sent.

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

Satellite 6.11 [ RHEL 7 + RHEL 8 ]


How reproducible:

Always


Steps to Reproduce:

1. Install a Satellite 6.11
2. Enable a few repos
3. Edit Admin user, Set email address to the user, Enable Email for the user and subscribe to "Sync errata"
4. Click on "Test email" and then save
5. Sync any of the repos and wait for the sync to get completed.



Actual results:

At Step 4, we receive the test email in our inbox as expected

At Step 5, sync happens fine, new errata\packages gets downloaded but no email initiated by satellite. 


Expected results:

The Email Notification should work fine for all the available options


Additional info:

Comment 2 Sayan Das 2022-07-25 19:34:55 UTC

This PR fixes the issue:

Bug #35053: No longer receive errata email notification after syncing repository when there are new errata. - Katello - Foreman
https://projects.theforeman.org/issues/35053

Fixes #35053 - User no longer receive errata email notification by hao-yu · Pull Request #10163 · Katello/katello
https://github.com/Katello/katello/pull/10163


I noticed that we highlighted two issues in this bug https://bugzilla.redhat.com/show_bug.cgi?id=2044314 but we neither mention the second issue on any public comments nor the title of the BZ reflects the same.

Comment 3 Bryan Kearney 2022-07-25 20:05:16 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35053 has been resolved.

Comment 15 errata-xmlrpc 2022-11-16 13:34:44 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 (Important: Satellite 6.12 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-2022:8506