Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1129616

Summary: Adding new RPMs to a product repository reports wrong number of RPMs on the published content view
Product: Red Hat Satellite Reporter: Benjamin Chardi <bchardim>
Component: Content ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.3CC: bbuckingham, cwelton, sghai, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:14:12 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:
Bug Depends On:    
Bug Blocks: 1115190    
Attachments:
Description Flags
RPM count
none
CV shows 2 packages under published version
none
two packages under selected repo none

Description Benjamin Chardi 2014-08-13 11:03:05 UTC
Created attachment 926372 [details]
RPM count

Description of problem:

When in a  product yum repository a new rpm is added and a new content_view published the number of rpms  belonging to that content view reported by the product is not correct.


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

Satellite6 - Beta - HTB


How reproducible:


Steps to Reproduce:

1. Create a product with a yum repo of 1 rpm
2. Create a content view and publish it 
3. Verify number of RPMs contained in that content view

Content -> 1 Package

4. On product yum repo add a second RPM
5. Sync product
6. Create a new Content View
7. Verify number of RPMs contained in that content view

Content -> 3 Packages

The first package is report 2 times while the new one just one time. The total number is wrong.  3 != 2

Attached a 



Actual results:

3 Packages

Expected results:

2 Packages

Additional info:

Comment 1 RHEL Program Management 2014-08-13 11:03:12 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 5 Sachin Ghai 2015-03-11 10:16:28 UTC
verified with sat6.1 beta snap5. 

Satellite-6.1.0-RHEL-7-20150303.0

I can see 2 packages as per the steps given in description. Please see the attached sceenshot.

Comment 6 Sachin Ghai 2015-03-11 10:25:49 UTC
Created attachment 1000333 [details]
CV shows 2 packages under published version

Comment 7 Sachin Ghai 2015-03-11 10:26:34 UTC
Created attachment 1000334 [details]
two packages under selected repo

Comment 8 Bryan Kearney 2015-08-11 13:28:43 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:14:12 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, 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-2015:1592