Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1324330 - Puppet classes can not be attached to content view
Puppet classes can not be attached to content view
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: Unused
Assigned To: Brad Buckingham
Sachin Ghai
http://projects.theforeman.org/issues...
: PrioBumpPM, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-06 02:05 EDT by Sebastian Hetze
Modified: 2016-07-27 05:30 EDT (History)
6 users (show)

See Also:
Fixed In Version: rubygem-hammer_cli_katello-0.0.22.6-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:30:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 14576 None None None 2016-04-22 12:49 EDT
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 08:28:58 EDT

  None (edit)
Description Sebastian Hetze 2016-04-06 02:05:22 EDT
Description of problem:

After syncing Puppet Forge into Sat6.2 it is not possible to attach puppet classes to content view.

Error: content_view_puppet_module not found


PuppetForge product states 4056 modules being synced.

In the GUI, when editing the CV to add a puppet module, I see "Showing 20 of 2554 (4055 Total)" while in the same dialog in Sat 6.1 I see "Showing 2458 of 2458 (2458 Total)"

It is possible to scroll down the list in the GUI and finally reach the intended module. However, the search does not work: it seemingly does not proceed past a*

The hammer CLI does not work at all.

hammer content-view puppet-module add --organization "$ORG" --content-view RHEL7_Base --author puppetlabs --name ntp
Could not add the puppet module:
  Error: content_view_puppet_module not found

Version-Release number of selected component (if applicable):
katello 3.0.0. 3.el7sat
foreman 1.11.0.9 1.el7sat
Comment 1 Sebastian Hetze 2016-04-08 04:09:41 EDT
foreman-rake katello:reindex does not change the behaviour.

Upgrade to SNAP 7.0 does not solve the problem.
Comment 2 Brad Buckingham 2016-04-08 17:00:26 EDT
This bugzilla is actually raising a few different issues and I would like have separate bugs to address those issues.

ISSUE 1. "After syncing Puppet Forge into Sat6.2 it is not possible to attach puppet classes to content view."

Response: this is not entirely true.  Adding the modules in the UI works; however, it is is very cumbersome when working with large numbers of modules.  Item 3 below should help with that.

ISSUE 2. "In the GUI, when editing the CV to add a puppet module, I see "Showing 20 of 2554 (4055 Total)" while in the same dialog in Sat 6.1 I see "Showing 2458 of 2458 (2458 Total)""

Response: created bug 1325448 to track this one.

ISSUE 3. "...the search does not work: it seemingly does not proceed past a*"

Response: created bug 1325450 to track this one.

ISSUE 4. "The hammer CLI does not work at all.

hammer content-view puppet-module add --organization "$ORG" --content-view RHEL7_Base --author puppetlabs --name ntp
Could not add the puppet module:
  Error: content_view_puppet_module not found"

Response: While there are a few issues, this is the most severe and I'd like to have it addressed with this bugzilla, covering the other issues as noted above.
Comment 5 Brad Buckingham 2016-04-11 10:24:21 EDT
Created redmine issue http://projects.theforeman.org/issues/14576 from this bug
Comment 6 Bryan Kearney 2016-04-11 12:11:02 EDT
Upstream bug component is Content Management
Comment 7 Brad Buckingham 2016-04-12 12:09:14 EDT
Upstream hammer-cli-katello PR: https://github.com/Katello/hammer-cli-katello/pull/379
Comment 8 Sachin Ghai 2016-04-18 04:58:28 EDT
Verified with sat6.2 beta snap8.2

As mentioned in comment3, only "ISSUE4" should be addressed in this bz. So as per comment2, that's the issue with hammer cli. And I can add puppet module to content-view. Please see below where I added two modules separately in cv


# hammer -u admin -p changeme content-view puppet-module add --organization 'Default Organization' --content-view cv_rhel7 --author jeffmccune --name motd
Puppet module added to content view

[root@cloud-qe-3 ~]# hammer -u admin -p changeme content-view puppet-module add --organization 'Default Organization' --content-view cv_rhel7 --author openstack --name nova
Puppet module added to content view
Comment 10 errata-xmlrpc 2016-07-27 05:30:59 EDT
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/RHBA-2016:1501

Note You need to log in before you can comment on or make changes to this bug.