Created
April 27, 2015 13:20
-
-
Save bemeyert/ab3d0567d953d154a9d4 to your computer and use it in GitHub Desktop.
Saltstack elasticsearch as job_cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In my master configuration: | |
```yaml | |
master_job_cache: elasticsearch | |
elasticsearch: | |
host: 'eshost:9200' | |
index: 'salt_test' | |
``` | |
Critical error in logfile: | |
2015-04-27 15:15:48,553 [salt.config ][DEBUG ] Reading configuration from /etc/salt/master | |
2015-04-27 15:15:48,559 [salt.config ][DEBUG ] Using cached minion ID from /etc/salt/minion_id: 10.0.0.1 | |
2015-04-27 15:15:48,561 [salt.config ][DEBUG ] Missing configuration file: ~/.saltrc | |
2015-04-27 15:15:48,562 [salt.utils.event ][DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
2015-04-27 15:15:48,562 [salt.utils.event ][DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
2015-04-27 15:15:48,564 [salt.master ][INFO ] Clear payload received with command publish | |
2015-04-27 15:15:48,573 [salt.master ][CRITICAL] Unexpected Error in Mworker | |
Traceback (most recent call last): | |
File "/usr/lib/python2.6/site-packages/salt/master.py", line 599, in __bind | |
ret = self.serial.dumps(self._handle_payload(payload)) | |
File "/usr/lib/python2.6/site-packages/salt/master.py", line 651, in _handle_payload | |
'clear': self._handle_clear}[key](load) | |
File "/usr/lib/python2.6/site-packages/salt/master.py", line 664, in _handle_clear | |
return getattr(self.clear_funcs, load['cmd'])(load) | |
File "/usr/lib/python2.6/site-packages/salt/master.py", line 2275, in publish | |
clear_load['jid'] = self.mminion.returners[fstr](nocache=extra.get('nocache', False), | |
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 1357, in __getitem__ | |
self._load(key) | |
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 1334, in _load | |
return self._dict[key] | |
KeyError: 'elasticsearch.prep_jid' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment