Bug#715377: cloud-scripts: a ruby exception blocks the whole process
Package: qa.debian.org
Severity: normal
Hello,
>From time to time, the masternode script stops on the following exception:
/usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:66:in `initialize': Connection timed out - connect(2) (Errno::ETIMEDOUT)
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:66:in `open'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:66:in `initialize'
from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
from /usr/lib/ruby/vendor_ruby/net/ssh/transport/session.rb:66:in `initialize'
from /usr/lib/ruby/vendor_ruby/net/ssh.rb:186:in `new'
from /usr/lib/ruby/vendor_ruby/net/ssh.rb:186:in `start'
from /usr/lib/ruby/vendor_ruby/net/scp.rb:197:in `start'
from ./masternode:160
from ./masternode:158:in `each'
from ./masternode:158
I think the node should be skipped/blacklisted and the whole process continue (for now, it blocks everything)
Sylvestre
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: