Problem: foreman-proxy (smart-proxy) will not start after install of ruby-smart-proxy-remote-execution-ssh with “uninitialized constant Dynflow (NameError)”. Note, I have installed an older package for ruby-concurrency to resolve Concurrent::Edge::Future issues.
Expected outcome: smart-proxy should start
Foreman and Proxy versions: Foreman 1.24.2-1 from Debian Buster 1.24 source.
Foreman and Proxy plugin versions: Plugin repository is Debian Buster 1.24.
foreman-cli/buster,now 1.24.2-1 all [installed]
foreman-debug/buster,now 1.24.2-1 all [installed,automatic]
foreman-ec2/buster,now 1.24.2-1 all [installed]
foreman-installer/buster,now 1.24.2-1 all [installed]
foreman-postgresql/buster,now 1.24.2-1 all [installed]
foreman-proxy/buster,now 1.24.2-1 all [installed,automatic]
foreman/buster,now 1.24.2-1 amd64 [installed,automatic]
ruby-foreman-remote-execution-core/buster,now 1.1.6-1 all [installed]
ruby-foreman-tasks-core/buster,now 0.2.5-1 all [installed]
ruby-hammer-cli-foreman/buster,now 0.19.7-1 all [installed,automatic]
ruby-smart-proxy-dynflow-core/plugins,now 0.2.2-1 all [installed]
ruby-smart-proxy-dynflow/plugins,now 0.2.3-1 all [installed]
ruby-smart-proxy-remote-execution-ssh/plugins,now 0.2.1-1 all [installed]
ruby-concurrent/now 1.0.0-3 all [installed,upgradable to: 1.0.5-3]
Distribution and version:
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10.3
Codename: buster
Other relevant data:
Feb 11 10:42:32 hostname smart-proxy[2921]: /usr/lib/ruby/vendor_ruby/foreman_tasks_core/ticker.rb:2:in <module:ForemanTasksCore>': uninitialized constant Dynflow (NameError) Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/foreman_tasks_core/ticker.rb:1:in
<top (required)>’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/foreman_tasks_core.rb:6:in
<top (required)>’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/foreman_remote_execution_core.rb:1:in
<top (required)>’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:41:in
block in system_require’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:37:in each' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:37:in
system_require’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:19:in block in system_require' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:14:in
each’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:14:in system_require' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/share/foreman-proxy/lib/bundler_helper.rb:22:in
require_groups’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/share/foreman-proxy/lib/smart_proxy_main.rb:31:in <top (required)>' Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require’
Feb 11 10:42:32 hostname smart-proxy[2921]: from /usr/share/foreman-proxy/bin/smart-proxy:5:in `’