Python warning and 'apply fail' when deleting an NFS share

    • OMV 5.x (beta)

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Python warning and 'apply fail' when deleting an NFS share

      Running OMV 5.0.12-1

      In the process of deleting an NFS share when trying to apply the changes the following error is reported:

      Brainfuck Source Code

      1. 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 nfs 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly *salt.utils.args.get_function_argspec(original_function) debian: ---------- ID: configure_default_nfs-kernel-server Function: file.managed Name: /etc/default/nfs-kernel-server Result: True Comment: File /etc/default/nfs-kernel-server is in the correct state Started: 10:50:01.873922 Duration: 157.951 ms Changes: ---------- ID: configure_nfsd_exports Function: file.managed Name: /etc/exports Result: True Comment: File /etc/exports is in the correct state Started: 10:50:02.032167 Duration: 198.301 ms Changes: ---------- ID: start_rpc_statd_service Function: service.running Name: rpc-statd Result: True Comment: The service rpc-statd is already running Started: 10:50:04.089224 Duration: 102.912 ms Changes: ---------- ID: start_nfs_kernel_server_service Function: service.running Name: nfs-kernel-server Result: False Comment: Job for nfs-server.service canceled. Started: 10:50:04.195751 Duration: 246.768 ms Changes: Summary for debian ------------ Succeeded: 3 Failed: 1 ------------ Total states run: 4 Total run time: 705.932 ms


      Brainfuck Source Code

      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 nfs 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
      3. *salt.utils.args.get_function_argspec(original_function)
      4. /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
      5. *salt.utils.args.get_function_argspec(original_function)
      6. /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
      7. *salt.utils.args.get_function_argspec(original_function)
      8. debian:
      9. ----------
      10. ID: configure_default_nfs-kernel-server
      11. Function: file.managed
      12. Name: /etc/default/nfs-kernel-server
      13. Result: True
      14. Comment: File /etc/default/nfs-kernel-server is in the correct state
      15. Started: 10:50:01.873922
      16. Duration: 157.951 ms
      17. Changes:
      18. ----------
      19. ID: configure_nfsd_exports
      20. Function: file.managed
      21. Name: /etc/exports
      22. Result: True
      23. Comment: File /etc/exports is in the correct state
      24. Started: 10:50:02.032167
      25. Duration: 198.301 ms
      26. Changes:
      27. ----------
      28. ID: start_rpc_statd_service
      29. Function: service.running
      30. Name: rpc-statd
      31. Result: True
      32. Comment: The service rpc-statd is already running
      33. Started: 10:50:04.089224
      34. Duration: 102.912 ms
      35. Changes:
      36. ----------
      37. ID: start_nfs_kernel_server_service
      38. Function: service.running
      39. Name: nfs-kernel-server
      40. Result: False
      41. Comment: Job for nfs-server.service canceled.
      42. Started: 10:50:04.195751
      43. Duration: 246.768 ms
      44. Changes:
      45. Summary for debian
      46. ------------
      47. Succeeded: 3
      48. Failed: 1
      49. ------------
      50. Total states run: 4
      51. Total run time: 705.932 ms in /usr/share/php/openmediavault/system/process.inc:182
      52. Stack trace:
      53. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
      54. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
      55. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
      56. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      57. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      58. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusYU...', '/tmp/bgoutputo5...')
      59. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      60. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      61. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
      62. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      63. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      64. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      65. #12 {main}
      Display All

      Apart from looking for some further information to help resolve this, Is the forum the best avenue for reporting any issues found during testing of beta software? Or should this be done elsewhere?
    • The problem seems to be that starting the nfs daemons via systemd unitfile fails. You need to check the syslog or try to start it manually via CLI to get more information why this happens.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit