Closed ssoto2 closed 9 months ago
The splunk returner does not, in fact, implement, the prep_jid
method.
master_job_caches need to make sense. a master_job_cache needs to be able to save AND get information from the location. splunk is a send only system. it doesn't mke a good master_job_cache. which is why it doesn't impliment the functions needed for it to do a master_job_caches job.
splunk does have an event_return function which is what people normally want when they are trying to setup splunk as a master_job_cache. event_returns will send the information into splunk but not need to get the information out for processing.
Closing this because splunk is not going to be a master_job_cache returner.
Description Attempting to use the Splunk returner and receiving errors when running
Setup Master config has the follow:
Steps to Reproduce the behavior 1) add the following to the master config
2) restart salt-master 3) attempt to run the following command : salt-run cache.clear_git_lock gitfs type=update
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) ``` Salt Version: Salt: 3002.2 Dependency Versions: cffi: Not Installed cherrypy: Not Installed dateutil: Not Installed docker-py: Not Installed gitdb: 0.6.4 gitpython: 1.0.1 Jinja2: 2.11.1 libgit2: Not Installed M2Crypto: 0.35.2 Mako: Not Installed msgpack: 0.6.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: Not Installed pycrypto: Not Installed pycryptodome: Not Installed pygit2: Not Installed Python: 3.6.8 (default, Nov 16 2020, 16:55:22) python-gnupg: Not Installed PyYAML: 3.13 PyZMQ: 17.0.0 smmap: 0.9.0 timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.1.4 System Versions: dist: centos 7 Core locale: UTF-8 machine: x86_64 release: 3.10.0-1160.11.1.el7.x86_64 system: Linux version: CentOS Linux 7 Core ```Additional context Add any other context about the problem here.