Bug 1237353

Summary: Duplicate erratas are displayed which causes the errata apply to fail
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, jsherril
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/11117
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 16:04:56 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:
Attachments:
Description Flags
Errata duplicates none

Description sthirugn@redhat.com 2015-06-30 22:03:39 UTC
Created attachment 1044805 [details]
Errata duplicates

Description of problem:
Duplicate erratas are displayed which causes the errata apply to fail

Version-Release number of selected component (if applicable):
Sat 6.1 public beta
Sat 6.1 GA Snap 9

How reproducible:
Always

Steps to Reproduce:
1. Sync rhel 7Server 
2. Register/Subscribe few content hosts
3. Go to Content -> Errata and try to apply few erratas

Actual results:
Errata apply failed.  On investigation, I found two duplicate errata entries:
RHBA-2015:0964
RHBA-2015:0974
(See Screenshot)

Expected results:
Duplicate entries should not be present in errata. This causes errata apply failures.

Additional info:
If I deselect the duplicate entries, errata apply works fine.

Comment 1 Justin Sherrill 2015-06-30 22:14:35 UTC
I did double check in the  GA Snap 9, that there were no duplicates in the db.  SO the issue again was something query related.

Comment 3 Justin Sherrill 2015-07-14 18:22:30 UTC
Created redmine issue http://projects.theforeman.org/issues/11117 from this bug

Comment 4 Bryan Kearney 2015-07-14 20:04:43 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/11117 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|33e5f19468c7432d0cfd484e2cfbc7a466089737.

Comment 7 sthirugn@redhat.com 2015-07-24 19:49:46 UTC
Verified in Sat 6.1 GA Snap 14

Comment 8 Bryan Kearney 2015-08-12 16:04:56 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.