Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 429866

Summary: Daily summary email lists duplicate errata update listed
Product: [Retired] Red Hat Network Reporter: daryl herzmann <akrherz>
Component: RHN/OtherAssignee: Mike Orazi <morazi>
Status: CLOSED CURRENTRELEASE QA Contact: Amy Owens <aowens>
Severity: low Docs Contact:
Priority: low    
Version: rhn500CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: US=19788
Fixed In Version: 5.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-26 20:21:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 431812, 443075    
Attachments:
Description Flags
RHN Status Email for 23 Jan 2008
none
RHN Status Email for 15 Feb 2008 none

Description daryl herzmann 2008-01-23 15:22:22 UTC
The "RHN Daily Status Report" for my account on hosted will list errata twice,
for instance:

                         Failed Queued  Completed       
Errata Update:
        RHBA-2008:0057            49
        RHBA-2008:0057            19

If there is something different about those two entries, it should be included
in the email.  Attached is my email for today showing this.

Comment 1 daryl herzmann 2008-01-23 15:22:22 UTC
Created attachment 292650 [details]
RHN Status Email for 23 Jan 2008

Comment 4 daryl herzmann 2008-02-15 15:48:50 UTC
Created attachment 295017 [details]
RHN Status Email for 15 Feb 2008

RHSA-2008:0132 is listed twice.

Comment 10 Mike Orazi 2008-04-10 03:12:21 UTC
The duplicates appear as a result of an aggregation & formatting error in the
creation of this email.  

The duplicate lines appear to be reporting for instance:

                         Failed Queued  Completed       
Errata Update:
        ADVISORY1                  10
        ADVISORY1                  2

where it should look like:

                         Failed Queued  Completed       
Errata Update:
        ADVISORY1            10     2

or at least:

                         Failed Queued  Completed       
Errata Update:
        ADVISORY1           10
        ADVISORY1                  2
       

See:  https://bugzilla.redhat.com/show_bug.cgi?id=429867 for additional
information regarding the formatting issues with this email.

Comment 12 Mike Orazi 2008-05-01 01:17:00 UTC
First cut at combining actions is in rev 118727.  The resulting email fragment
currently will follow a pattern similar to:

                              Failed    Queued    Completed

Errata Update:  ADVISORY1        1         0          4
Different Action2                0         3          4
Different Action3                1         1          1

Test plan:  Create DailySummaryEmails with a variety of errata + non-errata
actions, with multiple status.  Ensure that each action is listed only once, and
that the counts are correct.