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 1992267

Summary: Incorrect puppet module count when a content view is added to the composite content view.
Product: Red Hat Satellite Reporter: Gourav Padholia <gpadholi>
Component: Content ViewsAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.8.0CC: ahumbe, chrobert, jsherril, kupadhya, mfalz, mkalyat, osousa, wclark
Target Milestone: 6.9.9Keywords: Regression, Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: https://projects.theforeman.org/issues/34528
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.18.1.53-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 20:34:52 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:

Comment 1 Gourav Padholia 2021-08-10 20:25:19 UTC
Description of problem:
Incorrect "puppet module" count when a content view is added to the composite content view. 

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

How reproducible:
100%

Steps to Reproduce:
1. Create a content view and add one puppet module in the CV, publish a new version of the CV.  
2. Add this content view in a composite content view. Publish a new version of the CCV as well. 
3. It is showing 0 puppet modules on the Satellite web UI -> Content views -> Select CCV -> content views tab. 
4. puppet module is added to the CCV but on a content view list/add page, it is showing  0 puppet modules. 

Actual results:
Content view is showing 0 puppet modules.

Expected results:
Content view should list the correct puppet module count.

Additional info:
This is working fine in Satellite 6.7.

Comment 2 Kshitij 2021-08-25 12:44:18 UTC
Hello Team,

Do we have any updates on this bugzilla?

Comment 3 Justin Sherrill 2021-11-29 18:58:10 UTC
Apologies for the delay, but due to future 6.9.z releases being reserved for very high priority issues related to upgrading to 6.10 and 6.10 removing puppet content management, i'm going to close this as WONT_FIX.

Comment 9 Lai 2022-04-05 18:25:11 UTC
Steps to retest:

1. Create a content view and add one puppet module in the CV, publish a new version of the CV.  
2. Add this content view in a composite content view. Publish a new version of the CCV as well. 
3. Check puppet module on the Satellite web UI -> Content views -> Select CCV -> content views tab.  

Actual results:
Content view is showing 1 puppet modules.

Expected results:
Content view should list the correct puppet module count.


I added 1 puppet module then added 2 more, republish the cv and cvv and they are updated correctly.  Check the contentview within the cvv also displays 3 puppet module as expected.

Verified on 6.9.9_02 with tfm-rubygem-katello-3.18.1.53-1.el7sat.noarch

Comment 14 errata-xmlrpc 2022-04-20 20:34:52 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.9.9 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/RHSA-2022:1478