Hi, when changing hostname in Network/General and applying the changes I am receiving this error:
Any hints are deeply welcome. OMV is 6 Os is Armbian Bullseye on Odroid XU4 (arm7 sbc)
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': odroidxu4:
----------
ID: remove_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 20:23:15.727574
Duration: 4.052 ms
Changes:
----------
file.find:
----------
ID: remove_empty_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 20:23:15.732010
Duration: 2.854 ms
Changes:
----------
file.find:
----------
ID: remove_netplan_config_files
Function: module.run
Result: True
Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml']
Started: 20:23:15.735174
Duration: 4.019 ms
Changes:
----------
file.find:
- /etc/netplan/10-openmediavault-default.yaml
----------
ID: configure_etc_network_interfaces
Function: file.managed
Name: /etc/network/interfaces
Result: True
Comment: File /etc/network/interfaces is in the correct state
Started: 20:23:15.745108
Duration: 92.221 ms
Changes:
----------
ID: symlink_systemd_resolvconf
Function: file.symlink
Name: /etc/resolv.conf
Result: True
Comment: Symlink /etc/resolv.conf is present and owned by root:root
Started: 20:23:15.837753
Duration: 4827.912 ms
Changes:
----------
ID: configure_netplan_default
Function: file.managed
Name: /etc/netplan/10-openmediavault-default.yaml
Result: True
Comment: File /etc/netplan/10-openmediavault-default.yaml updated
Started: 20:23:20.666517
Duration: 46.322 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: apply_netplan_config
Function: cmd.run
Name: netplan apply
Result: False
Comment: Command "netplan apply" run
Started: 20:23:20.713390
Duration: 380.664 ms
Changes:
----------
pid:
4066
retcode:
78
stderr:
/etc/netplan/armbian-default.yaml:3:12: Error in network definition: unknown renderer ''
renderer:
^
stdout:
Summary for odroidxu4
------------
Succeeded: 6 (changed=5)
Failed: 1
------------
Total states run: 7
Total run time: 5.358 s
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; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': odroidxu4:
----------
ID: remove_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 20:23:15.727574
Duration: 4.052 ms
Changes:
----------
file.find:
----------
ID: remove_empty_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 20:23:15.732010
Duration: 2.854 ms
Changes:
----------
file.find:
----------
ID: remove_netplan_config_files
Function: module.run
Result: True
Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml']
Started: 20:23:15.735174
Duration: 4.019 ms
Changes:
----------
file.find:
- /etc/netplan/10-openmediavault-default.yaml
----------
ID: configure_etc_network_interfaces
Function: file.managed
Name: /etc/network/interfaces
Result: True
Comment: File /etc/network/interfaces is in the correct state
Started: 20:23:15.745108
Duration: 92.221 ms
Changes:
----------
ID: symlink_systemd_resolvconf
Function: file.symlink
Name: /etc/resolv.conf
Result: True
Comment: Symlink /etc/resolv.conf is present and owned by root:root
Started: 20:23:15.837753
Duration: 4827.912 ms
Changes:
----------
ID: configure_netplan_default
Function: file.managed
Name: /etc/netplan/10-openmediavault-default.yaml
Result: True
Comment: File /etc/netplan/10-openmediavault-default.yaml updated
Started: 20:23:20.666517
Duration: 46.322 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: apply_netplan_config
Function: cmd.run
Name: netplan apply
Result: False
Comment: Command "netplan apply" run
Started: 20:23:20.713390
Duration: 380.664 ms
Changes:
----------
pid:
4066
retcode:
78
stderr:
/etc/netplan/armbian-default.yaml:3:12: Error in network definition: unknown renderer ''
renderer:
^
stdout:
Summary for odroidxu4
------------
Succeeded: 6 (changed=5)
Failed: 1
------------
Total states run: 7
Total run time: 5.358 s in /usr/share/php/openmediavault/system/process.inc:217
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusya...', '/tmp/bgoutputO8...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(192): 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}
Display More