berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
230 stars 84 forks source link

Unable to terminate ridley #365

Open phanindrakalva opened 7 years ago

phanindrakalva commented 7 years ago

When I try to terminate the ridley it is throwing me an error

ridley = Ridley.from_chef_config('knife.rb', ssh: { :user => 'user', :keys => 'key_path'}, :sudo => true)

ridley.terminate
=> nil
irb(main):009:0> W, [2017-01-26T00:19:47.438645 #31865]  WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:receiving
    Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
W, [2017-01-26T00:19:47.440108 #31865]  WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:receiving
    Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
E, [2017-01-26T00:19:47.441072 #31865] ERROR -- : Actor crashed!
RuntimeError: a group member went missing. This shouldn't be!
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/supervision_group.rb:103:in `restart_actor'
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:15:in `block in call'
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
    /var/lib/gems/2.3.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'