Project

General

Profile

Actions

Bug #28941

closed

Failed running Dynflow daemon <TypeError> superclass mismatch for class Command

Added by Tom Ritserveldt about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Debian/Ubuntu
Target version:

Description

we keep seeing the following dynflowd error in our foreman production.log at least every minute.
https://gist.github.com/zipkid/a67ab97d276306d427bf694e24da03a3

It seems that these are both being called, and that causes the error:

    /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
...
    /usr/share/foreman/vendor/ruby/2.3.0/gems/thor-1.0.1/lib/thor/command.rb:1:in `<top (required)>'

when editing `/usr/share/foreman/script/dynflowd`
and changing the shebang from:

#!/usr/bin/env ruby
to
#!/usr/bin/foreman-ruby

it seems to work properly after restarting dynflowd.

this is with foreman 1.24.2 on debian stretch.
Possibly a packaging issue?

Actions

Also available in: Atom PDF