ipython - ipcluster command not creating full set of engines -
using ubuntu 12.04 trying set lan cluster. details:
controller config
# configuration file ipcontroller. c = get_config() c.ipcontrollerapp.reuse_files = true c.ipcontrollerapp.engine_ssh_server = u'bar@bar1' c.hubfactory.ip = '*' c.hubfactory.db_class = 'nodb'
cluster config
# configuration file ipcluster. c = get_config() c.ipclusterengines.engine_launcher_class = 'ssh' c.sshenginesetlauncher.engine_args = ['--profile-dir=~/.config/ipython/profile_foo'] c.sshenginesetlauncher.engines = {'foo@foo1' : 1, 'foo@foo2' : 1, 'foo@foo3' : 1, 'foo@foo4' : 1}
engine config
# configuration file ipengine. c = get_config() c.enginefactory.timeout = 10
so, running
ipcluster start --profile=foo --debug
yields following:
2013-09-03 19:43:45.772 [ipclusterstart] process 'ssh' started: 5198 2013-09-03 19:43:45.773 [ipclusterstart] process 'engine set' started: [none, none, none, none] 2013-09-03 19:43:47.086 [ipclusterstart] 2013-09-03 19:44:02.726 [ipengineapp] completed registration id 0 2013-09-03 19:43:47.795 [ipclusterstart] 2013-09-03 19:43:53.737 [ipengineapp] completed registration id 1 2013-09-03 19:43:48.561 [ipclusterstart] 2013-09-03 19:43:59.793 [ipengineapp] completed registration id 2 2013-09-03 19:43:49.667 [ipclusterstart] 2013-09-03 19:44:03.859 [ipengineapp] completed registration id 3 2013-09-03 19:44:15.773 [ipclusterstart] engines appear have started
looks me. when try connect client, less anticipated number of engines. this occurs 1 or 2 engines running on single remote machine
in [22]: rc=client(profile='foo') in [23]: rc.ids out[23]: [1, 2]
i set timeout high in case issue, persists.
if run ipcontroller
, ipengines
separately, process succeeds, prefer being able start , stop cluster ipcluster
.
Comments
Post a Comment