Service[foreman-proxy]: Systemd restart for foreman-proxy failed!

Problem:
like described in
https://community.theforeman.org/t/foreman-proxy-wont-start-due-to-ruby-load-error-concurrent-future/11532
https://community.theforeman.org/t/missing-packages-ruby-concurrent/7913
the foreman-proxy failed to restart (in my case during initial installation).
I’ve started on an Ubuntu 18.04 minimal server installation and followed the instructions for Ubuntu 18.04 found under https://theforeman.org/manuals/1.20/index.html#2.1Installation including the “downloading the installer” section and installed foreman with the following command
foreman-installer --puppet-server=false --foreman-proxy-puppet=false --foreman-proxy-puppetca=false --no-enable-puppet --enable-foreman-proxy-plugin-ansible -v

I can reset this virtual machine (snapshot in virtualbox) and reproduce the behavior.

I’ve tried the installation with “foreman-installer -v”, which doesn’t report any errors. After this i’ve tried “foreman-installer --enable-foreman-proxy-plugin-ansible -v”, which creates the same error output like the command first used.

Expected outcome:
Working foreman installation to test and validate this product in combination with ansible.

Foreman and Proxy versions:
# dpkg -l|grep foreman
rc foreman 1.20.1-1 amd64 Systems management web interface
ii foreman-cli 1.20.1-1 all metapackage providing hammer CLI for Foreman
ii foreman-debug 1.20.1-1 all provides support utility foreman-debug.
ii foreman-installer 1.20.1-1 all Automated puppet-based installer for The Foreman
rc foreman-postgresql 1.20.1-1 all metapackage providing PostgreSQL dependencies for Foreman
ii foreman-proxy 1.20.1-1 all RESTful proxies for DNS, DHCP, TFTP, and Puppet
ii foreman-proxy-journald 1.20.1-1 all metapackage providing journald logging dependencies for foreman-proxy.
ii ruby-foreman-tasks-core 0.2.5-1 all Foreman tasks - core bits
ii ruby-hammer-cli-foreman 0.15.1-1 all Foreman commands for Hammer

ruby versions:
# dpkg -l|grep ruby
ii libruby2.5:amd64 2.5.1-1ubuntu1.1 amd64 Libraries necessary to run Ruby 2.5
ii puppet-agent 5.5.10-1bionic amd64 The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.
ii rake 12.3.1-1 all ruby make-like utility
ii ruby 1:2.5.1 amd64 Interpreter of object-oriented scripting language Ruby (default version)
ii ruby-algebrick 0.7.4-1 all Algebraic types and pattern matching for Ruby
ii ruby-ansi 1.5.0-1 all ANSI escape codes at your fingertips
ii ruby-apipie-bindings 0.2.2-1 all Ruby bindings for Apipie documented APIs
ii ruby-apipie-params 0.0.5-1 all DSL for describing data structures
ii ruby-augeas 1:0.5.0-3build6 amd64 Augeas bindings for the Ruby language
ii ruby-awesome-print 1.8.0-1 all pretty print Ruby objects with proper indentation and colors
ii ruby-bundler 1.16.1-1 all Manage Ruby application dependencies (runtime)
ii ruby-bundler-ext 0.4.1-1 all Load system gems via Bundler DSL
ii ruby-clamp 1.1.1-1 all minimal framework for Ruby command-line utilities
ii ruby-concurrent 1.0.5-1 all modern concurrency tools for Ruby
ii ruby-dev:amd64 1:2.5.1 amd64 Header files for compiling extension modules for Ruby (default version)
ii ruby-did-you-mean 1.2.0-2 all smart error messages for Ruby > 2.3
ii ruby-domain-name 0.5.20160216-2 all Domain Name manipulation library for Ruby
ii ruby-dynflow 1.1.2-1 all DYNamic workFLOW orchestration engine
ii ruby-fast-gettext 1.3.0-1 all Fast GetText implementation for Ruby
ii ruby-ffi 1.9.10debian-1build4 amd64 load dynamic libraries, bind functions from within ruby code
ii ruby-foreman-tasks-core 0.2.5-1 all Foreman tasks - core bits
ii ruby-gssapi 1.2.0-1 all FFI wrapper around the system GSSAPI library
ii ruby-hammer-cli 0.15.1-1 all Universal command-line interface
ii ruby-hammer-cli-foreman 0.15.1-1 all Foreman commands for Hammer
ii ruby-hashie 3.5.5-2 all small collection of tools that make hashes more powerful
ii ruby-highline 1.7.8-1 all high-level interactive IO Ruby library
ii ruby-http-cookie 1.0.2-1 all Ruby library to handle HTTP Cookies based on RFC 6265
ii ruby-journald-logger 2.0.4-1 all systemd-journal native logger
ii ruby-journald-native 1.0.11-1 amd64 systemd-journal logging native lib wrapper
ii ruby-json 2.1.0+dfsg-2 amd64 JSON library for Ruby
ii ruby-jwt 1.5.6-1 all JSON Web Token implementation in Ruby
ii ruby-kafo 2.1.0-1 all Ruby gem for making installations based on puppet user friendly
ii ruby-kafo-parsers 0.1.6-1 all Puppet module parsers
ii ruby-kafo-wizards 0.0.1-1 all Wizard like interfaces in terminal
ii ruby-libvirt 0.7.0-1build2 amd64 Ruby bindings for libvirt
ii ruby-little-plugger 1.1.4-1 all module that provides Gem based plugin management
ii ruby-locale 2.1.2-1 all Locale library for Ruby
ii ruby-logging 2.2.2-1 all flexible and extendable logging library for Ruby
ii ruby-logging-journald 2.0.3-1 all Journald appender for logging gem
ii ruby-mime-types 3.1-1 all guess MIME type of files
ii ruby-mime-types-data 3.2015.1120-1 all registry for information about MIME media type definitions
ii ruby-minitest 5.10.3-1 all Ruby test tools supporting TDD, BDD, mocking, and benchmarking
ii ruby-molinillo 0.6.4-1 all generic dependency resolution algorithm
ii ruby-multi-json 1.12.1-1 all Ruby library to provide easy switching between different JSON backends
ii ruby-net-http-persistent 2.9.4-1 all Manages persistent connections using Net::HTTP
ii ruby-net-telnet 0.1.1-2 all telnet client library
ii ruby-netrc 0.11.0-1 all Ruby library to read and write netrc files
ii ruby-oauth 0.5.3-1 all Ruby library for OAuth core
ii ruby-oj:amd64 3.4.0-1build1 amd64 fast JSON parser and serializer for Ruby
ii ruby-pg 0.19.0-2build1 amd64 PostgreSQL interface for Ruby
ii ruby-power-assert 0.3.0-1 all library showing values of variables and method calls in an expression
ii ruby-powerbar 1.0.18-1 all progressbar library for Ruby
ii ruby-rack 1.6.4-4 all modular Ruby webserver interface
ii ruby-rack-protection 1.5.3-2+deb9u1build0.18.04.1 all Protects against typical web attacks for Rack apps
ii ruby-rb-inotify 0.9.7-1 all A Ruby wrapper for Linux’s inotify, using FFI
ii ruby-rest-client 2.0.2-3 all simple REST client for Ruby
ii ruby-rkerberos 0.1.3-3 amd64 Kerberos binding for Ruby
ii ruby-rsec 0.4.2-1 all Parser / Regexp Combinator For Ruby
ii ruby-rubyipmi 0.10.0-1 all A ruby wrapper for ipmi command line tools that supports ipmitool and freeipmi
ii ruby-sequel 5.6.0-1 all Simple, flexible, and powerful SQL database access toolkit for Ruby
ii ruby-sequel-pg 1.6.16-1build2 amd64 Faster SELECTs when using Sequel with pg
ii ruby-sinatra 1.4.8-1 all Ruby web-development dressed in a DSL
ii ruby-smart-proxy-ansible 2.0.3-2 all Ansible support for Foreman smart proxy
ii ruby-smart-proxy-dynflow 0.2.1-1 all Dynflow runtime for Foreman smart proxy
ii ruby-smart-proxy-dynflow-core 0.2.1-1 all Dynflow runtime for Foreman smart proxy
ii ruby-sqlite3 1.3.13-1build2 amd64 SQLite3 interface for Ruby
ii ruby-test-unit 3.2.5-1 all unit testing framework for Ruby
ii ruby-thor 0.19.4-1 all Ruby scripting framework
ii ruby-tilt 2.0.1-2 all Generic interface to multiple Ruby template engines
ii ruby-unf 0.1.4-2 all Wrapper library to bring Unicode Normalization Form support to Ruby
ii ruby-unf-ext 0.0.7.4-1build2 amd64 Unicode Normalization Form support library for CRuby
ii ruby-unicode 0.4.4-2build8 amd64 Unicode string manipulation library for Ruby
ii ruby-unicode-display-width 1.1.3-1 all Determines the monospace display width of a string in Ruby
ii ruby2.5 2.5.1-1ubuntu1.1 amd64 Interpreter of object-oriented scripting language Ruby
ii ruby2.5-dev:amd64 2.5.1-1ubuntu1.1 amd64 Header files for compiling extension modules for the Ruby 2.5
ii ruby2.5-doc 2.5.1-1ubuntu1.1 all Documentation for Ruby 2.5
ii rubygems-integration 1.11 all integration of Debian Ruby packages with Rubygems

puppet versions:
# dpkg -l|grep puppet
ii foreman-installer 1.20.1-1 all Automated puppet-based installer for The Foreman
ii puppet-agent 5.5.10-1bionic amd64 The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.
ii puppet-agent-oauth 0.5.1-2 all OAuth Core Ruby implementation for Puppet Agent
ii puppet5-release 5.0.0-2bionic all Release packages for the Puppet5 repository
ii ruby-kafo 2.1.0-1 all Ruby gem for making installations based on puppet user friendly

system:
Description: Ubuntu 18.04.1 LTS
Kernel: 4.15.0-43-generic

Other relevant data:

[ERROR 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Failed to call refresh: Systemd restart for foreman-proxy failed!
[ERROR 2019-01-16T15:39:38 verbose] journalctl log for foreman-proxy:
[ERROR 2019-01-16T15:39:38 verbose] -- Logs begin at Wed 2019-01-16 14:37:21 CET, end at Wed 2019-01-16 15:39:38 CET. --
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:35:41 foreman systemd[1]: Starting Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:35:42 foreman systemd[1]: Started Foreman Proxy.
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Stopping Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Stopped Foreman Proxy.
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Starting Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]: /usr/lib/ruby/vendor_ruby/dynflow/director.rb:16:in `block in <class:Director>': uninitialized constant Concurrent::Edge::Future (NameError)
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]: Did you mean?  Concurrent::Future
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `instance_exec'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `initialize'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `new'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `type'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:12:in `<class:Director>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:9:in `<module:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:1:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow.rb:43:in `<module:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow.rb:19:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow_core.rb:1:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:8:in `<class:Plugin>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:6:in `<class:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:5:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow.rb:2:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Systemd restart for foreman-proxy failed!
[ERROR 2019-01-16T15:39:38 verbose] journalctl log for foreman-proxy:
[ERROR 2019-01-16T15:39:38 verbose] -- Logs begin at Wed 2019-01-16 14:37:21 CET, end at Wed 2019-01-16 15:39:38 CET. --
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:35:41 foreman systemd[1]: Starting Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:35:42 foreman systemd[1]: Started Foreman Proxy.
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Stopping Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Stopped Foreman Proxy.
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:37 foreman systemd[1]: Starting Foreman Proxy...
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]: /usr/lib/ruby/vendor_ruby/dynflow/director.rb:16:in `block in <class:Director>': uninitialized constant Concurrent::Edge::Future (NameError)
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]: Did you mean?  Concurrent::Future
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `instance_exec'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `initialize'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `new'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `type'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:12:in `<class:Director>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:9:in `<module:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:1:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow.rb:43:in `<module:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/dynflow.rb:19:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow_core.rb:1:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:8:in `<class:Plugin>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:6:in `<class:Dynflow>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow/plugin.rb:5:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/vendor_ruby/smart_proxy_dynflow.rb:2:in `<top (required)>'
[ERROR 2019-01-16T15:39:38 verbose] Jan 16 15:39:38 foreman smart-proxy[437]:         from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
[ERROR 2019-01-16T15:39:38 verbose]
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/service/systemd.rb:159:in `rescue in restart'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/service/systemd.rb:155:in `restart'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/service.rb:245:in `refresh'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:in `process_callback'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:in `block in process_events'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:in `block in queued_events'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `each'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `queued_events'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:in `process_events'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:280:in `eval_resource'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `call'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `block (2 levels) in evaluate'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `block in evaluate'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:173:in `evaluate'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:239:in `block (2 levels) in apply'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:146:in `as_logging_destination'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block (2 levels) in apply_catalog'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `block in apply_catalog'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:184:in `apply_catalog'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:369:in `run_internal'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:237:in `block in run'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:211:in `run'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:355:in `apply_catalog'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:135:in `run'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
[ERROR 2019-01-16T15:39:38 verbose] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman_proxy::Register/Datacat_collector[foreman_proxy::enabled_features]: Dependency Service[foreman-proxy] has failures: true
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman_proxy::Register/Datacat_collector[foreman_proxy::enabled_features]: Skipping because of failed dependencies
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman::Config]: Scheduling refresh of Class[Foreman::Database]
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman::Config]: Scheduling refresh of Class[Foreman::Service]
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Rake[db:migrate]
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Rake[db:seed]
[ INFO 2019-01-16T15:39:38 verbose]  Foreman::Rake[db:migrate]: Unscheduling all events on Foreman::Rake[db:migrate]
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Dependency Foreman_config_entry[db_pending_migration] has failures: true
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Skipping because of failed dependencies
[ INFO 2019-01-16T15:39:38 verbose]  Class[Apache::Service]: Unscheduling all events on Class[Apache::Service]
[ INFO 2019-01-16T15:39:38 verbose]  Foreman::Rake[db:seed]: Unscheduling all events on Foreman::Rake[db:seed]
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Dependency Foreman_config_entry[db_pending_seed] has failures: true
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Skipping because of failed dependencies
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service]
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Service/Anchor[foreman::service_begin]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Apache::Service/Service[httpd]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Service/Anchor[foreman::service_end]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Service/Service[dynflowd]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Service/Exec[restart_foreman]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman::Service/Service[foreman]: Skipping because of failed dependencies
[ INFO 2019-01-16T15:39:38 verbose]  Class[Foreman]: Unscheduling all events on Class[Foreman]
[ WARN 2019-01-16T15:39:38 verbose]  /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]: Skipping because of failed dependencies
[ WARN 2019-01-16T15:39:39 verbose]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.local.onoffice.de]: Skipping because of failed dependencies
[ INFO 2019-01-16T15:39:39 verbose]  Class[Foreman_proxy]: Unscheduling all events on Class[Foreman_proxy]
[ INFO 2019-01-16T15:39:39 verbose]  Stage[main]: Unscheduling all events on Stage[main]
[ERROR 2019-01-16T15:39:39 verbose]  Could not find a suitable provider for foreman_config_entry
[ WARN 2019-01-16T15:39:39 verbose]  Applied catalog in 331.90 seconds
[ INFO 2019-01-16T15:39:41 verbose] Puppet has finished, bye!
[ INFO 2019-01-16T15:39:41 verbose] Executing hooks in group post
  Something went wrong! Check the log for ERROR-level output

The mentioned community posts doesn’t help me because the marked solution and bugfix [Bug #25716: Foreman-proxy is missing ruby-logging dependency - Packaging - Foreman](Bug #25716) fixed a different error message (ruby-logging vs Concurrent::Edge::Future)
The package ruby-logging gets installed during “apt-get update && sudo apt-get -y install foreman-installer”.

Which further information can i provide to help solving this issue?

Thanks for your help

Searched the forums and found this:

Maybe I misunderstood your post, but this quote is from one of my links in my post. It doesn’t help because there is no solution given.

I guess this smells like some “edge” feature, version incompatibility @iNecas

It looks more like concurrent-ruby-edge not being present at the system. I’m not a Debian packaging expert to tell where the issue is.

There seems to be a workaround here: Foreman Proxy won't start due to ruby load error (Concurrent::Edge::Future)

It links to the following issue: Bug #25716: Foreman-proxy is missing ruby-logging dependency - Packaging - Foreman

@martin_angermeier thanks for your reply. Like i said in my intial post, i’ve checked your link too. It fixes the “ruby-logging” error but not the “Concurrent::Edge::Future”. In my initial post you can see that the package “ruby-logging” is successfully installed on the system. One of my tests was to install the “ruby-logging” package first before running any command from the foreman installation manual. It doesn’t change anything. In your mentioned thread someone jumps in with a different problem and solves his issue.

Oh sorry, I was too fast reading here.

There seem to be tow similar packages…

  • concurrent-ruby
  • concurrent-ruby-edge

As far as I can see the Edge version seems to be something like a development state. Is there a package for debian? I’m running completely under RedHat so I’ve no possibility to test.

So I’d agress with @iNecas and @lzap

I can’t find a package named “concurrent-ruby-edge” for ubuntu (or debian) in recent available versions.

https://packages.ubuntu.com/search?lang=en&searchon=names&keywords=ruby-concurrent, only “ruby-concurrent” and “ruby-concurrent-ext”

Also tried to install the gem “concurrent-ruby-edge” via “apt install ruby-full && gem install concurrent-ruby-edge” before running the foreman-installer with ansible proxy plugin enabled. It installs concurrent-ruby-edge-0.4.1 and concurrent-ruby-1.1.4.

before running foreman-installer gem list shows:
concurrent-ruby (1.1.4)
concurrent-ruby-edge (0.4.1)

Part of log output:

[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]: /usr/lib/ruby/vendor_ruby/dynflow/director.rb:16:in `block in <class:Director>': uninitialized constant Concurrent::Edge::Future (NameError)
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]: Did you mean?  Concurrent::Future
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `instance_exec'
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:35:in `initialize'
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `new'
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]:         from /usr/lib/ruby/vendor_ruby/algebrick/dsl.rb:89:in `type'
[ERROR 2019-01-18T11:32:51 verbose] Jan 18 11:32:51 foreman smart-proxy[750]:         from /usr/lib/ruby/vendor_ruby/dynflow/director.rb:12:in `<class:Director>'
[ERROR 2019-01-18T11:32:51 verbose]
[ERROR 2019-01-18T11:32:51 verbose] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/service/systemd.rb:159:in `rescue in restart'

gem list shows:
concurrent-ruby (1.1.4, 1.0.5)
concurrent-ruby-edge (0.4.1)

The ubuntu package “concurrent-ruby” with version 1.0.5 installed via foreman-installer is added and maybe not compatible to “concurrent-ruby-edge 0.4.1” (?). I’m not that ruby/gem familiar.
The ubuntu package “concurrent-ruby” can’t be uninstalled because of dependencies to “foreman-proxy” and more packages related to foreman installation.

According to rubygems.org concurrent-ruby-edge 0.4.1 depens on concurrent-ruby 1.1.1

Nevertheless it’s weird that foreman should depend on a dev-package here

Will it be fixed or is there any workaround?

I am interested too, it seems a blocking bug.
Has someone found a package to install as workaround?

Lemme poke @iNecas and @mmoll to coordinate something. Looks like this is a major issue now.

1 Like

Is there any news on this issue? Today I upgraded our foreman instance to 1.20.2, hoping we could finally start using the tasks, but sadly I still get the same Concurrent::Edge::Future on Debian 9.8.

A work-around would also be fine. The only solution I found was removing the foreman-task package.

Same ‘fix’ here: I was able to fix this issue on Debian 9.9 by pinning ruby-concurrent to version 1.0.0-3. We have Debian backports enabled by default, and the version of ruby-concurrent that was installed from backports caused the trouble for us.