Project

General

Profile

Bug #20787

The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise

Added by Brad Buckingham about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1482635

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

Associated revisions

Revision 156d8844 (diff)
Added by Justin Sherrill about 4 years ago

Fixes #20787 - make yum plugins logging configurable

Revision 156d8844 (diff)
Added by Justin Sherrill about 4 years ago

Fixes #20787 - make yum plugins logging configurable

History

#1 Updated by Brad Buckingham about 4 years ago

  • Subject changed from The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise to The enabled_repos_upload yum plugin is not compatible with Puppet 4 or Enterprise
  • Target version set to 213

#2 Updated by John Mitsch about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

#3 Updated by Brad Buckingham about 4 years ago

  • Target version changed from 213 to 217

#4 Updated by Justin Sherrill about 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Justin Sherrill

#5 Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-agent/pull/49 added

#6 Updated by Justin Sherrill about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF