Project

General

Profile

Bug #28941

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

Added by Tom Ritserveldt about 2 months ago. Updated 21 days 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?

History

#1 Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Target version set to 1.24.3
  • Category set to Debian/Ubuntu
  • Project changed from Foreman to Packaging

#2 Updated by L W 23 days ago

Tom Ritserveldt wrote:

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:
[...]

when editing `/usr/share/foreman/script/dynflowd`
and changing the shebang from:
[...]to
[...]
it seems to work properly after restarting dynflowd.

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

Got the same problem here on ubuntu 18.

#3 Updated by The Foreman Bot 23 days ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/4837 added

#4 Updated by Ewoud Kohl van Wijngaarden 22 days ago

  • Status changed from Ready For Testing to Closed

Since it's a stable branch-only, Redmine isn't importing the Closed commit so closing manually.

#5 Updated by The Foreman Bot 21 days ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/4841 added

#6 Updated by Ewoud Kohl van Wijngaarden 21 days ago

  • Fixed in Releases 1.23.2, 1.24.3 added

Also available in: Atom PDF