Project

General

Profile

Actions

Bug #24500

closed

installation/update package using Katello web UI not working

Added by Ondřej Levý over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
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

Actions

Also available in: Atom PDF