func/overlord/cmd_modules/ping.py | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 76b6d0fc284fadd1853442beee2315ab9078660c Author: S.Ã?aÄ?lar Onur <caglar@xxxxxxxxxxxxxxxx> Date: Wed Nov 3 13:30:51 2010 -0400 Exclude down hosts otherwise func "*" ping command causes following error; [ ok ... ] planetlab... [ ok ... ] planetlab... [ ok ... ] 147-179... ERROR: Can't find any minions matching "planetlab-2.iscte.pt". [root@www /]# grep planetlab-2.iscte.pt /var/lib/func/hosts_down.lst planetlab-2.iscte.pt diff --git a/func/overlord/cmd_modules/ping.py b/func/overlord/cmd_modules/ping.py index 7ce6c00..747a7da 100644 --- a/func/overlord/cmd_modules/ping.py +++ b/func/overlord/cmd_modules/ping.py @@ -55,6 +55,8 @@ class Ping(base_command.BaseCommand): servers = minion_set.get_all_hosts() for server in servers: + if server in minion_set.downed_hosts: + continue overlord_obj = client.Overlord(server, interactive=False,
_______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list