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 #1

Updated by Jonathon Turel over 6 years ago

  • Assignee set to Jonathon Turel
  • Target version set to Katello 3.7.1
Actions #2

Updated by Jonathon Turel over 6 years ago

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

Actions #3

Updated by Ondřej Levý over 6 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

Actions #4

Updated by The Foreman Bot over 6 years ago

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

Updated by Jonathon Turel over 6 years ago

  • Bugzilla link set to 1612355
Actions #6

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
Actions #7

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Justin Sherrill over 6 years ago

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

Also available in: Atom PDF