WARNING Retry connecting to CmdAgent@10.2.4.104, count 1

248 views
Skip to first unread message

sk

unread,
Mar 1, 2012, 5:25:01 PM3/1/12
to faban-users
Hi

Faban is giving this error.
I verified that ssh is enabled on both master and agent and they are
able to login without password.
But I still see this issue while scheduling a run.

Any pointers will be helpful ?

17:05:09 INFO Starting sampleweb run using /opt/faban/output/
sampleweb.2H/
17:05:09 INFO START TIME : Tue Feb 28 17:05:09 PST 2012
17:05:09 INFO Starting Registry.
17:05:10 webserver INFO Registry started.
17:05:20 WARNING
exception Agent(daemon)@10.2.4.104: No route to host. Will try remote
shell instead.
17:05:20 WARNING [/usr/bin/ssh, -n, 10.2.4.104, /opt/faban/bin/
agent, 10.2.4.104, 143.182.13.202, 143.182.13.202, /usr/java/
jdk1.7.0_03, -Dfaban.home=/opt/faban/, -Djava.security.policy=/opt/
faban/config/faban.policy, -Djava.util.logging.config.file=/opt/faban/
config/logging.properties, -Dfaban.registry.port=9998, -
Dfaban.logging.port=9999, -Xmx256m, -Xms64m, -XX:+DisableExplicitGC,
faban.benchmarkName=sampleweb, faban.download=http://
143.182.13.202:9980/]
stderr:
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or
directory
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
17:05:40 INFO CmdService: Configured File...@143.182.13.202 on
server webserver
17:05:50 WARNING Retry connecting to CmdA...@10.2.4.104, count 1.
17:06:00 WARNING Retry connecting to CmdA...@10.2.4.104, count 2.
17:06:10 WARNING Retry connecting to CmdA...@10.2.4.104, count 3.
17:06:20 WARNING Retry connecting to CmdA...@10.2.4.104, count 4.

Thank you

Sucharitakul, Akara

unread,
Mar 1, 2012, 7:15:11 PM3/1/12
to faban...@googlegroups.com
ssh can't execute commands on the remote system. Can you please try by
hand (I remember it was ssh user@system command)? Thanks.

-Akara

sk

unread,
Mar 2, 2012, 4:22:12 PM3/2/12
to faban-users
Thanks Akara.
I tried it already and both the machines are able to ssh without
password.
Any other suggestions ?

Thanks

On Mar 1, 4:15 pm, "Sucharitakul, Akara" <asucharita...@ebay.com>
wrote:
> ssh can't execute commands on the remote system. Can you please try by
> hand (I remember it was ssh user@system command)? Thanks.
>
> -Akara
>
> >17:05:40            INFO    CmdService: Configured FileAg...@143.182.13.202 on
> >server webserver
> >17:05:50            WARNING Retry connecting to CmdAg...@10.2.4.104, count 1.
> >17:06:00            WARNING Retry connecting to CmdAg...@10.2.4.104, count 2.
> >17:06:10            WARNING Retry connecting to CmdAg...@10.2.4.104, count 3.
> >17:06:20            WARNING Retry connecting to CmdAg...@10.2.4.104, count 4.
>
> >Thank you

Sucharitakul, Akara

unread,
Mar 2, 2012, 4:28:47 PM3/2/12
to faban...@googlegroups.com
Did you try with command? Thanks.

-Akara

sk

unread,
Mar 2, 2012, 5:10:29 PM3/2/12
to faban-users
Yes I did and I am able to login without password.


On Mar 2, 1:28 pm, "Sucharitakul, Akara" <asucharita...@ebay.com>
wrote:
> Did you try with command? Thanks.
>
> -Akara
>

Sucharitakul, Akara

unread,
Mar 2, 2012, 6:37:23 PM3/2/12
to faban...@googlegroups.com
Does the command run properly? For instance:

ssh user@host ls

-Akara

sk

unread,
Mar 2, 2012, 7:12:42 PM3/2/12
to faban-users
Yes it does.

On Mar 2, 3:37 pm, "Sucharitakul, Akara" <asucharita...@ebay.com>
wrote:
> Does the command run properly? For instance:
>
> ssh user@host ls
>
> -Akara
>

Sucharitakul, Akara

unread,
Mar 2, 2012, 8:14:50 PM3/2/12
to faban...@googlegroups.com
Hmmm, hard to support case here. Why won't it get through from the harness?

-Akara

sk

unread,
Mar 3, 2012, 9:36:12 PM3/3/12
to faban-users
Yes, thats why I had to post it here.
Any other thing, I can check here?

Thanks


On Mar 2, 5:14 pm, "Sucharitakul, Akara" <asucharita...@ebay.com>
wrote:
> Hmmm, hard to support case here. Why won't it get through from the harness?
>
> -Akara
>

sk

unread,
Mar 8, 2012, 4:01:54 PM3/8/12
to faban-users
any suggestions ?
> > >> >> >> >Thank you- Hide quoted text -
>
> - Show quoted text -

Shanti Subramanyam (gmail)

unread,
Mar 13, 2012, 5:49:18 PM3/13/12
to faban...@googlegroups.com
This is really one of the hardest issues to debug. You can try turning on the FINEST level of logging (by setting com.sun.faban.harness.level=FINEST in config/logging.properties) and see if you can get any additional debug messages that may help.

Shanti

amaji

unread,
Oct 26, 2012, 8:36:19 PM10/26/12
to faban...@googlegroups.com
hi,

don't know if you have resolved it by now. i faced similar errors before. problem was hostname resolution in /etc/hosts. When faban client daemon tried to connect to master it used the faban-master's hostname and resolved it to a stale ip addr. make sure the hostnames of faban-master/clients can be resolved correctly and their /etc/hosts is up-to-date. hope this helps!

maji

Will Reichert

unread,
Oct 29, 2012, 10:13:06 AM10/29/12
to faban...@googlegroups.com, shikha...@gmail.com
If you are still facing this issue then hopefully it is caused by one of the issues I encountered below:
  1. The hostname for either the agent or the master is not able to resolve to an IP address by either the agent or the master.  For example, if running hostname on the master yields the name Server1 then the agent needs to have Server1 defined in /etc/hosts or be able to perform DNS lookup for Server1. The same is true for the Master communicating with the agent based on whatever name you put into the <fa:hostConfig> as well as the agents hostname.
  2. Re-run makeagent from the master and deploy it to the agent. I ran into problems when the the agent was not using the same version of jars as the master (this is probably because I was running a custom build of Faban but it is worth trying).
  3. Make sure you don't have other faban processes running which are already communicating with the agent. The agents do not appear to support multiple masters. Restarting the agents and the master might help put the system in a known state.
  4. Make sure the hostnames are already a known host and that the shh command is not asking for verification of the host key. I did this by sshing to all the host names from one machine then copying over the known host files to the rest of the environment.
Let us know if you are able to connect to the agent or are still experiencing errors.

Zubair Sediqi

unread,
May 30, 2013, 8:18:09 AM5/30/13
to faban...@googlegroups.com, shikha...@gmail.com
Though ssh is working without asking for pasword and host names are resolvable. I face the same issue while running faban. Is this issue solved ? if yes , what was the solution


Regards
Zubair 
Reply all
Reply to author
Forward
0 new messages