Project

General

Profile

Actions

Bug #12786

closed

uninitialized constant Sinatra in smart_proxy_remote_execution_ssh

Added by Thomas McKay about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Smart Proxy - SSH
Fixed in Releases:
Found in Releases:

Description

Dec 11 12:53:16 katello-katello systemd: Starting Foreman Proxy...
Dec 11 12:53:16 katello-katello smart-proxy: Performance on MRI may be improved\
 with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
Dec 11 12:53:16 katello-katello smart-proxy: /usr/share/gems/gems/smart_proxy_r\
emote_execution_ssh-0.0.8/lib/smart_proxy_remote_execution_ssh/api.rb:3:in `<mo\
dule:Ssh>': uninitialized constant Sinatra (NameError)
Dec 11 12:53:16 katello-katello smart-proxy: from /usr/share/gems/gems/smart_pr\
oxy_remote_execution_ssh-0.0.8/lib/smart_proxy_remote_execution_ssh/api.rb:2:in\
 `<module:RemoteExecution>'
Dec 11 12:53:16 katello-katello smart-proxy: from /usr/share/gems/gems/smart_pr\
oxy_remote_execution_ssh-0.0.8/lib/smart_proxy_remote_execution_ssh/api.rb:1:in\
 `<top (required)>'

Adding

require 'sinatra'
to smart_proxy_remote_execution_ssh/api.rb allowed foreman-proxy service to start.

Actions

Also available in: Atom PDF