Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error #0:
- 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:
- 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 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 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 %}
- [...]
- --- in /usr/share/php/openmediavault/system/process.inc:195
- Stack trace:
- #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
- #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
- #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
- #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
- #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
- #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(917): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
- #6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(Array, Array)
- #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
- #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)
- #9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)
- #10 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement