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:

    Code
    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



    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?

    • Offizieller Beitrag

    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.

Jetzt mitmachen!

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