Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

call failed on task murder:stop_peering #10

Open
dspattison opened this issue Sep 27, 2011 · 1 comment
Open

call failed on task murder:stop_peering #10

dspattison opened this issue Sep 27, 2011 · 1 comment

Comments

@dspattison
Copy link

Hello,

I get this error while trying to deploy:

call failed #<Capistrano::CommandError: failed: "sh -c 'pkill -f \"murder_client.py peer.*/tmp/20110927221958.tar.gz.tgz\"'" on server1,server2...>
*** [deploy:update_code] rolling back

I can't figure out why it is failing.

  • I tried modifing the commands to append a "; true"
  • using sudo
  • re-writing it using ps|grep|awk|kill

I ended up ignoring the issue by using the following code:

namespace :murder do

 task :stop_peering, :roles=>:peer do
  logger.info 'override'
 end

 task :stop_seeding, :roles=>:peer do
  logger.info 'override'
 end

 task :stop_tracker, :roles=>:peer do
  logger.info 'override'
 end

end

Then after each deploy, i have to go and kill murder (lol) processes.

ENV:

Thanks,
-Dave

@TonyRice
Copy link

TonyRice commented May 6, 2012

It is an issue with the pkill command I've forked this and implemented a custom function. This might help https://github.com/IAmTonyRice/murder

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants