I have the documentation and built the map using func-build-map. I have one
master certmaster and several intermediate certmasters, each of which has
several minions. I issue the following command on the master
$ func "*" call --delegate command run "/bin/date"
here is the error:
Traceback (most recent call last):
File "/usr/bin/func", line 28, in ?
cli.parse(argv)
File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 252,
in parse
return self.subCommands[command].parse(args[1:])
File "/usr/lib/python2.4/site-packages/func/overlord/cmd_modules/call.py",
line 227, in parse
return base_command.BaseCommand.parse(self, argv)
File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 233,
in parse
ret = self.do(args)
File "/usr/lib/python2.4/site-packages/func/overlord/cmd_modules/call.py",
line 329, in do
results = self.overlord_obj.run(self.module, self.method, self.method_args)
File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 679, in
run
suboverlord=group))
File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 809, in
run_direct
minionurls = minionobj.get_urls(hosts=minion_hosts) #the single-item url
list to make async
NameError: global name 'minionobj' is not defined
If I issue the following command to a specific minion.
$ func somehost.somedomain.com call --delegate command run "/bin/date"
I got this error:
ERROR: Can't find any minions matching "somehost.somedomain.com".
I searched the archives and found a similar issue in 2010 January archive and
Steve Salevan was going to review the codes. But I did not see any further
comments on that issue. I have no knowledge of Python. Can someone help me
with this? Thanks
Kurt
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list