external_auth tokens are not being cleaned up
Doesn't look like /var/cache/salt/master/tokens is being properly cleaned:
# pwd
/var/cache/salt/master/tokens
# find . -atime +1 | wc -l
301691
Running:
# salt --versions
Salt: 0.17.5
Python: 2.6.6 (r266:84292, Dec 7 2011, 20:48:22)
Jinja2: 2.2.1
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
PyYAML: 3.10
PyZMQ: 2.2.0.1
ZMQ: 3.2.2
There was a report in #salt that 2014.1.13 also had a similar issue.
I see this also on Fedora 20 with 2014.1.10 and 2014.1.13:
find /var/cache/salt/master/tokens | wc -l 306533 df -i /var/cache/salt/master/tokens Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/vg_root-lv_var 1166880 763212 403668 66% /var
66% of inodes used ... ouch
Thanks for the report @jalons and for the follow up @smithjm! We'll take a look at this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.