omv5: [Regression in 5.4.5-1?] Shared folder cannot be removed anymore [SOLVED]

  • 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



    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
  • votdev

    Hat das Label gelöst hinzugefügt.
  • Wikinaut

    Hat den Titel des Themas von „omv5: Shared folder cannot be removed anymore. OMV fails to execute command (log included)“ zu „omv5: [Regression in 5.4.5-1?] Shared folder cannot be removed anymore [SOLVED]“ geändert.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!