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 2044314 - Post upgrade to satellite 6.10, sync summary email notification shows the incorrect summary for newly added errata.
Summary: Post upgrade to satellite 6.10, sync summary email notification shows the inc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium with 2 votes
Target Milestone: 6.11.1
Assignee: satellite6-bugs
QA Contact: addubey
URL:
Whiteboard:
: 2043045 2055410 (view as bug list)
Depends On:
Blocks: 2089580
TreeView+ depends on / blocked
 
Reported: 2022-01-24 12:08 UTC by Satyajit Das
Modified: 2023-06-13 04:06 UTC (History)
20 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.43-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2102867 (view as bug list)
Environment:
Last Closed: 2022-07-27 17:27:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Hotfix RPM for Satellite 6.10.6 (9.30 MB, application/x-rpm)
2022-06-28 21:17 UTC, wclark
no flags Details
Hotfix RPM (updated for Satellite 6.10.7) (9.30 MB, application/x-rpm)
2022-07-11 15:40 UTC, wclark
no flags Details
Hotfix RPM for Satellite 6.11.0 on RHEL7 (10.56 MB, application/x-rpm)
2022-07-26 02:18 UTC, wclark
no flags Details
Hotfix RPM for Satellite 6.11.0 on RHEL8 (10.51 MB, application/x-rpm)
2022-07-26 02:21 UTC, wclark
no flags Details
Hotfix RPM for Satellite 6.10.7 (9.30 MB, application/x-rpm)
2022-12-05 12:25 UTC, wclark
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34414 0 Normal Closed Post upgrade to 4.1, sync summary email notification shows the incorrect summary for newly added errata. 2022-06-02 14:00:54 UTC
Foreman Issue Tracker 35053 0 Normal Closed No longer receive errata email notification after syncing repository when there are new errata. 2022-07-20 07:00:08 UTC
Github Katello katello pull 10163 0 None open Fixes #35053 - User no longer receive errata email notification 2022-06-14 14:19:24 UTC
Red Hat Issue Tracker SAT-11012 0 None None None 2022-12-05 12:27:18 UTC
Red Hat Issue Tracker SAT-7921 0 None None None 2022-12-05 12:27:27 UTC
Red Hat Knowledge Base (Solution) 6958610 0 None None None 2022-06-30 07:48:42 UTC
Red Hat Knowledge Base (Solution) 6964837 0 None None None 2022-06-27 09:25:37 UTC
Red Hat Product Errata RHBA-2022:5742 0 None None None 2022-07-27 17:27:19 UTC

Description Satyajit Das 2022-01-24 12:08:18 UTC
Description of problem:

Post upgrade to satellite 6.10, sync summary email notification shows the incorrect summary for newly added errata. Instead of showing only newly added errata, it shows all the errata parts of the repository.


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

6.10.z


How reproducible:

100%


Steps to Reproduce:

1. Upgrade from 6.9 to 6.10 / Deploy a new satellite 6.10
2. Enable email notification and subscribe to sync summary
3. Enable rhel-7/8 repository and initiate the sync

Actual results:

Post sync, you will receive sync summary notification, however, in the New Errata section, it will show all the errata parts of the repository, instead of newly added errata. 


Expected results:


 It should contain only the newly added errata, instead of all the errata parts of the repository.

Additional info:

In 6.9 it's working as expected and in 6.10 the behavior is easily reproducible. 

In 6.10 I tried to sync the same repository multiple times and for all the sync summary notifications, I observed it shows all the errata parts of the repository.

Comment 2 Samir Jha 2022-02-08 18:15:43 UTC
Created redmine issue https://projects.theforeman.org/issues/34414 from this bug

Comment 3 Bryan Kearney 2022-02-17 16:06:02 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34414 has been resolved.

Comment 5 Akhil Jha 2022-03-07 07:05:21 UTC
Verified.
Satellite 7.0.0 - 12.0 (RHEL7 and RHEL8)

Comment 17 wclark 2022-06-27 14:13:48 UTC
Moving to POST since both https://projects.theforeman.org/issues/34414 and the newer issue https://projects.theforeman.org/issues/35053 are resolved upstream

Comment 18 wclark 2022-06-28 21:17:20 UTC
Created attachment 1893267 [details]
Hotfix RPM for Satellite 6.10.6

A Hotfix RPM is available, which fixes both the Errata Mail issue described here as well as the Errata Mail issue described in https://bugzilla.redhat.com/show_bug.cgi?id=2089580

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.10.6 server

2. Download the hotfix RPM attached to this BZ and copy it to Satellite server

3. # yum install ./tfm-rubygem-katello-4.1.1.57-3.HOTFIXRHBZ2089580.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

Comment 19 Pavel Moravec 2022-06-30 07:48:42 UTC
*** Bug 2043045 has been marked as a duplicate of this bug. ***

Comment 21 wclark 2022-07-11 15:40:59 UTC
Created attachment 1896105 [details]
Hotfix RPM (updated for Satellite 6.10.7)

A Hotfix RPM is available, which fixes both the Errata Mail issue described here as well as the Capsule Sync issue described in https://bugzilla.redhat.com/show_bug.cgi?id=2089580

NOTE: https://bugzilla.redhat.com/show_bug.cgi?id=2089580 was fixed in Satellite 6.10.7 so this updated version of the hotfix, which is built for the 6.10.7 branch, only contains the single additional patch needed to resolve the errata mail aspec of that issue.

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.10.7 server

2. Download the hotfix RPM attached to this BZ and copy it to Satellite server

3. # yum install ./tfm-rubygem-katello-4.1.1.60-2.HOTFIXRHBZ2089580.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

Comment 32 myoder 2022-07-19 15:56:58 UTC
*** Bug 2055410 has been marked as a duplicate of this bug. ***

Comment 37 wclark 2022-07-26 02:18:36 UTC
Created attachment 1899329 [details]
Hotfix RPM for Satellite 6.11.0 on RHEL7

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.11.0 server

2. Download the hotfix RPM for Satellite 6.11.0 on RHEL7 attached to this BZ and copy it to Satellite server

3. # yum install ./tfm-rubygem-katello-4.3.0.42-2.HOTFIXRHBZ2044314.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

Comment 38 wclark 2022-07-26 02:21:11 UTC
Created attachment 1899330 [details]
Hotfix RPM for Satellite 6.11.0 on RHEL8

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.11.0 server

2. Download the hotfix RPM for Satellite 6.11.0 on RHEL8 attached to this BZ and copy it to Satellite server

3. # dnf install ./rubygem-katello-4.3.0.42-2.HOTFIXRHBZ2044314.el8sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart

Comment 43 errata-xmlrpc 2022-07-27 17:27:09 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 (Satellite 6.11.1 Async Bug Fix Update), 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/RHBA-2022:5742

Comment 44 Pavel Moravec 2022-07-29 10:32:46 UTC
Some heads-up this might not be properly fixed (we are investigating further / will try to reproduce):


Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7Server
	about 1 hour ago 	4 minutes 	Added Rpms: 22, Errata: 1

Email:
SYNC SUMMARY
The synchronization of "Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7Server" has completed. Below is a summary of new errata. A large number of errata were synced for this repository, so only the first 100 are shown. 

New Errata
44 SECURITY	
28 BUGFIX	
74 ENHANCEMENT


Just some repos seem to be still affected, most of them are fine.

Comment 46 Pavel Moravec 2022-08-08 12:41:52 UTC
(In reply to Pavel Moravec from comment #44)
> Some heads-up this might not be properly fixed (we are investigating further
> / will try to reproduce):
> 
> 
> Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
> x86_64 7Server
> 	about 1 hour ago 	4 minutes 	Added Rpms: 22, Errata: 1
> 
> Email:
> SYNC SUMMARY
> The synchronization of "Red Hat Software Collections RPMs for Red Hat
> Enterprise Linux 7 Server x86_64 7Server" has completed. Below is a summary
> of new errata. A large number of errata were synced for this repository, so
> only the first 100 are shown. 
> 
> New Errata
> 44 SECURITY	
> 28 BUGFIX	
> 74 ENHANCEMENT
> 
> 
> Just some repos seem to be still affected, most of them are fine.

I raised https://bugzilla.redhat.com/show_bug.cgi?id=2116375 for the above bug.

Comment 47 wclark 2022-12-05 12:25:15 UTC
Created attachment 1930052 [details]
Hotfix RPM for Satellite 6.10.7

Hotfix RPM for Satellite 6.10.7

NOTE: This hotfix contains the fixes for the following BZs: 2133615, 2133343, 2044314, 2116375

INSTALL INSTRUCTIONS:

1. Take a complete backup or snapshot of Satellite 6.10.7 server

2. Download the hotfix RPM attached to this BZ and copy it to Satellite server

3. # yum install ./tfm-rubygem-katello-4.1.1.60-4.HOTFIXRHBZ2133615.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart


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