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 1083314

Summary: Content Views: "Packages" and "Errata" Content details not relevant for puppet repos
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Walden Raines <walden>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, jmontleo, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5956
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:06:03 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
puppet modules only exists repos are none
none
repo content only exists puppet modules are none none

Description Corey Welton 2014-04-01 22:45:40 UTC
Description of problem:

After syncing a puppet repo adding it to a content view, and viewing the repo, user gets "Packages" and "Errata" details in the Content column.  This is not relevant for puppet data.

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

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.7-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.7-1.el6_5.noarch
* candlepin-tomcat6-0.9.7-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.5.0.16-1.el6sat.noarch
* foreman-postgresql-1.5.0.16-1.el6sat.noarch
* foreman-proxy-1.5.4-1.el6sat.noarch
* foreman-selinux-1.5.0-0.develop.el6sat.noarch
* katello-1.5.0-19.el6sat.noarch
* katello-apache-1.0-1.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.32-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* openldap-devel-2.4.23-32.el6_4.1.x86_64
* pulp-katello-plugins-0.2-1.el6sat.noarch
* pulp-nodes-common-2.3.1-0.4.beta.el6sat.noarch
* pulp-nodes-parent-2.3.1-0.4.beta.el6sat.noarch
* pulp-puppet-plugins-2.3.1-0.4.beta.el6sat.noarch
* pulp-rpm-plugins-2.3.1-0.4.beta.el6sat.noarch
* pulp-selinux-2.3.1-0.4.beta.el6sat.noarch
* pulp-server-2.3.1-0.4.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.2.2-2.el6sat.noarch
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.0.8-1.el6sat.noarch
* rubygem-hammer_cli-0.1.0-5.el6sat.noarch
* rubygem-hammer_cli_foreman-0.1.0-6.el6sat.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.2-2.el6sat.noarch
* rubygem-hammer_cli_katello-0.0.3-12.el6sat.noarch

How reproducible:


Steps to Reproduce:
1.  Sync a puppet repo (i.e., forge.puppetlabs.com)
2.  Add this repo to a content view
3.  From the main Content View UI, click the name of your CV.
4.  View results

Actual results:
0 Packages
0 Errata ( 0 0 0 )

Expected results:
Packages and Errata are irrelevant terms for a CV that contains only puppet modules.

I'm not sure if there is an easy way to remove this/figure out some sort of taxonomy, but an option might be to add "Puppet Modules" as an option in this column, so it might read, for ANY content view something like

0 Packages
0 Errata ( 0 0 0 )
2238 Puppet Modules

or

1223 Packages
100 Errata (50 25 25)
0 Puppet Modules


In general -- we need to treat things contextually and not display information that is irrelevant and/or confusing for a given repo type.

Additional info:

Comment 2 Corey Welton 2014-04-02 00:48:52 UTC
It should look similar to the "Content" column when adding views to a Composite Content View, quite frankly, which reads:

1 Repositories
0 Puppet Modules 

Obviously we want to break it out more (like we do already) where packages and errata are concerned, but we should include a puppet modules count as well.

Comment 3 Brad Buckingham 2014-05-27 17:26:44 UTC
Created redmine issue http://projects.theforeman.org/issues/5956 from this bug

Comment 4 Walden Raines 2014-05-28 18:32:54 UTC
PR:  https://github.com/Katello/katello/pull/4170

Comment 5 Walden Raines 2014-05-28 20:24:43 UTC
commit 0e757152c19c002be7193f833f33a509da801eb9
Merge: 074a901 877ff4d
Author: Walden Raines <walden>
Date:   Wed May 28 16:23:55 2014 -0400

    Merge pull request #4170 from waldenraines/5956
    
    Fixes #5956/BZ1083314 - add puppet module count to content view versions.

commit 877ff4df63517f6b26cc95639756a6e958465c69
Author: Walden Raines <walden>
Date:   Wed May 28 14:28:46 2014 -0400

    Fixes #5956/BZ1083314 - add puppet module count to content view versions.

Comment 7 Kedar Bidarkar 2014-06-05 12:42:22 UTC
we now have a separate puppet Modules entry under the Content.

Comment 8 Kedar Bidarkar 2014-06-05 12:57:21 UTC
Created attachment 902529 [details]
puppet modules only exists repos are none

Comment 9 Kedar Bidarkar 2014-06-05 12:58:16 UTC
Created attachment 902530 [details]
repo content only exists puppet modules are none

Comment 10 Bryan Kearney 2014-07-02 14:06:03 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.