I'm running 3 ubuntu 12.04 amd64 nodes.
When starting dcell in an irb session, I get communication interrupted.
This does not seem good...
#first node started:
1.9.3p194 :001 > require 'dcell'
=> true
1.9.3p194 :002 > DCell.start addr: 'tcp://10.0.0.14:2042'
I, [2012-06-01T17:26:57.145755 #3691] INFO -- : Connected to ubu02
=> #<Celluloid::Supervisor(DCell::Group):0xa952cc>
I, [2012-06-01T17:28:22.362609 #3691] INFO -- : Found node ubu01
I, [2012-06-01T17:28:27.368780 #3691] INFO -- : Connected to ubu01
I, [2012-06-01T17:29:43.682388 #3691] INFO -- : Found node tole
I, [2012-06-01T17:29:48.701250 #3691] INFO -- : Connected to tole
W, [2012-06-01T17:30:13.721359 #3691] WARN -- : Communication with tole interrupted
W, [2012-06-01T17:30:13.722086 #3691] WARN -- : Communication with ubu01 interrupted
I, [2012-06-01T17:30:18.746543 #3691] INFO -- : Connected to tole
I, [2012-06-01T17:30:18.747069 #3691] INFO -- : Connected to ubu01
W, [2012-06-01T17:30:37.600724 #3691] WARN -- : Communication with ubu01 interrupted
W, [2012-06-01T17:30:38.769308 #3691] WARN -- : Communication with tole interrupted
I, [2012-06-01T17:30:38.774246 #3691] INFO -- : Connected to tole
I, [2012-06-01T17:30:38.774640 #3691] INFO -- : Connected to ubu01
W, [2012-06-01T17:30:52.644008 #3691] WARN -- : Communication with ubu01 interrupted
I, [2012-06-01T17:30:52.671897 #3691] INFO -- : Connected to ubu01
W, [2012-06-01T17:31:02.674378 #3691] WARN -- : Communication with ubu01 interrupted
W, [2012-06-01T17:31:03.795929 #3691] WARN -- : Communication with tole interrupted
I, [2012-06-01T17:31:08.814475 #3691] INFO -- : Connected to tole
I, [2012-06-01T17:31:08.815058 #3691] INFO -- : Connected to ubu01
#second node:
1.9.3p194 :001 > require 'dcell'
=> true
1.9.3p194 :002 > DCell.start addr: 'tcp://10.0.0.10:2043', directory: { id: 'ubu02', addr: 'tcp://10.0.0.14:2042' }
I, [2012-06-01T17:28:17.302204 #3687] INFO -- : Connected to ubu02
I, [2012-06-01T17:28:17.302992 #3687] INFO -- : Connected to ubu01
=> #<Celluloid::Supervisor(DCell::Group):0x83cc14>
I, [2012-06-01T17:29:52.467079 #3687] INFO -- : Found node tole
I, [2012-06-01T17:29:57.486929 #3687] INFO -- : Connected to tole
W, [2012-06-01T17:30:07.488696 #3687] WARN -- : Communication with ubu02 interrupted
W, [2012-06-01T17:30:07.489085 #3687] WARN -- : Communication with tole interrupted
I, [2012-06-01T17:30:07.509395 #3687] INFO -- : Connected to ubu02
I, [2012-06-01T17:30:07.510559 #3687] INFO -- : Connected to tole
W, [2012-06-01T17:30:23.741460 #3687] WARN -- : Communication with ubu02 interrupted
W, [2012-06-01T17:30:23.742249 #3687] WARN -- : Communication with tole interrupted
I, [2012-06-01T17:30:23.751953 #3687] INFO -- : Connected to ubu02
I, [2012-06-01T17:30:23.753235 #3687] INFO -- : Connected to tole
W, [2012-06-01T17:30:33.755624 #3687] WARN -- : Communication with tole interrupted
I, [2012-06-01T17:30:33.772550 #3687] INFO -- : Connected to tole
#third node:
1.9.3p194 :001 > require 'dcell'
=> true
1.9.3p194 :002 > DCell.start addr: 'tcp://10.0.0.6:2044', directory: { id: 'ubu02', addr: 'tcp://10.0.0.14:2042' }
I, [2012-06-01T17:29:38.626024 #4828] INFO -- : Connected to ubu02
I, [2012-06-01T17:29:38.626869 #4828] INFO -- : Connected to tole
=> #<Celluloid::Supervisor(DCell::Group):0x1567768>
1.9.3p194 :003 > I, [2012-06-01T17:30:02.639891 #4828] INFO -- : Found node ubu01
I, [2012-06-01T17:30:02.677549 #4828] INFO -- : Connected to ubu01
W, [2012-06-01T17:30:22.513723 #4828] WARN -- : Communication with ubu02 interrupted
I, [2012-06-01T17:30:22.531024 #4828] INFO -- : Connected to ubu02
W, [2012-06-01T17:30:27.566748 #4828] WARN -- : Communication with ubu01 interrupted
W, [2012-06-01T17:30:32.532805 #4828] WARN -- : Communication with ubu02 interrupted
I, [2012-06-01T17:30:32.551753 #4828] INFO -- : Connected to ubu02
I, [2012-06-01T17:30:32.552106 #4828] INFO -- : Connected to ubu01
W, [2012-06-01T17:30:47.618859 #4828] WARN -- : Communication with ubu01 interrupted
W, [2012-06-01T17:30:47.619192 #4828] WARN -- : Communication with ubu02 interrupted
I, [2012-06-01T17:30:47.647090 #4828] INFO -- : Connected to ubu02
I, [2012-06-01T17:30:47.647379 #4828] INFO -- : Connected to ubu01
W, [2012-06-01T17:30:57.648953 #4828] WARN -- : Communication with ubu02 interrupted
W, [2012-06-01T17:30:57.649156 #4828] WARN -- : Communication with ubu01 interrupted
I, [2012-06-01T17:30:57.670792 #4828] INFO -- : Connected to ubu02
I, [2012-06-01T17:30:57.671186 #4828] INFO -- : Connected to ubu01
root@ubu02:~# gem list | egrep 'dcell|zmq'
celluloid-zmq (0.10.0)
dcell (0.10.0)
ffi-rzmq (0.9.3)
root@ubu02:~# dpkg --list | grep zmq
ii libzmq-dev 2.1.11-1ubuntu1 ZeroMQ lightweight messaging kernel (development libraries and header files)
ii libzmq1 2.1.11-1ubuntu1 ZeroMQ lightweight messaging kernel (shared library)
root@ubu02:~# ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]