Red Hat Bugzilla – Bug 1482635
The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise
Last modified: 2018-02-21 07:57:54 EST
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
Created redmine issue http://projects.theforeman.org/issues/20787 from this bug
Upstream bug assigned to jsherril@redhat.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20787 has been resolved.
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