Project

General

Profile

Actions

Bug #21889

closed

smart_proxy_dynflow_core doesn't start after katello 3.4->3.5rc upgrade

Added by Rob Sanders over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

After successful katello 3.4 to 3.5rc upgrade all services start fine except smart_proxy_dynflow_core. Log below:

Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core.rb:13:in `<top (required)>': undefined method `silent_dead_letter_matchers' for ForemanTasksCore:Module (NoMethodError)
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:41:in `block in system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `each'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:19:in `block in system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/bundler_helper.rb:22:in `require_groups'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:27:in `load_settings!'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:13:in `start'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:9:in `launch!'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/bin/smart_proxy_dynflow_core:32:in `<top (required)>'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /usr/bin/smart_proxy_dynflow_core:23:in `load'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /usr/bin/smart_proxy_dynflow_core:23:in `<main>'
Dec 06 12:24:44 example.com systemd1: smart_proxy_dynflow_core.service: control process exited, code=exited status=1
Dec 06 12:24:44 example.com systemd1: Unit smart_proxy_dynflow_core.service entered failed state.
Dec 06 12:24:44 example.com systemd1: smart_proxy_dynflow_core.service failed.


Related issues 1 (0 open1 closed)

Has duplicate Foreman Remote Execution - Bug #21970: Remote execution doesn't work after upgrade to katello 3.5Duplicate12/14/2017Actions
Actions #1

Updated by Rob Sanders over 6 years ago

Looks like downgrading tfm-rubygem-smart_proxy_dynflow_core.noarch to version 0.1.7 solves it.

Actions #2

Updated by Rob Sanders over 6 years ago

Sorry, forgot to wrap...

Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core.rb:13:in `<top (required)>': undefined method `silent_dead_letter_matchers' for ForemanTasksCore:Module (NoMethodError)
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:41:in `block in system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `each'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:19:in `block in system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/bundler_helper.rb:22:in `require_groups'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:27:in `load_settings!'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:13:in `start'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core/launcher.rb:9:in `launch!'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/bin/smart_proxy_dynflow_core:32:in `<top (required)>'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /usr/bin/smart_proxy_dynflow_core:23:in `load'
Dec 06 12:24:44 example.com smart_proxy_dynflow_core24600: from /usr/bin/smart_proxy_dynflow_core:23:in `<main>'
Dec 06 12:24:44 example.com systemd1: smart_proxy_dynflow_core.service: control process exited, code=exited status=1
Dec 06 12:24:44 example.com systemd1: Unit smart_proxy_dynflow_core.service entered failed state.
Dec 06 12:24:44 example.com systemd1: smart_proxy_dynflow_core.service failed.
Actions #3

Updated by Justin Sherrill over 6 years ago

  • Project changed from Katello to Foreman Remote Execution

Moving to remote execution, doesn't seem related to katello.

Actions #4

Updated by Arsene Gschwind over 6 years ago

Justin Sherrill wrote:

Moving to remote execution, doesn't seem related to katello.

I'm hitting the same problem after updating Katello to 3.5 and Foreman to 1.16.

rgds,
Arsène

Actions #5

Updated by Adam Ruzicka over 6 years ago

Apparently we have wrongly set dependencies. Until this is fixed, please remove the line1 which causes the error or downgrade smart_proxy_dynflow_core to an earlier version

[1] - /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.1.8/lib/smart_proxy_dynflow_core.rb:13

Actions #6

Updated by Ivan Necas over 6 years ago

As Adam mentioned, the problem is in packaging, where we got stuck on coordination of changes between the foreman core and tasks. https://github.com/theforeman/foreman-packaging/pull/1549#issuecomment-350983953

Actions #7

Updated by Ivan Necas over 6 years ago

  • Priority changed from Normal to High
Actions #8

Updated by Ivan Necas over 6 years ago

  • Related to Bug #21970: Remote execution doesn't work after upgrade to katello 3.5 added
Actions #9

Updated by Ivan Necas over 6 years ago

  • Related to deleted (Bug #21970: Remote execution doesn't work after upgrade to katello 3.5)
Actions #10

Updated by Ivan Necas over 6 years ago

  • Has duplicate Bug #21970: Remote execution doesn't work after upgrade to katello 3.5 added
Actions #11

Updated by Ivan Necas over 6 years ago

The tasks release reqiired is sent https://github.com/theforeman/foreman-packaging/pull/1985, after that, we should be able also to push new rex version to 1.16

Actions #12

Updated by Adam Ruzicka about 3 years ago

  • Status changed from New to Closed

This is not relevant anymore

Actions

Also available in: Atom PDF