Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- omv-salt deploy run fstab
- debian:
- Data failed to compile:
- ----------
- Rendering SLS 'base:omv.deploy.fstab.15mergerfsfolders' failed: Jinja error: 'xsystemd'
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 497, in re nder_jinja_tmpl
- output = template.render(**decoded_context)
- File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in rend er
- return original_render(self, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in ren der
- return self.environment.handle_exception(exc_info, True)
- File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in hand le_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 25, in top-level template code
- File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 385, in getattr
- value = getattr(obj, attribute)
- File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
- return dict.__getitem__(self, key)
- KeyError: 'xsystemd'
- ; line 25
- ---
- [...]
- {% for dir in branchDirs %}
- {% if dir | length > 2 %}
- {% set _ = branches.append(dir) %}
- {% if '*' not in dir %}
- {% set parent = salt['cmd.shell']('findmnt --noheadings --output TARGET --target ' + dir) %}
- {% if not pool.xsystemd %} <======================
- {% if parent | length > 1 %}
- {% set _ = options.append('x-systemd.requires=' + parent) %}
- {% endif %}
- {% endif %}
- {% endif %}
- [...]
- ---
Advertisement
Advertisement
Advertisement
RAW Paste Data
Copied
Advertisement