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 1612355 - installation/update package using Katello web UI not working
Summary: installation/update package using Katello web UI not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.4.0
Assignee: Jonathon Turel
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-03 18:18 UTC by Jonathon Turel
Modified: 2019-11-05 23:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:11:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24500 0 High Closed installation/update package using Katello web UI not working 2021-02-09 12:30:05 UTC

Description Jonathon Turel 2018-08-03 18:18:19 UTC
After upgrade to Katello 3.7 instalation/updatin packages stop working:

Version:
Katello 3.7
Target content host: Cenots 7.5.1804  fully updated

How to preproduce:
-In content hosts -> hostname -> Packages -> Actions select "Package install" fill in any package name and press Perform. 

Task faild with error "registration of commands not supported" and in log on target host is following errror:

Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 - Handler failed.
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 - Traceback (most recent call last):
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/katello/agent/pulp/dispatcher.py", line 78, in install
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     _report = handler.install(units, dict(options))
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/katello/agent/pulp/handler.py", line 126, in install
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     details = package.install(patterns)
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/katello/agent/pulp/libyum.py", line 259, in install
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     with LibYum() as lib:
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/katello/agent/pulp/libyum.py", line 396, in __init__
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     self.conf.assumeyes = True
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1078, in <lambda>
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     conf = property(fget=lambda self: self._getConfig(),
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 386, in _getConfig
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/katello/agent/pulp/libyum.py", line 406, in doPluginSetup
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     super(LibYum, self).doPluginSetup(*args, **kwargs)
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 630, in doPluginSetup
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     plugin_types, confpath, disabled_plugins, enabled_plugins)
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 166, in __init__
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     self.run('config')
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     func(conduitcls(self, self.base, conf, **kwargs))
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/yum-plugins/changelog.py", line 247, in config_hook
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     conduit.registerCommand(ChangeLogCommand())
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 570, in registerCommand
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 -     raise Errors.ConfigError(_('registration of commands not supported'))
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [ERROR][worker-0] katello.agent.pulp.dispatcher:82 - ConfigError: registration of commands not supported
Jul 31 20:57:02 twc-test-api-pub-1 goferd: [INFO][worker-0] gofer.agent.rmi:144 - Request: bcb788fc-51d6-47d5-8386-3133bc544b45 processed in: 1.166 (seconds)
Jul 31 20:57:03 twc-test-api-pub-1 goferd: [INFO][worker-0] gofer.agent.rmi:190 - Request: bcb788fc-51d6-47d5-8386-3133bc544b45, committed

Comment 1 Jonathon Turel 2018-08-03 18:18:23 UTC
Created from redmine issue http://projects.theforeman.org/issues/24500

Comment 2 Jonathon Turel 2018-08-03 18:18:25 UTC
Upstream bug assigned to None

Comment 4 Satellite Program 2018-08-07 20:10:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24500 has been resolved.

Comment 6 Bryan Kearney 2018-10-16 19:11:11 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/RHSA-2018:2927


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