Hi
I have done a clean install and Im triying to add eth0 method dhcp and dns 8.8.8.8 in Interfaces and i got this error.
And when i click i show details.
Code
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-networkd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if not isinstance(exes, collections.Iterable):
raspberrypi:
----------
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: 00:38:39.922352
Duration: 59.958 ms
Changes:
----------
ID: remove_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 00:38:39.983770
Duration: 2.121 ms
Changes:
----------
file.find:
----------
ID: remove_netplan_config_files
Function: module.run
Result: True
Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml']
Started: 00:38:39.986175
Duration: 2.202 ms
Changes:
----------
file.find:
- /etc/netplan/10-openmediavault-default.yaml
- /etc/netplan/20-openmediavault-eth0.yaml
----------
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: 00:38:39.988662
Duration: 13.548 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_netplan_ethernet_eth0
Function: file.managed
Name: /etc/netplan/20-openmediavault-eth0.yaml
Result: True
Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated
Started: 00:38:40.002608
Duration: 57.192 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: 00:38:40.061592
Duration: 289.165 ms
Changes:
----------
pid:
7866
retcode:
1
stderr:
Traceback (most recent call last):
File "/usr/sbin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply
stderr=subprocess.DEVNULL)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1.
stdout:
Summary for raspberrypi
------------
Succeeded: 5 (changed=5)
Failed: 1
------------
Total states run: 6
Total run time: 424.186 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(167): 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/bgstatusAk...', '/tmp/bgoutputcn...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): 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
Im on raspberry pi 4. In a recent install i didn't get this error.
Could I get some help?
Thank you.