-
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
Salt 2016.3.0 (Boron) clean_old_jobs fails #33544
Comments
I'm seeing the same thing. |
That's REALLY odd. You don't somehow have more than one Maintenance process running, do you? |
Good guess, i stopped the salt-master service and checked that no other salt-master process was lingering.
After that in the log the first OSError
Looks like 2 processes trying to do the same cleanup? |
The first time through the loop we deleted the dir and then stack traced the second time through the loop if we hit the other conditional. Resolves saltstack#33544
Please see #33555 for a patch that resolves this issue. |
After applying the patch and restarting the salt-master the error did not show up anymore. |
@tjuup You're welcome. Apologies for the breakage. :] |
Thanks that patch seems to have fixed this issue. |
@cachedout It seems this patch is not in the latest deb release, because I'm still having this issues. When will it be released? |
Description of Issue/Question
Master log fills with these errors:
Setup
master config:
Steps to Reproduce Issue
update to 2016.3.0 Since then salt.master.Maintenance tries to cleanup files/dirs that are not in /var/cache/salt/master/jobs/
Versions Report
root@salt:~# salt --versions-report
Salt Version:
Salt: 2016.3.0
Dependency Versions:
cffi: Not Installed
cherrypy: 3.2.2
dateutil: 1.5
gitdb: 0.5.4
gitpython: 0.3.2 RC1
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 0.9.1
msgpack-pure: Not Installed
msgpack-python: 0.3.0
mysql-python: 1.2.3
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.6 (default, Jun 22 2015, 17:58:13)
python-gnupg: Not Installed
PyYAML: 3.10
PyZMQ: 14.4.0
RAET: Not Installed
smmap: 0.8.2
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.4
System Versions:
dist: Ubuntu 14.04 trusty
machine: x86_64
release: 3.13.0-83-generic
system: Linux
version: Ubuntu 14.04 trusty
The text was updated successfully, but these errors were encountered: