Advertisement
Guest User

omv-salt deploy run fstab

a guest
Nov 19th, 2021
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. omv-salt deploy run fstab
  2. debian:
  3. Data failed to compile:
  4. ----------
  5. Rendering SLS 'base:omv.deploy.fstab.15mergerfsfolders' failed: Jinja error: 'xsystemd'
  6. Traceback (most recent call last):
  7. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 497, in re nder_jinja_tmpl
  8. output = template.render(**decoded_context)
  9. File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in rend er
  10. return original_render(self, *args, **kwargs)
  11. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in ren der
  12. return self.environment.handle_exception(exc_info, True)
  13. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in hand le_exception
  14. reraise(exc_type, exc_value, tb)
  15. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
  16. raise value.with_traceback(tb)
  17. File "<template>", line 25, in top-level template code
  18. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 385, in getattr
  19. value = getattr(obj, attribute)
  20. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  21. return dict.__getitem__(self, key)
  22. KeyError: 'xsystemd'
  23.  
  24. ; line 25
  25.  
  26. ---
  27. [...]
  28. {% for dir in branchDirs %}
  29. {% if dir | length > 2 %}
  30. {% set _ = branches.append(dir) %}
  31. {% if '*' not in dir %}
  32. {% set parent = salt['cmd.shell']('findmnt --noheadings --output TARGET --target ' + dir) %}
  33. {% if not pool.xsystemd %} <======================
  34. {% if parent | length > 1 %}
  35. {% set _ = options.append('x-systemd.requires=' + parent) %}
  36. {% endif %}
  37. {% endif %}
  38. {% endif %}
  39. [...]
  40. ---
  41.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement