-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis returner stacktrace in clean_old_jobs 2016.3.0 #33969
Comments
@Inveracity thanks for the report. Just glanced at the code and it looks like its calling this function here in the client.py in redis. And then that calls this function. I'm guessing list ping @jizhilong would you mind taking a look at this. Looks like you made some changes here for the redis returner with PR #30571 |
@Ch3LL it's true I introduced this bug in with PR #30571, I'll fix this soon. |
Thank you! I wasn't too worried, but I am taking a "see something, say something" approach to all things saltstack ❤️ |
@jizhilong thanks for looking and fixing the issue! Very much appreciated. @Inveracity would you mind seeing if that fix works for you? |
@jizhilong I think this fix is needed in the 2016.3 branch, correct? Should your fix be back-ported? |
@Ch3LL I'll be sure to test it and report back tomorrow morning (eu time) when I get into the office |
I brought up my test environment [DEBUG ] Could not LazyLoad redis.prep_jid
[ERROR ] Returner 'redis' does not support function prep_jid
[ERROR ] Error in function _return:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/master.py", line 1540, in run_func
ret = getattr(self, func)(load)
File "/usr/lib/python2.7/dist-packages/salt/master.py", line 1353, in _return
self.opts, load, event=self.event, mminion=self.mminion)
File "/usr/lib/python2.7/dist-packages/salt/utils/job.py", line 44, in store_job
raise KeyError(emsg)
KeyError: "Returner 'redis' does not support function prep_jid"
[DEBUG ] Could not LazyLoad redis.prep_jid the redis server is up and listening and it responds on the port using telnet. redis.db: '0'
redis.host: backend-database
redis.port: 6379
master_job_cache: redis So now I can't confirm whether the fixed worked for me Thanks! |
@Inveracity it seems the |
The keyerror was a fluke, couldn't reproduce it again The original problem is fixed, thank you! |
description
salt master versions report
The text was updated successfully, but these errors were encountered: