Bug #11900
closedapp/lib/katello/util/thread_session.rb throws exceptions
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'],
Updated by Dominic Cleal about 9 years ago
- Project changed from Foreman to Katello
- Triaged set to No
Updated by Eric Helms about 9 years ago
- Translation missing: en.field_release set to 78
- Triaged changed from No to Yes
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release changed from 78 to 113
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.