Tsung error: can't start newbeam on host

大憨熊 提交于 2019-12-06 03:20:37
Boris Okner

I had similar problem, it's possible that ssh key checking might get in the way.
Try this:

  1. Use tsung 1.4.3 or newer

  2. Create a script file (say, some_dir/ssh_no_check):

    #!/bin/sh
    /usr/bin/ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $@
    
  3. Make it executable.

  4. Add:

     -r some_dir/ssh_no_check
    

to your tsung command params.

This will disable ssh key checking for tsung.

Can't start newbeam on host XXXX (reason: timeout)

In my case (Debian 6.0, tsung 1.4.2) the reason of this error was that client also must has ssh key to connect to master. There is no explicit mention about it in documentation.

  1. Ensure ssh key verification is disabled

~/.ssh/config Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null

  1. Make sure all ports are accessible across controller and worker nodes. If it is in the cloud make sure firewall or security groups allow all ports.

3.Erlang, Tsung must have same version.

4.Ensure all machines are reachable to each other

5.Run erlang test

erl -rsh ssh -name subbu -setcookie tsung Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.4 (abort with ^G) (daya@ip-10-0-100-224.ec2.internal)1> slave:start("worker1.com",bar,"-setcookie tsung").

Warning: Permanently added 'worker1,10.0.100.225' (ECDSA) to the list of known hosts. {ok,bar@worker1}

Run this test from controller to all worker nodes.

You should be able run tests without any issues.

Good Luck!

Subbu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!