Error applying notification settings

  • Hi folks,


    After saving notification settings I have to apply them. This leads to the following error:


    Python
    [tt]
    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 mdadm 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, namedtuple raspbian: ---------- ID: remove_cron_daily_mdadm Function: file.absent Name: /etc/cron.daily/mdadm Result: True Comment: File /etc/cron.daily/mdadm is not present Started: 14:58:10.122292 Duration: 1.206 ms Changes: ---------- ID: configure_default_mdadm Function: file.managed Name: /etc/default/mdadm Result: True Comment: File /etc/default/mdadm is in the correct state Started: 14:58:10.123881 Duration: 113.535 ms Changes: ---------- ID: configure_mdadm_conf Function: file.managed Name: /etc/mdadm/mdadm.conf Result: True Comment: File /etc/mdadm/mdadm.conf updated Started: 14:58:10.237841 Duration: 34.126 ms Changes: ---------- diff: --- +++ @@ -23,4 +23,3 @@ MAILFROM root # definitions of existing MD arrays -ARRAY /dev/md/ETNAS:Mirror metadata=1.2 name=ETNAS:Mirror UUID=c4139c41:955a4e95:cb171f21:d17e9f49 ---------- ID: mdadm_save_config Function: cmd.run Name: mdadm --detail --scan >> /etc/mdadm/mdadm.conf Result: True Comment: Command "mdadm --detail --scan >> /etc/mdadm/mdadm.conf" run Started: 14:58:10.274084 Duration: 325.003 ms Changes: ---------- pid: 5352 retcode: 0 stderr: stdout: ---------- ID: mdadm_update_initramfs Function: cmd.run Name: update-initramfs -u Result: False Comment: Command "update-initramfs -u" run Started: 14:58:10.600330 Duration: 16.947 ms Changes: ---------- pid: 5354 retcode: 127 stderr: /bin/sh: 1: update-initramfs: not found stdout: Summary for raspbian ------------ Succeeded: 4 (changed=3) Failed: 1 ------------ Total states run: 5 Total run time: 490.817 ms
    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 mdadm 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, namedtuple raspbian: ---------- ID: remove_cron_daily_mdadm Function: file.absent Name: /etc/cron.daily/mdadm Result: True Comment: File /etc/cron.daily/mdadm is not present Started: 14:58:10.122292 Duration: 1.206 ms Changes: ---------- ID: configure_default_mdadm Function: file.managed Name: /etc/default/mdadm Result: True Comment: File /etc/default/mdadm is in the correct state Started: 14:58:10.123881 Duration: 113.535 ms Changes: ---------- ID: configure_mdadm_conf Function: file.managed Name: /etc/mdadm/mdadm.conf Result: True Comment: File /etc/mdadm/mdadm.conf updated Started: 14:58:10.237841 Duration: 34.126 ms Changes: ---------- diff: --- +++ @@ -23,4 +23,3 @@ MAILFROM root # definitions of existing MD arrays -ARRAY /dev/md/ETNAS:Mirror metadata=1.2 name=ETNAS:Mirror UUID=c4139c41:955a4e95:cb171f21:d17e9f49 ---------- ID: mdadm_save_config Function: cmd.run Name: mdadm --detail --scan >> /etc/mdadm/mdadm.conf Result: True Comment: Command "mdadm --detail --scan >> /etc/mdadm/mdadm.conf" run Started: 14:58:10.274084 Duration: 325.003 ms Changes: ---------- pid: 5352 retcode: 0 stderr: stdout: ---------- ID: mdadm_update_initramfs Function: cmd.run Name: update-initramfs -u Result: False Comment: Command "update-initramfs -u" run Started: 14:58:10.600330 Duration: 16.947 ms Changes: ---------- pid: 5354 retcode: 127 stderr: /bin/sh: 1: update-initramfs: not found stdout: Summary for raspbian ------------ Succeeded: 4 (changed=3) Failed: 1 ------------ Total states run: 5 Total run time: 490.817 ms[/tt]


    Do you have any idea how to fix that mess?


    Thank you very much

  • Toho531

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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