Project

General

Profile

Bug #24500

installation/update package using Katello web UI not working

Added by Ondřej Levý almost 3 years ago. Updated almost 3 years ago.

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

Description

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

Associated revisions

Revision 40928baa (diff)
Added by Jonathon Turel almost 3 years ago

Fixes #24500 - prevent exceptions through registerCommand

History

#1 Updated by Jonathon Turel almost 3 years ago

  • Target version set to Katello 3.7.1
  • Assignee set to Jonathon Turel

#2 Updated by Jonathon Turel almost 3 years ago

Thanks for the report! Can you provide (so that I am totally clear) the version of katello-agent installed on your client?

#3 Updated by Ondřej Levý almost 3 years ago

Jonathon Turel wrote:

Thanks for the report! Can you provide (so that I am totally clear) the version of katello-agent installed on your client?

Hi,
versions on client are:

katello-agent.noarch 3.3.4-1.el7
katello-host-tools.noarch 3.3.4-1.el7
katello-host-tools-fact-plugin.noarch 3.3.4-1.el7
gofer.noarch 2.12.1-1.el7

#4 Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/Katello/katello-host-tools/pull/73 added

#5 Updated by Jonathon Turel almost 3 years ago

  • Bugzilla link set to 1612355

#6 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing

#7 Updated by Anonymous almost 3 years ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Justin Sherrill almost 3 years ago

  • Triaged changed from No to Yes
  • Category set to Client/Agent

Also available in: Atom PDF