Hallo,
auf meinem frischen OMV 5.0.10 bin ich gerade dabei, meine Freigaben einzurichten. Bei zwei NFS-Freigaben bekomme ich eine Fehlermeldung.
Eine etwas ähnliche Meldung gab es bereits bei der Installation von OMV5. Dort wurde auch etwas im Zusammenhang mit Salt und Signature angezeigt.
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) omv.lan: ---------- 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: 18:49:24.932808 Duration: 45.665 ms Changes: ---------- ID: configure_nfsd_exports Function: file.managed Name: /etc/exports Result: True Comment: File /etc/exports updated Started: 18:49:24.978573 Duration: 48.2 ms Changes: ---------- diff: --- +++ @@ -3,5 +3,9 @@ # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). +/export/Nextcloud 192,168.42.0/24(fsid=1,rw,subtree_check,insecure) +/export/Testcloud 192.168.42.0/24(fsid=2,rw,subtree_check,insecure) # NFSv4 - pseudo filesystem root +/export 192,168.42.0/24(ro,fsid=0,root_squash,no_subtree_check,hide) +/export 192.168.42.0/24(ro,fsid=0,root_squash,no_subtree_check,hide) ---------- ID: start_rpc_statd_service Function: service.running Name: rpc-statd Result: True Comment: The service rpc-statd is already running Started: 18:49:25.501111 Duration: 30.001 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: 18:49:25.556865 Duration: 75.062 ms Changes: Summary for omv.lan ------------ Succeeded: 3 (changed=1) Failed: 1 ------------ Total states run: 4 Total run time: 198.928 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; 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)
omv.lan:
----------
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: 18:49:24.932808
Duration: 45.665 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports updated
Started: 18:49:24.978573
Duration: 48.2 ms
Changes:
----------
diff:
---
+++
@@ -3,5 +3,9 @@
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
+/export/Nextcloud 192,168.42.0/24(fsid=1,rw,subtree_check,insecure)
+/export/Testcloud 192.168.42.0/24(fsid=2,rw,subtree_check,insecure)
# NFSv4 - pseudo filesystem root
+/export 192,168.42.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
+/export 192.168.42.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 18:49:25.501111
Duration: 30.001 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: 18:49:25.556865
Duration: 75.062 ms
Changes:
Summary for omv.lan
------------
Succeeded: 3 (changed=1)
Failed: 1
------------
Total states run: 4
Total run time: 198.928 ms in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(164): 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/bgstatusI0...', '/tmp/bgoutputVm...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(186): 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
Das Problem kann ich aktuell immer wieder Nachstellen, falls gewünscht.