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 1482635 - The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise
Summary: The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.2.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-17 19:00 UTC by Jason Dickerson
Modified: 2021-06-10 12:50 UTC (History)
7 users (show)

Fixed In Version: katello-host-tools-3.1.0
Doc Type: Bug Fix
Doc Text:
After installing 'katello-hosts-tools' and running the Puppet agent,`enabled_repos_upload` sent output to stdout after all of the 'yum check-update' had output their data. This caused errors for the Puppet agent on the client.
Clone Of:
Environment:
Last Closed: 2018-02-21 12:57:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20787 0 Normal Closed The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise 2020-10-07 16:33:55 UTC
Github puppetlabs puppet pull 6128 0 None closed (PUP-7813) Ensure yum plugins don't break yum 2020-10-07 16:33:46 UTC
Red Hat Product Errata RHBA-2018:0338 0 normal SHIPPED_LIVE Red Hat Satellite 6.3 Tools 2018-02-21 19:30:02 UTC

Description Jason Dickerson 2017-08-17 19:00:57 UTC
Description of problem:

Puppet 4 and Enterprise agents read the stdout output of yum check-update and expect all plugins to output their data before yum lists the updatable packages.  enabled_repos_upload sends output to stdout after the list of updates is displayed.  This completely breaks the puppet agent on the clients.  

Version-Release number of selected component (if applicable):
katello-hosts-tools included with Satellite 6.2.11 Tools


How reproducible:

consistently

Steps to Reproduce:
1. Install katello-host-tools
2. Run puppet agent -t

Actual results:

Puppet fails with many errors:
Debug: Executing: '/bin/yum check-update'
Error: Could not get latest version: undefined method `[]' for nil:NilClass

Expected results:

puppet runs correctly

Additional info:

See the following URL's:

http://projects.theforeman.org/issues/20567
https://tickets.puppetlabs.com/browse/PUP-7813
https://github.com/puppetlabs/puppet/pull/6128

Puppet 3 does not have an issue with the enabled_repos_upload plugin

Possible work around, setting debuglevel=1 in yum.conf

Comment 2 Brad Buckingham 2017-08-29 11:42:26 UTC
Created redmine issue http://projects.theforeman.org/issues/20787 from this bug

Comment 3 Satellite Program 2017-09-19 16:03:12 UTC
Upstream bug assigned to jsherril

Comment 4 Satellite Program 2017-09-19 16:03:15 UTC
Upstream bug assigned to jsherril

Comment 5 Satellite Program 2017-09-21 18:03:03 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20787 has been resolved.

Comment 9 errata-xmlrpc 2018-02-21 12:57:54 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/RHBA-2018:0338


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