Advertisement
Guest User

OMV Error

a guest
Nov 19th, 2021
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error #0:
  2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': 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 render_jinja_tmpl
  8. output = template.render(**decoded_context)
  9. File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
  10. return original_render(self, *args, **kwargs)
  11. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
  12. return self.environment.handle_exception(exc_info, True)
  13. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_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. --- in /usr/share/php/openmediavault/system/process.inc:195
  41. Stack trace:
  42. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  43. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
  44. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  45. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  46. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  47. #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(917): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
  48. #6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(Array, Array)
  49. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  50. #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)
  51. #9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)
  52. #10 {main}
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement