UPDATE: SOLVED
Also filed as https://github.com/openmediavault/openmediavault/issues/704
OMV Release: 5.4.5-1
Linux 5.4.30-1-pve
i.e. fully up-to-date system.
I rearranged my NAS, everything looks fine.
Now I wanted to a remove the (only) "shared folder".
This is not possible, because OMV fails.
Pls. can you assist?
Before you ask:
1. I can add new shared folders, but cannot remove them. Looks like a regression bug.
2. And the folders are not referenced.
3. This github issue may be related: https://github.com/openmediavault/openmediavault/issues/657
Full error log: see http://dpaste.com/2YYKB4N.txt
Code
Total run time: 218.589 ms in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/openmediavault/engined/module/task.inc(35): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): Engined\Module\Task->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/bgstatusdO...', '/tmp/bgoutputsO...')
#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}
Alles anzeigen
Python
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; salt-call --local --retcode-passthrough --no-color state.apply omv.task 2>&1' with exit code '2': [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}} [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}} [ERROR ] {'out': 'highstate', 'ret': {'debian': {'test_|-deploy_task_nop_|-deploy_task_nop_|-nop': {'name': 'deploy_task_nop', 'changes': {}, 'result': True, 'comment': 'Success!', '__sls__': 'omv.task.deploy', '__run_num__': 0, 'start_time': '21:46:56.117800', 'duration': 0.24, '__id__': 'deploy_task_nop'}, 'salt_|-deploy_task_0_|-deploy_task_0_|-state': {'name': 'deploy_task_0', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 1, 'start_time': '21:46:56.118577', 'duration': 86.317, '__id__': 'deploy_task_0'}, 'salt_|-deploy_task_1_|-deploy_task_1_|-state': {'name': 'deploy_task_1', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 2, 'start_time': '21:46:56.204982', 'duration': 84.496, '__id__': 'deploy_task_1'}}}} [WARNING ] /usr/lib/python3/dist-packages/salt/states/file.py:294: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, defaultdict local: ---------- ID: deploy_all_tasks Function: salt.state Result: False Comment: Run failed on minions: debian Started: 21:46:56.072506 Duration: 218.586 ms Changes: debian: ---------- ID: deploy_task_nop Function: test.nop Result: True Comment: Success! Started: 21:46:56.117800 Duration: 0.24 ms Changes: ---------- ID: deploy_task_0 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 21:46:56.118577 Duration: 86.317 ms Changes: debian: Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms ---------- ID: deploy_task_1 Function: salt.state Result: False Comment: Run failed on minions: debian Started: 21:46:56.204982 Duration: 84.496 ms Changes: debian: Summary for debian ----------- Succeeded: 0 Failed: 0 ----------- Total states run: 0 Total run time: 0.000 ms Summary for debian ------------ Succeeded: 1 Failed: 2 ------------ Total states run: 3 Total run time: 171.053 ms ---------- ID: cleanup_tasks Function: file.managed Name: /srv/pillar/omv/tasks.sls Result: False Comment: One or more requisite failed: omv.task.default.deploy_all_tasks Started: 21:46:56.293191 Duration: 0.003 ms Changes: Summary for local ------------ Succeeded: 0 Failed: 2 ------------ Total states run: 2 Total run time: 218.589 ms
Fehler #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; salt-call --local --retcode-passthrough --no-color state.apply omv.task 2>&1' with exit code '2': [ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
[ERROR ] {'out': 'highstate', 'ret': {'debian': {}}}
[ERROR ] {'out': 'highstate', 'ret': {'debian': {'test_|-deploy_task_nop_|-deploy_task_nop_|-nop': {'name': 'deploy_task_nop', 'changes': {}, 'result': True, 'comment': 'Success!', '__sls__': 'omv.task.deploy', '__run_num__': 0, 'start_time': '21:46:56.117800', 'duration': 0.24, '__id__': 'deploy_task_nop'}, 'salt_|-deploy_task_0_|-deploy_task_0_|-state': {'name': 'deploy_task_0', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 1, 'start_time': '21:46:56.118577', 'duration': 86.317, '__id__': 'deploy_task_0'}, 'salt_|-deploy_task_1_|-deploy_task_1_|-state': {'name': 'deploy_task_1', 'changes': {'out': 'highstate', 'ret': {'debian': {}}}, 'comment': 'Run failed on minions: debian', 'result': False, '__sls__': 'omv.task.deploy', '__run_num__': 2, 'start_time': '21:46:56.204982', 'duration': 84.496, '__id__': 'deploy_task_1'}}}}
[WARNING ] /usr/lib/python3/dist-packages/salt/states/file.py:294: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping, defaultdict