Error creating shared folder on mergerfs drives

    • Error creating shared folder on mergerfs drives

      I am running OMV 5 latest build with the OMV-Extras Plugins enabled. I have docker, unionfs, and SnapRAID enabled.When I created the merged file system, OMV 5 gave me an error during the commit. I rebooted the server (an arduous process as my Dell R710 needs a new IDRAC 6 Express module and I have to hard power cycle it to reboot properly) and the mergerfs drive was there without errors. When I went to create a shared folder I got the following error during the commit:


      Error #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 systemd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/modules/file.py:32: 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/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: remove_sharedfolder_mount_unit_files Function: module.run Result: True Comment: file.find: ['/etc/systemd/system/sharedfolders-appdata.mount', '/etc/systemd/system/sharedfolders-databases.mount', '/etc/systemd/system/sharedfolders-docker.mount', '/etc/systemd/system/sharedfolders-media.mount'] Started: 01:40:36.819262 Duration: 3.412 ms Changes: ---------- file.find: - /etc/systemd/system/sharedfolders-appdata.mount - /etc/systemd/system/sharedfolders-databases.mount - /etc/systemd/system/sharedfolders-docker.mount - /etc/systemd/system/sharedfolders-media.mount---------- ID: configure_sharedfolder_appdata_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-appdata.mount Result: True Comment: File /etc/systemd/system/sharedfolders-appdata.mount updated Started: 01:40:36.824962 Duration: 3.301 ms Changes: ---------- diff: New file mode: 0644---------- ID: configure_sharedfolder_databases_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-databases.mount Result: True Comment: File /etc/systemd/system/sharedfolders-databases.mount updated Started: 01:40:36.828376 Duration: 2.577 ms Changes: ---------- diff: New file mode: 0644---------- ID: configure_sharedfolder_docker_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-docker.mount Result: True Comment: File /etc/systemd/system/sharedfolders-docker.mount updated Started: 01:40:36.831117 Duration: 2.556 ms Changes: ---------- diff: New file mode: 0644---------- ID: configure_sharedfolder_media_mount_unit_file Function: file.managed Name: /etc/systemd/system/sharedfolders-media.mount Result: True Comment: File /etc/systemd/system/sharedfolders-media.mount updated Started: 01:40:36.833786 Duration: 2.635 ms Changes: ---------- diff: New file mode: 0644---------- ID: sharedfolder_mount_units_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: Started: 01:40:36.836534 Duration: 0.356 ms Changes:---------- ID: enable_sharedfolder_appdata_mount_unit Function: service.enabled Name: sharedfolders-appdata.mount Result: True Comment: Service sharedfolders-appdata.mount is already enabled, and is in the desired state Started: 01:40:38.041974 Duration: 476.243 ms Changes:---------- ID: restart_sharedfolder_appdata_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 01:40:38.518551 Duration: 51.811 ms Changes: ---------- service.restart: True---------- ID: enable_sharedfolder_databases_mount_unit Function: service.enabled Name: sharedfolders-databases.mount Result: True Comment: Service sharedfolders-databases.mount is already enabled, and is in the desired state Started: 01:40:38.570836 Duration: 29.045 ms Changes:---------- ID: restart_sharedfolder_databases_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 01:40:38.600333 Duration: 57.413 ms Changes: ---------- service.restart: True---------- ID: enable_sharedfolder_docker_mount_unit Function: service.enabled Name: sharedfolders-docker.mount Result: True Comment: Service sharedfolders-docker.mount is already enabled, and is in the desired state Started: 01:40:38.658331 Duration: 29.749 ms Changes:---------- ID: restart_sharedfolder_docker_mount_unit Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1919, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1918, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 558, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 263, in _call_function raise error File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 250, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 294, in run func_args=kwargs.get(func)) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 358, in _call_function mret = __salt__[name](*arg_type, **func_kw) File "/usr/lib/python3/dist-packages/salt/modules/systemd.py", line 906, in restart raise CommandExecutionError(_strip_scope(ret['stderr'])) salt.exceptions.CommandExecutionError: Job for sharedfolders-docker.mount failed. See "systemctl status sharedfolders-docker.mount" and "journalctl -xe" for details. Started: 01:40:38.688541 Duration: 38.622 ms Changes:---------- ID: enable_sharedfolder_media_mount_unit Function: service.enabled Name: sharedfolders-media.mount Result: True Comment: Service sharedfolders-media.mount is already enabled, and is in the desired state Started: 01:40:38.727677 Duration: 28.931 ms Changes:---------- ID: restart_sharedfolder_media_mount_unit Function: module.run Result: True Comment: service.restart: True Started: 01:40:38.757052 Duration: 58.266 ms Changes: ---------- service.restart: True---------- ID: configure_tmp_mount_unit_file Function: file.managed Name: /etc/systemd/system/tmp.mount Result: True Comment: File /etc/systemd/system/tmp.mount is in the correct state Started: 01:40:38.815782 Duration: 40.409 ms Changes:---------- ID: tmp_mount_unit_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: True Comment: State was not run because none of the onchanges reqs changed Started: 01:40:38.857181 Duration: 0.007 ms Changes:Summary for debian-------------Succeeded: 15 (changed=8)Failed: 1-------------Total states run: 16Total run time: 825.333 ms in /usr/share/php/openmediavault/system/process.inc:182Stack 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/bgstatusQH...', '/tmp/bgoutputQH...')#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}


      Can anyone make heads or tails out of this gobbledygook?
    • journalctl -xe returns this:

      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A stop job for unit sharedfolders-docker.mount has finished.
      --
      -- The job identifier is 3041 and the job result is failed.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: run-r8d4ca90acaa54b76bf7551408244e20b.scope: Succeeded.
      -- Subject: Unit succeeded
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- The unit run-r8d4ca90acaa54b76bf7551408244e20b.scope has successfully entered the 'dead' state.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: Started /bin/systemctl restart sharedfolders-media.mount.
      -- Subject: A start job for unit run-rb4aaa346cb3b4873952a97344caaa596.scope has finished successfully
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A start job for unit run-rb4aaa346cb3b4873952a97344caaa596.scope has finished successfully.
      --
      -- The job identifier is 3064.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: Unmounting Mount shared folder media to /sharedfolders/media...
      -- Subject: A stop job for unit sharedfolders-media.mount has begun execution
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A stop job for unit sharedfolders-media.mount has begun execution.
      --
      -- The job identifier is 3068.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: sharedfolders-media.mount: Succeeded.
      -- Subject: Unit succeeded
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- The unit sharedfolders-media.mount has successfully entered the 'dead' state.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: Unmounted Mount shared folder media to /sharedfolders/media.
      -- Subject: A stop job for unit sharedfolders-media.mount has finished
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A stop job for unit sharedfolders-media.mount has finished.
      --
      -- The job identifier is 3068 and the job result is done.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: Mounting Mount shared folder media to /sharedfolders/media...
      -- Subject: A start job for unit sharedfolders-media.mount has begun execution
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A start job for unit sharedfolders-media.mount has begun execution.
      --
      -- The job identifier is 3068.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: Mounted Mount shared folder media to /sharedfolders/media.
      -- Subject: A start job for unit sharedfolders-media.mount has finished successfully
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- A start job for unit sharedfolders-media.mount has finished successfully.
      --
      -- The job identifier is 3068.
      Sep 14 01:40:38 mechagon.echenique.local systemd[1]: run-rb4aaa346cb3b4873952a97344caaa596.scope: Succeeded.
      -- Subject: Unit succeeded
      -- Defined-By: systemd
      -- Support: debian.org/support
      --
      -- The unit run-rb4aaa346cb3b4873952a97344caaa596.scope has successfully entered the 'dead' state.
      Sep 14 01:41:09 mechagon.echenique.local monit[1032]: Cannot create socket to [127.0.0.1]:25 -- Connection timed out
      Sep 14 01:41:09 mechagon.echenique.local monit[1032]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operation now in progress
      Sep 14 01:41:09 mechagon.echenique.local monit[1032]: Mail: Delivery failed -- no mail server is available
      Sep 14 01:41:09 mechagon.echenique.local monit[1032]: Alert handler failed, retry scheduled for next cycle
      Sep 14 01:41:09 mechagon.echenique.local monit[1032]: '\mechagon.echenique.local' loadavg (5min) of 0.1 matches resource limit [loadavg (5min) > -1223331328.0]
      Sep 14 01:41:14 mechagon.echenique.local postfix/smtpd[6487]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
      Sep 14 01:41:14 mechagon.echenique.local postfix/smtpd[6487]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
      Sep 14 01:41:15 mechagon.echenique.local postfix/master[2192]: warning: process /usr/lib/postfix/sbin/smtpd pid 6487 exit status 1
      Sep 14 01:41:15 mechagon.echenique.local postfix/master[2192]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
      lines 1341-1413/1413 (END)