Skip to content
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

Returns the redis error #35973

Closed
ypoison opened this issue Sep 1, 2016 · 4 comments
Closed

Returns the redis error #35973

ypoison opened this issue Sep 1, 2016 · 4 comments
Labels
Bug broken, incorrect, or confusing behavior fixed-pls-verify fix is linked, bug author to confirm fix P4 Priority 4 Returners RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone

Comments

@ypoison
Copy link

ypoison commented Sep 1, 2016

Description of Issue/Question

Returns the redis error

Setup

$/etc/salt/master
master_job_cache: redis

Steps to Reproduce Issue

File "/data/apps/python2.7/lib/python2.7/site-packages/salt/utils/process.py", line 616, in _run
return self._original_run()
File "/data/apps/python2.7/lib/python2.7/site-packages/salt/master.py", line 237, in run
salt.daemons.masterapi.clean_old_jobs(self.opts)
File "/data/apps/python2.7/lib/python2.7/site-packages/salt/daemons/masterapi.py", line 187, in clean_old_jobs
mminion.returnersfstr
File "/data/apps/python2.7/lib/python2.7/site-packages/salt/returners/redis_return.py", line 217, in clean_old_jobs
serv.delete(*to_remove) # pylint: disable=E1134
TypeError: delete() argument after *
must be a mapping, not list

Versions Report

Salt Version:
Salt: 2016.3.3

Dependency Versions:
cffi: Not Installed
cherrypy: 3.8.0
dateutil: 2.5.3
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.7
mysql-python: 1.2.3
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.6 (default, Mar 21 2016, 16:12:03)
python-gnupg: Not Installed
PyYAML: 3.10
PyZMQ: 15.2.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.3
ZMQ: 4.1.2

System Versions:
dist: centos 6.8 Final
machine: x86_64
release: 2.6.32-642.1.1.el6.x86_64
system: Linux
version: CentOS 6.8 Final

@Ch3LL
Copy link
Contributor

Ch3LL commented Sep 1, 2016

@ypoison I believe this is fixed by this pr #33998 but needs to be backported to 2016.3. I will look into getting that backported and in the meantime can you go ahead and see if that fixes your issue until we can get this in the next release? Thanks

@Ch3LL Ch3LL added Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around fixed-pls-verify fix is linked, bug author to confirm fix P4 Priority 4 Returners RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. labels Sep 1, 2016
@Ch3LL Ch3LL added this to the Approved milestone Sep 1, 2016
@rallytime
Copy link
Contributor

@ypoison and @Ch3LL The fix in #33998 has been back-ported to the 2016.3 branch in #36014.

@ypoison
Copy link
Author

ypoison commented Sep 2, 2016

@Ch3LL The problem has been solved, thank you, but there is a redis return error is about #35016

line: 131
old:
def save_minions(jid, minions): # pylint: disable=unused-argument
new:
def save_minions(jid, minions, syndic_id=None): # pylint: disable=unused-argument

Want to fix it, thank you!

@Ch3LL
Copy link
Contributor

Ch3LL commented Sep 6, 2016

@ypoison did you want to submit a PR with that fix? Does that resolve that new error you are seeing?

@ypoison ypoison closed this as completed Sep 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior fixed-pls-verify fix is linked, bug author to confirm fix P4 Priority 4 Returners RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
None yet
Development

No branches or pull requests

3 participants