Question

I am trying to setup a distributed tsung cluster and am unable to get it running.

tsung -f tsung-script.xml start
Starting Tsung
"Log directory is: /home/ec2-user/.tsung/log/20140414-0158"
Host key verification failed.

I have tried the manual's suggesting of opening all ports, I am able to run tsung on both the controller and the slave. I get the same error if I try the test command in the debug section of the manual.

erl -rsh ssh -sname ec2-user -setcookie mycookie
slave:start("ip-XX-XXX-XXX-XXX.ec2.internal","ec2-user","-setcookie mycookie").
Host key verification failed.

I am able to ssh to the box without a password already (outside of tsung:)

ssh ip-XX-XXX-XXX-XXX.ec2.internal erl
Eshell V5.8.5  (abort with ^G)
1>

What else should I be checking? Is there something obvious I am missing? Is there a way to get more detailed logs about what is failing and what is being attempted by erlang?

The current controller log is not helpful:

=INFO REPORT==== 14-Apr-2014::01:59:26 ===
              ts_mon:(5:<0.53.0>) Activate clients with text backend

=INFO REPORT==== 14-Apr-2014::01:59:26 ===
              ts_mon:(5:<0.53.0>) Starting tsung clients on hosts: ['ip-XX-XXX-XXX-XXX.ec2.internal']
Was it helpful?

Solution

It could be the etc/hosts entries. Make sure the slaves have a host entry for the master and the master has host entries for itself and its slaves.

OTHER TIPS

I sometimes have this problem. I find deleting the know_hosts file from ~/.ssh helps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top