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 samba 2>&1' with exit code '1': debian:
- ----------
- ID: configure_samba_global
- Function: file.managed
- Name: /etc/samba/smb.conf
- Result: True
- Comment: File /etc/samba/smb.conf is in the correct state
- Started: 14:23:21.086672
- Duration: 35.005 ms
- Changes:
- ----------
- ID: configure_samba_shares
- Function: file.append
- Name: /etc/samba/smb.conf
- Result: False
- Comment: An exception occurred in this state: Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 732, in execute
- self._response = self._response[0]
- IndexError: list index out of range
- During handling of the above exception, another exception occurred:
- 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 33, in top-level template code
- File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 438, in call
- return __context.call(__obj, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
- return self.loader.run(run_func, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
- return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
- return _func_or_method(*args, **kwargs)
- File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 100, in get_sharedfolder_path
- mp_obj = get('conf.system.filesystem.mountpoint', sf_obj['mntentref'])
- File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get
- objs = db.get(id_, identifier)
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get
- query.execute()
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 737, in execute
- raise DatabaseQueryNotFoundException(self.xpath, self.model)
- openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='15b6e836-2e89-4011-9aec-9bf3a8a08d78']
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/salt/state.py", line 2172, in call
- *cdata["args"], **cdata["kwargs"]
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
- return self.loader.run(run_func, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
- return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
- return _func_or_method(*args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2316, in wrapper
- return f(*args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/states/file.py", line 6162, in append
- source_list=sl_, template=template, defaults=defaults, context=context
- File "/usr/lib/python3/dist-packages/salt/states/file.py", line 1124, in _get_template_texts
- source, "", template=template, saltenv=__env__, context=tmpctx, **kwargs
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
- return self.loader.run(run_func, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
- return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
- return _func_or_method(*args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/modules/cp.py", line 318, in get_template
- return _client().get_template(path, dest, template, makedirs, saltenv, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/fileclient.py", line 806, in get_template
- data = salt.utils.templates.TEMPLATE_REGISTRY[template](sfn, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 261, in render_tmpl
- output = render_str(tmplstr, context, tmplpath)
- File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 543, in render_jinja_tmpl
- "Jinja error: {}{}".format(exc, out), line, tmplstr, trace=tracestr
- salt.exceptions.SaltRenderError: Jinja error: No such object: //system/fstab/mntent[uuid='15b6e836-2e89-4011-9aec-9bf3a8a08d78']
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 732, in execute
- self._response = self._response[0]
- IndexError: list index out of range
- During handling of the above exception, another exception occurred:
- 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 33, in top-level template code
- File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 438, in call
- return __context.call(__obj, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
- return self.loader.run(run_func, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
- return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
- return _func_or_method(*args, **kwargs)
- File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 100, in get_sharedfolder_path
- mp_obj = get('conf.system.filesystem.mountpoint', sf_obj['mntentref'])
- File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get
- objs = db.get(id_, identifier)
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get
- query.execute()
- File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 737, in execute
- raise DatabaseQueryNotFoundException(self.xpath, self.model)
- openmediavault.config.database.DatabaseQueryNotFoundException: No such object: //system/fstab/mntent[uuid='15b6e836-2e89-4011-9aec-9bf3a8a08d78']
- ; line 33
- ---
- [...]
- {%- for share in config.shares.share | selectattr('enable') %}
- [{{ salt['omv_conf.get_sharedfolder_name'](share.sharedfolderref) }}]
- {%- if share.comment | length > 0 %}
- comment = {{ share.comment }}
- {%- endif %}
- path = {{ salt['omv_conf.get_sharedfolder_path'](share.sharedfolderref) }} <======================
- guest ok = {% if share.guest != 'no' %}yes{% else %}no{% endif %}
- guest only = {% if share.guest == 'only' %}yes{% else %}no{% endif %}
- read only = {% if share.readonly | to_bool %}yes{% else %}no{% endif %}
- browseable = {% if share.browseable | to_bool %}yes{% else %}no{% endif %}
- inherit acls = {% if share.inheritacls | to_bool %}yes{% else %}no{% endif %}
- [...]
- ---
- Started: 14:23:21.121774
- Duration: 160.167 ms
- Changes:
- ----------
- ID: configure_samba_recyclebin_cron
- Function: file.managed
- Name: /etc/cron.daily/openmediavault-samba-recycle
- Result: True
- Comment: File /etc/cron.daily/openmediavault-samba-recycle is in the correct state
- Started: 14:23:21.282133
- Duration: 2.41 ms
- Changes:
- ----------
- ID: remove_samba_recyclebin_cron_scripts
- Function: module.run
- Result: True
- Comment: file.find: []
- Started: 14:23:21.285280
- Duration: 1.576 ms
- Changes:
- ----------
- file.find:
- ----------
- ID: configure_default_wsdd
- Function: file.managed
- Name: /etc/default/wsdd
- Result: True
- Comment: File /etc/default/wsdd is in the correct state
- Started: 14:23:21.286982
- Duration: 1.759 ms
- Changes:
- ----------
- ID: divert_default_wsdd
- Function: omv_dpkg.divert_add
- Name: /etc/default/wsdd
- Result: True
- Comment: Leaving 'local diversion of /etc/default/wsdd to /etc/default/wsdd.distrib'
- Started: 14:23:21.289210
- Duration: 16.304 ms
- Changes:
- ----------
- ID: divert_samba_smb_config
- Function: omv_dpkg.divert_add
- Name: /etc/samba/smb.conf
- Result: True
- Comment: Leaving 'local diversion of /etc/samba/smb.conf to /etc/samba/smb.conf.distrib'
- Started: 14:23:21.305777
- Duration: 16.737 ms
- Changes:
- ----------
- ID: test_samba_service_config
- Function: cmd.run
- Name: samba-tool testparm --suppress-prompt
- Result: True
- Comment: Command "samba-tool testparm --suppress-prompt" run
- Started: 14:23:21.324054
- Duration: 125.061 ms
- Changes:
- ----------
- pid:
- 25419
- retcode:
- 0
- stderr:
- stdout:
- # Global parameters
- [global]
- disable spoolss = Yes
- encrypt passwords = Yes
- guest account = nobody
- log file = /var/log/samba/log.%m
- logging = syslog
- log level = 0
- map to guest = Bad User
- max log size = 1000
- pam password change = Yes
- panic action = /usr/share/samba/panic-action %d
- passdb backend = tdbsam
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- passwd program = /usr/bin/passwd %u
- printcap name = /dev/null
- server string = %h server
- socket options = TCP_NODELAY IPTOS_LOWDELAY
- unix extensions = Yes
- workgroup = WORKGROUP
- fruit:aapl = yes
- aio read size = 16384
- aio write size = 16384
- create mask = 0777
- directory mask = 0777
- use sendfile = Yes
- ----------
- ID: start_samba_service
- Function: service.running
- Name: smbd
- Result: False
- Comment: One or more requisite failed: omv.deploy.samba.20shares.configure_samba_shares
- Started: 14:23:21.469446
- Duration: 0.009 ms
- Changes:
- ----------
- ID: start_samba_service_nmbd
- Function: service.running
- Name: nmbd
- Result: False
- Comment: One or more requisite failed: omv.deploy.samba.default.start_samba_service
- Started: 14:23:21.469800
- Duration: 0.003 ms
- Changes:
- ----------
- ID: start_wsdd_service
- Function: service.running
- Name: wsdd
- Result: True
- Comment: Service wsdd is already enabled, and is running
- Started: 14:23:21.469869
- Duration: 75.088 ms
- Changes:
- ----------
- wsdd:
- True
- Summary for debian
- ------------
- Succeeded: 8 (changed=3)
- Failed: 3
- ------------
- Total states run: 11
- Total run time: 434.119 ms in /usr/share/php/openmediavault/system/process.inc:196
- 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
- #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusto...', '/tmp/bgoutputmN...')
- #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
- #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
- #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
- #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
- #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
- #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
- #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement