You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mdschmitt
changed the title
[BUG] master_job_cache renders incorrectly in the saltmaster config (not in reserved_keys)
[BUG] master_job_cache renders incorrectly in the saltmaster config (doesn't use get_config{{}})
Aug 24, 2023
Your setup
Formula commit hash / release tag
master branch
Versions reports (master & minion)
Salt Version:
Salt: 3005.2
Dependency Versions:
cffi: 1.14.6
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.0
libgit2: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.9.8
pygit2: 1.7.1
Python: 3.9.17 (main, Aug 4 2023, 19:59:49)
python-gnupg: 0.4.8
PyYAML: 6.0.1
PyZMQ: 23.2.0
smmap: Not Installed
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.4
Salt Extensions:
saltext.prometheus: 2.0.2
System Versions:
dist: amzn 2
locale: utf-8
machine: x86_64
release: 4.14.314-237.533.amzn2.x86_64
system: Linux
version: Amazon Linux 2
Pillar / config used (output from
salt-call pillar.get salt
on the master):Bug details
Describe the bug
Adding this to the pillar:
renders out in
f_defaults.conf
as:...which is invalid syntax and the saltmaster will not start.
Steps to reproduce the bug
https://github.com/saltstack-formulas/salt-formula/blob/master/salt/files/master.d/f_defaults.conf#L1828 is the source of the issue, because
master_job_cache
is not used in a{{ get_config('master_job_cache') }}
line in the template.Expected behaviour
in /etc/salt/master.d/f_defaults.conf (space-separated, not a sub-object):
Attempts to fix the bug
N/A
Additional context
While we're at it,
show_jid
suffers from the same problem.The text was updated successfully, but these errors were encountered: