ssh_options[:port] = 6599
set :gateway, xxx.xxx.xxx.xxx
role :app, "192.168.1.140", :no_release => true, :name =>
'app1', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.141", :no_release => true, :name =>
'app2', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.142", :no_release => true, :name =>
'app3', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.143", :no_release => true, :name =>
'app4', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.144", :no_release => true, :name =>
'app5', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.145", :no_release => true, :name =>
'app6', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.146", :no_release => true, :name =>
'app7', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.147", :no_release => true, :name =>
'app8', :pool => 'even', :port => ssh_options[:port
role :app, "192.168.1.148", :no_release => true, :name =>
'app9', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.149", :no_release => true, :name =>
'app10', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.150", :no_release => true, :name =>
'app11', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.151", :no_release => true, :name =>
'app12', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.152", :no_release => true, :name =>
'app13', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.153", :no_release => true, :name =>
'app14', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.154", :no_release => true, :name =>
'app15', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.155", :no_release => true, :name =>
'app16', :pool => 'even', :port => ssh_options[:port]
role :app, "192.168.1.156", :no_release => true, :name =>
'app17', :pool => 'odd', :port => ssh_options[:port]
role :app, "192.168.1.157", :no_release => true, :name =>
'app18', :pool => 'even', :port => ssh_options[:port]
* executing "sudo -p 'sudo password: ' bash -c \"test -d /usr/local/
bin/cmd ||
(mkdir -p /usr/local/bin/cmd\\\n && chown -R root:root /usr/local/
bin/cmd && c
hmod go+rx /usr/local/bin/cmd)\""
servers: ["192.168.1.140", "192.168.1.141", "192.168.1.142",
"192.168.1
.143", "192.168.1.144", "192.168.1.145", "192.168.1.146",
"192.168.1.147", "1
92.168.1.148", "192.168.1.149", "192.168.1.150", "192.168.1.151",
"192.168.1
.152", "192.168.1.153", "192.168.1.154", "192.168.1.155",
"192.168.1.156",
"192.168.1.157"]
* establishing connection to gateway `xxx.xxx.xxx.xxx'
* Creating gateway using xx.xxx.xxx.xxx
* establishing connection to `192.168.1.140:6599' via gateway
* establishing connection to `192.168.1.41:6599' via gateway
* establishing connection to `192.168.1.142:6599' via gateway
* establishing connection to `192.168.1.143:6599' via gateway
* establishing connection to `192.168.1.144:6599' via gateway
* establishing connection to `192.168.1.145:6599' via gateway
* establishing connection to `192.168.1.146:6599' via gateway
* establishing connection to `192.168.1.147:6599' via gateway
* establishing connection to `192.168.1.148:6599' via gateway
* establishing connection to `192.168.1.149:6599' via gateway
* establishing connection to `192.168.1.150:6599' via gateway
* establishing connection to `192.168.1.151:6599' via gateway
* establishing connection to `192.168.1.152:6599' via gateway
* establishing connection to `192.168.1.153:6599' via gateway
* establishing connection to `192.168.1.154:6599' via gateway
* establishing connection to `192.168.1.155:6599' via gateway
* establishing connection to `192.168.1.156:6599' via gateway
* establishing connection to `192.168.1.157:6599' via gateway
deadlock 0x483e088: sleep:J(0x7f5887f0) (main) /usr/lib/ruby/gems/1.8/
gems/cap
istrano-2.5.5/lib/capistrano/configuration/connections.rb:106
deadlock 0x7f5857e4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f585ab4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:71
deadlock 0x7f585d84: sleep:F(36) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/buffered_io.rb:64
deadlock 0x7f586054: sleep:F(34) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/buffered_io.rb:64
deadlock 0x7f586324: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f5865f4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f5868c4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:71
deadlock 0x7f586b94: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:71
deadlock 0x7f586e64: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:71
deadlock 0x7f587134: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:71
deadlock 0x7f587404: sleep:F(62) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/authentication/agent.rb:153
deadlock 0x7f5876d4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f5879a4: sleep:F(61) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/authentication/agent.rb:153
deadlock 0x7f587c74: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f587f44: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f588214: sleep:F(63) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/authentication/agent.rb:153
deadlock 0x7f5884e4: sleep:S - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/lib/n
et/ssh/authentication/agent.rb:146
deadlock 0x7f5887f0: sleep:F(58) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/l
ib/net/ssh/authentication/agent.rb:153
deadlock 0x7f588994: sleep:F(3) - /usr/lib/ruby/gems/1.8/gems/net-
ssh-2.0.11/li
b/net/ssh/buffered_io.rb:64
/usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.11/lib/net/ssh/buffered_io.rb:
64:in `est
ablish_connections_to': Thread(0x7f588994): deadlock (fatal)
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:106:in `each'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:106:in `establish_connections_to'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:160:in `execute_on_servers'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/loading.rb:93:in `each_slice'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:158:in `each'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:158:in `each_slice'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/connections.rb:158:in `execute_on_servers'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/actions/invocation.rb:171:in `run_tree'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/actions/invocation.rb:143:in `run'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/actions/invocation.rb:209:in `sudo'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/actions/invocation.rb:89:in `send'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/actions/invocation.rb:89:in `invoke_command'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/extensi
ons.rb:9:in `send'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/extensi
ons.rb:9:in `method_missing'
from config/global/base.rb:157:in `safe_run'
from config/global/base.rb:189:in `exec'
from config/global/base.rb:235:in `mkdir'
from config/global/base.rb:108:in `ensure_directory'
from config/global/base.rb:257:in `put'
from config/global/base.rb:345:in `upload_file'
from config/global/base.rb:405:in `upload_files'
from config/global/base.rb:376:in `each'
from config/global/base.rb:376:in `upload_files'
from config/global/base.rb:353:in `each'
from config/global/base.rb:353:in `upload_files'
from config/global/base.rb:636:in `other_files'
from config/global/tasks.rb:39:in `common'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/execution.rb:128:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/execution.rb:128:in `invoke_task_directly_without_callbacks'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/callbacks.rb:27:in `invoke_task_directly'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/execution.rb:81:in `execute_task'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configu
ration/execution.rb:93:in `find_and_execute_task'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/exe
cute.rb:45:in `execute_requested_actions_without_help'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/exe
cute.rb:44:in `each'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/exe
cute.rb:44:in `execute_requested_actions_without_help'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/hel
p.rb:19:in `execute_requested_actions'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/exe
cute.rb:33:in `execute!'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/exe
cute.rb:14:in `execute'
from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.5/bin/cap:4
from c:/cygwin/bin/cap:19:in `load'
from c:/cygwin/bin/cap:19
On May 5, 3:17 pm, "Rafael G." <[email protected]> wrote:
> mzorova wrote:
> > I am using the latest versions of capistrano (2.5.5), net-ssh (2.0.11)
> > and net-ssh-gateway (1.0.1).. When I have more than ten operations as
> > part of one command, via a gateway, the ssh operations stop with
> > deadlocks.
>
> > I noticed that the synchronous_connect was taken out - assuming the
> > issues have been fixed. Any reason why it was pulled.. Is there any
> > more releases where it can be put back in? Or is it largely in self
> > service mode at this point?
>
> > I am wondering if I should move to Vlad if cap is unsupported going
> > forward. Though that will be painful, as we have built an entire tower
> > on this foundation.. :)
>
> > mzor
>
> Could you put your error message and your deploy.rb(or relevant part)?
>
> Regards
>
> --
> Rafa
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---