Project

General

Profile

Actions

Bug #11900

closed

app/lib/katello/util/thread_session.rb throws exceptions

Added by cristian falcas about 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

We have an issue with the latest ruby193-rubygem-katello-2.3.1-2.el7.noarch.rpm. All tasks throw exceptions with this error:

2015-09-20 16:48:21 [foreman-tasks/action] [E] Trying to use logger katello/pulp_rest which has not been configured. (RuntimeError) | /usr/share/foreman/lib/foreman/logging.rb:52:in `logger' | /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.1/app/lib/katello/util/thread_session.rb:67:in `pulp_config' | /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.1/app/lib/actions/middleware/remote_action.rb:32:in `as_pulp_user' | /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.1/app/lib/actions/middleware/remote_action.rb:45:in `block in as_remote_user'
...

In order to fix it, we had to revert to an older version:

< :logging => {:logger => ::Foreman::Logging.logger('katello/pulp_rest'),
---

:logging => {:logger => ::Logging.logger['pulp_rest'],

Actions #1

Updated by Dominic Cleal about 9 years ago

  • Project changed from Foreman to Katello
  • Triaged set to No
Actions #2

Updated by Eric Helms about 9 years ago

  • Translation missing: en.field_release set to 78
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release changed from 78 to 113
Actions #4

Updated by David Davis over 8 years ago

  • Status changed from New to Resolved

We can't reproduce this and since this hasn't come up in 5 months, closing. If you can reproduce this, please reopen with a foreman_debug output and point it to the release you're using. Thanks.

Actions

Also available in: Atom PDF