I'm having trouble with specifying a returner.
On the minion, If I change redis_return.py __opts__['redis.host'] to my url
and run:
# salt lappy cmd.run 'ls' --return=redis_return
it works as expected
I copied redis_return.py to my_return.py and expected this to work
# salt lappy cmd.run 'ls' --return=my_return
but it doesn't
I have restarted the minion.
What am I missing?
Thanks,
Kent
# sudo salt-minion -ldebug
<snip>
14:57:44,106 [salt.minion ][INFO ] Authentication with master successful!
14:57:44,107 [salt.crypt ][DEBUG ] Loaded minion key:
/etc/salt/pki/minion.pem
14:57:44,223 [salt.crypt ][DEBUG ] Decrypting the current master AES key
14:57:44,224 [salt.crypt ][DEBUG ] Loaded minion key:
/etc/salt/pki/minion.pem
on master
# salt lappy cmd.run 'ls' --return=getatdata
on minion
<output>
14:58:24,909 [salt.minion ][INFO ] Returning information for
job: 20120413145815955271
14:58:25,001 [salt.minion ][ERROR ] The return failed for job
20120413145815955271 'getatdata'
on master
15:05:48,359 [salt.master ][INFO ] Clear payload received with
command publish
15:05:48,360 [salt.master ][INFO ] User ktenney Published
command cmd.run with jid 20120413150548357419
15:05:48,360 [salt.master ][DEBUG ] Published command details
{'tgt_type': 'glob', 'jid': '20120413150548357419', 'tgt': 'lappy',
'ret': 'getatdata', 'user': 'ktenney', 'arg': ['ls'], 'fun':
'cmd.run'}
15:05:54,005 [salt.master ][INFO ] Clear payload received with
command publish
15:05:54,007 [salt.master ][INFO ] User ktenney Published
command saltutil.find_job with jid 20120413150554000237
15:05:54,007 [salt.master ][DEBUG ] Published command details
{'tgt_type': 'glob', 'jid': '20120413150554000237', 'tgt': 'lappy',
'ret': '', 'user': 'ktenney', 'arg': ['20120413150548357419'], 'fun':
'saltutil.find_job'}
Seems to be Frankenversion 0.0
The code is from trunk, but old files are showing up, maybe
inconsistency in usage of --install-layout=deb, other foolishness.
I'll clean house.
Thanks,
Kent