Problem:
The Foreman proxy systemd job won’t start due to a missing module from the the Concurrent::Future gem.
This was done on a fresh install of the Ubuntu Minimal Server and following the steps from 2.1 in the foreman guide, with additonal plugins when running foreman-install.
Expected outcome:
Foreman Proxy should start
Foreman and Proxy versions:
foreman/bionic,now 1.19.0-1 amd64
foreman-proxy/bionic,bionic,now 1.19.0-1 all
Foreman and Proxy plugin versions:
foreman/bionic,now 1.19.0-1 amd64 [installed,automatic]
foreman-cli/bionic,bionic,now 1.19.0-1 all [installed]
foreman-compute/bionic,bionic,now 1.19.0-1 all [installed,automatic]
foreman-debug/bionic,bionic,now 1.19.0-1 all [installed,automatic]
foreman-ec2/bionic,bionic,now 1.19.0-1 all [installed,automatic]
foreman-installer/bionic,bionic,now 1.19.0-1 all [installed]
foreman-postgresql/bionic,bionic,now 1.19.0-1 all [installed]
foreman-proxy/bionic,bionic,now 1.19.0-1 all [installed,automatic]
foreman-vmware/bionic,bionic,now 1.19.0-1 all [installed]
ruby-foreman-bootdisk/plugins,plugins,now 12.0.0-1 all [installed]
ruby-foreman-deface/plugins,plugins,now 1.2.0-1 all [installed,automatic]
ruby-foreman-discovery/plugins,plugins,now 13.0.1-1 all [installed]
ruby-foreman-docker/plugins,plugins,now 4.1.0-1 all [installed]
ruby-foreman-remote-execution/plugins,plugins,now 1.5.6-1 all [installed]
ruby-foreman-remote-execution-core/bionic,bionic,now 1.1.3-1 all [installed,automatic]
ruby-foreman-setup/plugins,plugins,now 6.0.0-1 all [installed]
ruby-foreman-tasks/plugins,plugins,now 0.13.2-1 all [installed]
ruby-foreman-tasks-core/bionic,bionic,now 0.2.5-1 all [installed,automatic]
ruby-foreman-templates/plugins,plugins,now 6.0.3-1 all [installed]
ruby-hammer-cli-foreman/bionic,bionic,now 0.14.0-1 all [installed,automatic]
Other relevant data:
[ INFO 2018-10-20T19:24:06 verbose] Class[Foreman_proxy::Service]: Scheduling refresh of Service[foreman-proxy]
[ERROR 2018-10-20T19:24:09 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Failed to call refresh: Systemd restart for foreman-proxy failed!
[ERROR 2018-10-20T19:24:09 verbose] journalctl log for foreman-proxy:
[ERROR 2018-10-20T19:24:09 verbose] -- Logs begin at Tue 2018-10-02 23:10:24 PDT, end at Sat 2018-10-20 19:24:09 PDT. --
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:06 foreman systemd[1]: Stopping Foreman Proxy...
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:07 foreman systemd[1]: Stopped Foreman Proxy.
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:07 foreman systemd[1]: Starting Foreman Proxy...
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: /usr/lib/ruby/vendor_ruby/dynflow/director.rb:16:in `block in <class:Director>': uninitialized constant Concurrent::Edge::Future (NameError)
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: Did you mean? Concurrent::Future
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `instance_exec'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `initialize'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `new'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `type'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:12:in `<class:Director>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:9:in `<module:Dynflow>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:1:in `<top (required)>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/dynflow.rb:43:in `<module:Dynflow>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/dynflow.rb:19:in `<top (required)>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow_core.rb:1:in `<top (required)>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:41:in `block in system_require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:37:in `each'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext/runtime.rb:37:in `system_require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:19:in `block in system_require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:14:in `each'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/vendor_ruby/bundler_ext.rb:14:in `system_require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/share/foreman-proxy/lib/bundler_helper.rb:22:in `require_groups'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/share/foreman-proxy/lib/smart_proxy_main.rb:33:in `<top (required)>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman smart-proxy[17308]: from /usr/share/foreman-proxy/bin/smart-proxy:5:in `<main>'
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman systemd[1]: foreman-proxy.service: Failed with result 'exit-code'.
[ERROR 2018-10-20T19:24:09 verbose] Oct 20 19:24:09 foreman systemd[1]: Failed to start Foreman Proxy.
[ERROR 2018-10-20T19:24:09 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Systemd restart for foreman-proxy failed!