Hi, Attached patch solves "NameError: global name 'minionobj' is not defined" problem in delegation mode; [boot.planet-lab.org-rc18] /etc/certmaster # func "*" call --delegate command run "/bin/foo" Traceback (most recent call last): File "/usr/bin/func", line 28, in <module> sys.exit(cli.parse(argv)) File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 252, in parse return self.subCommands[command].parse(args[1:]) File "/usr/lib/python2.5/site-packages/func/overlord/cmd_modules/call.py", line 227, in parse return base_command.BaseCommand.parse(self, argv) File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 233, in parse ret = self.do(args) File "/usr/lib/python2.5/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.5/site-packages/func/overlord/client.py", line 695, in run suboverlord=group)) File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 828, 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
Attachment:
minionobj.patch
Description: Binary data
Best regards, -- S.Çağlar Onur <caglar@xxxxxxxxxxxxxxxx>
_______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list