hi,
On my master func server I attempt to send one command to multiple
server, but it doesn't not execute. For example:
func "*domain.edu" call command run "cat /etc/redhat-release"
or
func "*" call command run "cat /etc/redhat-release"
When I hit Ctrl-C I get this output:
^CTraceback (most recent call last):
File "/usr/bin/func", line 28, in <module>
ret = cli.parse(argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 252, in parse
return self.subCommands[command].parse(args[1:])
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 227, in parse
return base_command.BaseCommand.parse(self, argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 233, in parse
ret = self.do(args)
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 323, in do
results = self.overlord_obj.run(self.module, self.method,
self.method_args)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
752, in run
minion_result = self.run_direct(module, method, args, nforks)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
922, in run_direct
results = jobthing.batch_run(minionurls,
process_server,nforks,**minion_info)
File "/usr/lib/python2.6/site-packages/func/jobthing.py", line 172,
in batch_run
results = forkbomb.batch_run(pool, callback, nforks)
File "/usr/lib/python2.6/site-packages/func/forkbomb.py", line 141,
in batch_run
__forkbomb(0,buckets,callback,shelf_file)
File "/usr/lib/python2.6/site-packages/func/forkbomb.py", line 108,
in __forkbomb
os.waitpid(pid,0)
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/bin/func", line 28, in <module>
ret = cli.parse(argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 252, in parse
return self.subCommands[command].parse(args[1:])
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 227, in parse
return base_command.BaseCommand.parse(self, argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 233, in parse
ret = self.do(args)
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 348, in do
return self.overlord_obj.local.utils.async_poll(results,
self.print_results)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
88, in __call__
return self.clientref.run(module,method,args,nforks=self.nforks)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
747, in run
return self.methods[method](*args)
File
"/usr/lib/python2.6/site-packages/func/overlord/modules/utils.py", line
37, in async_poll
time.sleep(interval)
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/bin/func", line 28, in <module>
ret = cli.parse(argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 252, in parse
return self.subCommands[command].parse(args[1:])
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 227, in parse
return base_command.BaseCommand.parse(self, argv)
File "/usr/lib/python2.6/site-packages/func/overlord/command.py",
line 233, in parse
ret = self.do(args)
File
"/usr/lib/python2.6/site-packages/func/overlord/cmd_modules/call.py",
line 323, in do
results = self.overlord_obj.run(self.module, self.method,
self.method_args)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
752, in run
minion_result = self.run_direct(module, method, args, nforks)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
922, in run_direct
results = jobthing.batch_run(minionurls,
process_server,nforks,**minion_info)
File "/usr/lib/python2.6/site-packages/func/jobthing.py", line 172,
in batch_run
results = forkbomb.batch_run(pool, callback, nforks)
File "/usr/lib/python2.6/site-packages/func/forkbomb.py", line 141,
in batch_run
__forkbomb(0,buckets,callback,shelf_file)
File "/usr/lib/python2.6/site-packages/func/forkbomb.py", line 115,
in __forkbomb
__with_my_bucket(mybucket,buckets,what_to_do,filename)
File "/usr/lib/python2.6/site-packages/func/forkbomb.py", line 94, in
__with_my_bucket
(nkey,nvalue) = what_to_do(bucket_number,buckets,thing)
File "/usr/lib/python2.6/site-packages/func/overlord/client.py", line
881, in process_server
retval = getattr(conn, meth)(*args[:])
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
errcode, errmsg, headers = h.getreply()
File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
response = self._conn.getresponse()
File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
response.begin()
File "/usr/lib64/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
line = self.fp.readline()
File "/usr/lib64/python2.6/socket.py", line 433, in readline
[root@cobbler pub]# data = recv(1)
File "/usr/lib/python2.6/site-packages/certmaster/SSLConnection.py",
line 133, in recv
(read, write, excpt) = select.select([con], [], [], timeout)
KeyboardInterrupt
The logs don't really show anything. Does anybody have any ideas? Thanks.
--David
begin:vcard
fn:David Weise
n:Weise;David
org:Rider University;OIT
email;internet:dweise@xxxxxxxxx
title:System Administrator II
tel;work:(609)896-5000x7439
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
func mailing list
func@xxxxxxxxxxxxxxxxxxxxxx
https://lists.fedorahosted.org/mailman/listinfo/func