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
First, thank you all for the excellent job you're doing.
I an expecting my problem to be a typical "ID-10-T" error since I still am rather new with salt and jinja is a bit like Klingon to me.
Anyway,
I'm trying to automate the most possible, and thus salting salt seems like a good idea.
The new salt candidates are newly installed Debian 10 vms with only the base system and ssh installed. I've added sudo and made my default user (called user by the way) full rights sudo with no password. (that will be corrected later with salt)
Using salt-ssh, the test.ping works so I have connectivity
When i try to salt salt, it looks like this :
salt@Salt-Master:/srv/salt$ salt-ssh '*1' state.sls salt test=true
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 500, in render_jinja_tmpl
output = template.render(**decoded_context)
File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<template>", line 6, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 438, in call
return __context.call(__obj, *args, **kwargs)
TypeError: get() missing 1 required positional argument: 'default'
[...]
Your setup
Formula commit hash / release tag
I just re-pulled the repo this morning
$ git log -1
commit 4b1cbef932a3f8c4af491ae1f0f1de3b44e4baa8 (HEAD -> master, tag: v1.9.5, origin/master, origin/HEAD)
Author: semantic-release-bot <[email protected]>
Date: Fri Nov 5 09:43:41 2021 +0000
chore(release): 1.9.5 [skip ci]
## [1.9.5](https://github.com/saltstack-formulas/salt-formula/compare/v1.9.4...v1.9.5) (2021-11-05)
### Bug Fixes
* make it possible to not have key_url set ([97e1d1f](https://github.com/saltstack-formulas/salt-formula/commit/97e1d1f07a2acc8e9b048412911d61695d7187b3)),closes [#520](https://github.com/saltstack-formulas/salt-formula/issues/520)
* update to modern defaults for Debian family ([a932a8c](https://github.com/saltstack-formulas/salt-formula/commit/a932a8cc84d6a97d958aa0d6e6b1026bbbf5a745)
Versions reports (master & minion)
Since there is no minion (i want to install it) only the master
salt@Salt-Master:/srv/salt$ salt -V
Salt Version:
Salt: 3003.3
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.7.3
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 0.5.6
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: 3.6.1
pygit2: Not Installed
Python: 3.7.3 (default, Jan 22 2021, 20:04:44)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.1.2
smmap: 2.0.5
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist: debian 10 buster
locale: UTF-8
machine: x86_64
release: 4.19.0-18-amd64
system: Linux
version: Debian GNU/Linux 10 buster
salt@Salt-Master:/srv/salt$
Pillar / config used
The pillar is very simple, i just started to config the stuff ...
Hello,
First, thank you all for the excellent job you're doing.
I an expecting my problem to be a typical "ID-10-T" error since I still am rather new with salt and jinja is a bit like Klingon to me.
Anyway,
I'm trying to automate the most possible, and thus salting salt seems like a good idea.
The new salt candidates are newly installed Debian 10 vms with only the base system and ssh installed. I've added sudo and made my default user (called user by the way) full rights sudo with no password. (that will be corrected later with salt)
Using salt-ssh, the test.ping works so I have connectivity
When i try to salt salt, it looks like this :
Your setup
Formula commit hash / release tag
I just re-pulled the repo this morning
Versions reports (master & minion)
Since there is no minion (i want to install it) only the master
Pillar / config used
The pillar is very simple, i just started to config the stuff ...
top.sls
Salt/init.sls
Salt/Config.sls
Salt/minion.sls
Bug details
Describe the bug
The minion is not installed when salting the target machine.
Steps to reproduce the bug
just try salt-ssh again
Expected behaviour
I would expect the minion to be successfully installed
Attempts to fix the bug
none
Additional context
and here is the full debug:
The text was updated successfully, but these errors were encountered: