saltstack/salt — Issue #840: Running salt without a master running gives cryptic error
Author: blast-hardcheese
Created: 2012-03-05 17:24:17+00:00
State: open

It looks like salt is making a pretty big assumption here.

Traceback (most recent call last):
File "/srv/virtualenv/bin/salt", line 18, in
main()
File "/srv/virtualenv/bin/salt", line 14, in main
client.run()
File "/srv/virtualenv/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 292, in run
for full_ret in local.cmd_cli(*args):
File "/srv/virtualenv/local/lib/python2.7/site-packages/salt/client.py", line 216, in cmd_cli
verbose):
File "/srv/virtualenv/local/lib/python2.7/site-packages/salt/client.py", line 330, in get_cli_returns
for fn_ in os.listdir(jid_dir):
OSError: [Errno 2] No such file or directory: '/var/cache/salt-master/jobs/0'