Project

General

Profile

Bug #25666

daemons 1.3.0 broken when in multip-process mode

Added by Michael Moll 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Rails
Target version:

Description

DEBs from started today/tonight to show:

-- Unit dynflowd.service has begun starting up.
Dec 11 19:12:38 sledge bundle[2431]: Dynflow Executor: start in progress
Dec 11 19:12:38 sledge bundle[2431]: bundler: failed to load command: script/dynflowd (script/dynflowd)
Dec 11 19:12:38 sledge bundle[2431]: NameError: undefined local variable or method `pid_delimiter' for #<Daemons::PidFile:0x000055fa9e83c748>
Dec 11 19:12:38 sledge bundle[2431]: Did you mean?  @pid_delimiter
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/pidfile.rb:86:in `filename'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/pidfile.rb:75:in `initialize'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/application.rb:47:in `new'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/application.rb:47:in `initialize'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/application_group.rb:125:in `new'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/application_group.rb:125:in `new_application'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/controller.rb:56:in `run'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons.rb:199:in `block in run_proc'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons/cmdline.rb:121:in `catch_exceptions'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/daemons-1.3.0/lib/daemons.rb:198:in `run_proc'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/dynflow-1.1.5/lib/dynflow/rails/daemon.rb:72:in `block in run_background'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/dynflow-1.1.5/lib/dynflow/rails/daemon.rb:71:in `times'
Dec 11 19:12:38 sledge bundle[2431]:   /usr/share/foreman/vendor/ruby/2.5.0/gems/dynflow-1.1.5/lib/dynflow/rails/daemon.rb:71:in `run_background'
Dec 11 19:12:38 sledge bundle[2431]:   script/dynflowd:71:in `block in <top (required)>'
Dec 11 19:12:38 sledge bundle[2431]:   script/dynflowd:67:in `chdir'
Dec 11 19:12:38 sledge bundle[2431]:   script/dynflowd:67:in `<top (required)>'
Dec 11 19:12:38 sledge systemd[1]: dynflowd.service: Control process exited, code=exited status=1
Dec 11 19:12:38 sledge systemd[1]: dynflowd.service: Failed with result 'exit-code'.
Dec 11 19:12:38 sledge systemd[1]: Failed to start Foreman jobs daemon.
-- Subject: Unit dynflowd.service has failed

Associated revisions

Revision db2eae40 (diff)
Added by Michael Moll 9 months ago

Refs #25666 - pin daemons gem

Revision 9be0ad74 (diff)
Added by Michael Moll 9 months ago

Fixes #25666 - unpin daemons gem

This reverts commit db2eae404317e62248b3e7b500c6ade0c4a75cff.

History

#1 Updated by Ivan Necas 10 months ago

  • Pull request https://github.com/thuehlinger/daemons/pull/73 added

#2 Updated by Ivan Necas 9 months ago

  • Subject changed from dynflowd broken to daemons 1.3.0 broken when in multip-process mode

#3 Updated by The Foreman Bot 9 months ago

  • Assignee set to Michael Moll
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6333 added

#4 Updated by Michael Moll 9 months ago

  • Assignee changed from Michael Moll to Ivan Necas
  • Status changed from Ready For Testing to Pending

#5 Updated by The Foreman Bot 9 months ago

  • Status changed from Pending to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6337 added

#6 Updated by Ewoud Kohl van Wijngaarden 9 months ago

  • Target version set to 1.21.0
  • Category set to Rails
  • Fixed in Releases 1.21.0 added

#7 Updated by Ewoud Kohl van Wijngaarden 9 months ago

  • Triaged changed from No to Yes

#8 Updated by Michael Moll 9 months ago

  • Status changed from Ready For Testing to Closed

#9 Updated by Ivan Necas 9 months ago

FYI daemon 1.3.1 including the fix has just been released.

Also available in: Atom PDF